Gnus development mailing list
 help / color / mirror / Atom feed
* `C-u SPC' vs `/ o' odd behaviour
@ 2012-04-11 10:35 Matt Ford
  2012-04-11 18:24 ` Wolfgang Jenkner
  2012-06-10 20:51 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 4+ messages in thread
From: Matt Ford @ 2012-04-11 10:35 UTC (permalink / raw)
  To: ding

Hi,

I touched on this in a previous post but I feel it warrants its own
thread.

Essentially with GNUs agent switched on both of my configured IMAP
servers (one google, one exchange) then the behaviour of `/ o' when in
the summary buffer is buggy.

Entering a group using `C-u SPC' reports the correct number of articles
in the prompt and creates a summary buffer with the requested amount.

When in a summary buffer `/ o' reports the maximum UID in the prompt
rather than then correct number of articles and does not return the
requested amount of articles - typically I get far less.

There are no errors generated and none of the IMAP logs have any
activity :-(
--
Matt




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: `C-u SPC' vs `/ o' odd behaviour
  2012-04-11 10:35 `C-u SPC' vs `/ o' odd behaviour Matt Ford
@ 2012-04-11 18:24 ` Wolfgang Jenkner
  2012-04-12 10:53   ` Matt Ford
  2012-06-10 20:51 ` Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Jenkner @ 2012-04-11 18:24 UTC (permalink / raw)
  To: Matt Ford; +Cc: ding

On Wed, Apr 11 2012, Matt Ford wrote:

> Essentially with GNUs agent switched on both of my configured IMAP
> servers (one google, one exchange) then the behaviour of `/ o' when in
> the summary buffer is buggy.
>
> When in a summary buffer `/ o' reports the maximum UID in the prompt
> rather than then correct number of articles and does not return the
> requested amount of articles - typically I get far less.

I have the following preliminary patch to fix A T with the agent (and
the nntp backend).  Could you try if it fixes your problem, too ?

Wolfgang

From 73a7ab983ec5a850d2f7b786e074d7bbd2fe0bdf Mon Sep 17 00:00:00 2001
From: Wolfgang Jenkner <wjenkner@inode.at>
Date: Thu, 23 Feb 2012 03:19:00 +0100
Subject: [PATCH] When the agent is active gnus-summary-refer-thread inserts
 only headers which are already in the agent cache but it
 doesn't try to fetch old headers.

Check this fix: Using uncached-articles or (car articles) might not be
quite right (but then again, it might).
---
 lisp/gnus-agent.el |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lisp/gnus-agent.el b/lisp/gnus-agent.el
index 540a97b..f8baaf1 100644
--- a/lisp/gnus-agent.el
+++ b/lisp/gnus-agent.el
@@ -3743,6 +3743,13 @@ has been fetched."
       (gnus-make-directory (nnheader-translate-file-chars
 			    (file-name-directory file) t))
 
+      (when fetch-old
+	(setq articles (gnus-uncompress-range
+			(cons (if (numberp fetch-old)
+				  (max 1 (- (car articles) fetch-old))
+				1)
+			      (car (last articles))))))
+
       ;; Populate temp buffer with known headers
       (when (file-exists-p file)
 	(with-current-buffer gnus-agent-overview-buffer
-- 
1.7.9.6





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: `C-u SPC' vs `/ o' odd behaviour
  2012-04-11 18:24 ` Wolfgang Jenkner
@ 2012-04-12 10:53   ` Matt Ford
  0 siblings, 0 replies; 4+ messages in thread
From: Matt Ford @ 2012-04-12 10:53 UTC (permalink / raw)
  To: ding

Hi Wolfgang,

Alas no, patch doesn't seem to work for me.

Thanks,
-- 
Matt




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: `C-u SPC' vs `/ o' odd behaviour
  2012-04-11 10:35 `C-u SPC' vs `/ o' odd behaviour Matt Ford
  2012-04-11 18:24 ` Wolfgang Jenkner
@ 2012-06-10 20:51 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-06-10 20:51 UTC (permalink / raw)
  To: Matt Ford; +Cc: ding

Matt Ford <matt@dancingfrog.co.uk> writes:

> When in a summary buffer `/ o' reports the maximum UID in the prompt
> rather than then correct number of articles and does not return the
> requested amount of articles - typically I get far less.

Fixed now in Ma Gnus.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-10 20:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 10:35 `C-u SPC' vs `/ o' odd behaviour Matt Ford
2012-04-11 18:24 ` Wolfgang Jenkner
2012-04-12 10:53   ` Matt Ford
2012-06-10 20:51 ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).