Gnus development mailing list
 help / color / mirror / Atom feed
* 1 g doen't update my mail groups with Gnus 5.8.2
@ 1999-12-09 13:08 Finn Nielsen
  1999-12-09 14:09 ` Hamish Macdonald
  1999-12-09 15:24 ` Shenghuo ZHU
  0 siblings, 2 replies; 12+ messages in thread
From: Finn Nielsen @ 1999-12-09 13:08 UTC (permalink / raw)



Hi,

I use procmail to split my mail into a number of .spool files and have

(setq mail-sources
    '((file)
      (directory :path "~/mail/" :suffix ".spool")))

in my ~/.gnus.el

All mailgroups are set to level 1. Usually when I want to check my mail
but not news I would hit "1 g" in the group buffer, this worked for pgnus
0.96 and way back with gnus 5.6.45 but after upgrading to 5.8.2 it
stopped working (pressing g to update all groups still works though and
so does pressing M-g over a group). Just to see if it could be a <
versus <= error or something similar I also tried "2 g" and even "3 g"
with no luck, it seems that "g" no longer accepts a prefix.

Note: "1 g" no longer checks the .spool files, I haven't yet checked
wether it will check /usr/spool/mail (that may still work).

-- 
  Finn Nielsen   -   http://www.zznyyd.dk/

  Kids! Bringing about Armageddon can be dangerous. Do not attempt it
  in your home.  -- (Terry Pratchett & Neil Gaiman, Good Omens)



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

* Re: 1 g doen't update my mail groups with Gnus 5.8.2
  1999-12-09 13:08 1 g doen't update my mail groups with Gnus 5.8.2 Finn Nielsen
@ 1999-12-09 14:09 ` Hamish Macdonald
  1999-12-09 15:33   ` David S. Goldberg
  1999-12-09 15:24 ` Shenghuo ZHU
  1 sibling, 1 reply; 12+ messages in thread
From: Hamish Macdonald @ 1999-12-09 14:09 UTC (permalink / raw)


>>>>> On 09 Dec 1999 14:08:02 +0100,
>>>>> In message <m3yab4jm8d.fsf@ares.zznyyd.dk>,
>>>>> Finn Nielsen <lists@zznyyd.dk> wrote:

Finn> I use procmail to split my mail into a number of .spool files [...]

I am seeing a very similar problem to Finn.  Everything seems to work
fine if I start with "gnus".  If I start with gnus-no-server, I see
the same problems as he does.

emacs-version -> "21.2  (beta23) \"Hebe\" XEmacs Lucid"
gnus-version -> "Gnus v5.8.2"
gnus-select-method -> (nnml "")
gnus-secondary-select-methods
   -> ((nntp "nntp.lucent.com") (nnslashdot ""))
mail-sources
   -> ((file) (directory :path "/export/users/hamishm/mail/mlists/" :suffix ".spool"))

Regards,
 Hamish.


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

* Re: 1 g doen't update my mail groups with Gnus 5.8.2
  1999-12-09 13:08 1 g doen't update my mail groups with Gnus 5.8.2 Finn Nielsen
  1999-12-09 14:09 ` Hamish Macdonald
@ 1999-12-09 15:24 ` Shenghuo ZHU
  1999-12-09 16:15   ` Finn Nielsen
  1 sibling, 1 reply; 12+ messages in thread
From: Shenghuo ZHU @ 1999-12-09 15:24 UTC (permalink / raw)


>>>>> "F" == Finn Nielsen <lists@zznyyd.dk> writes:

F> Hi,

F> I use procmail to split my mail into a number of .spool files and have

F> (setq mail-sources
F>     '((file)
F>       (directory :path "~/mail/" :suffix ".spool")))

F> in my ~/.gnus.el

F> All mailgroups are set to level 1. Usually when I want to check my mail
F> but not news I would hit "1 g" in the group buffer, this worked for pgnus
F> 0.96 and way back with gnus 5.6.45 but after upgrading to 5.8.2 it
F> stopped working (pressing g to update all groups still works though and
F> so does pressing M-g over a group). Just to see if it could be a <
F> versus <= error or something similar I also tried "2 g" and even "3 g"
F> with no luck, it seems that "g" no longer accepts a prefix.

F> Note: "1 g" no longer checks the .spool files, I haven't yet checked
F> wether it will check /usr/spool/mail (that may still work).

[...]

See article  <ilupuwmjjz8.fsf@badis.pdc.kth.se>.

-- 
Shenghuo


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

* Re: 1 g doen't update my mail groups with Gnus 5.8.2
  1999-12-09 14:09 ` Hamish Macdonald
@ 1999-12-09 15:33   ` David S. Goldberg
  1999-12-09 20:21     ` Simon Josefsson
  0 siblings, 1 reply; 12+ messages in thread
From: David S. Goldberg @ 1999-12-09 15:33 UTC (permalink / raw)


I've noticed this too.  It's strange.  I think I may have driven a lot
of the changes in this area (see the thread with Subject "nnml still
tries to find a mail-source for every group").  Simon's gnus-start
patch actually seemed to work for me though I use a directory spec in
mail-sources for which it apparently didn't work for anyone else.  But
since the patch was removed I can no longer do <number> g or even M-g
on a group.  However since g by itself is now fast enough and I've
advised gnus-group-list-groups to set the default list level when
called with a number I'm reasonably happy.  That's not to say it
shouldn't be fixed, of course.  I tried to understand the code myself,
but didn't have much luck.
-- 
Dave Goldberg
Post: The Mitre Corporation\MS B325\202 Burlington Rd.\Bedford, MA 01730
Phone: 781-271-3887
Email: dsg@mitre.org


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

* Re: 1 g doen't update my mail groups with Gnus 5.8.2
  1999-12-09 15:24 ` Shenghuo ZHU
@ 1999-12-09 16:15   ` Finn Nielsen
  1999-12-09 20:11     ` Simon Josefsson
  0 siblings, 1 reply; 12+ messages in thread
From: Finn Nielsen @ 1999-12-09 16:15 UTC (permalink / raw)


Shenghuo ZHU <zsh@cs.rochester.edu> writes:

> F> Note: "1 g" no longer checks the .spool files, I haven't yet checked
> F> wether it will check /usr/spool/mail (that may still work).
> 
> [...]
> 
> See article  <ilupuwmjjz8.fsf@badis.pdc.kth.se>.

Thanks, that patch seems to work.

-- 
  Finn Nielsen   -   http://www.zznyyd.dk/

  Kids! Bringing about Armageddon can be dangerous. Do not attempt it
  in your home.  -- (Terry Pratchett & Neil Gaiman, Good Omens)



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

* Re: 1 g doen't update my mail groups with Gnus 5.8.2
  1999-12-09 16:15   ` Finn Nielsen
@ 1999-12-09 20:11     ` Simon Josefsson
  1999-12-09 20:25       ` Finn Nielsen
  0 siblings, 1 reply; 12+ messages in thread
From: Simon Josefsson @ 1999-12-09 20:11 UTC (permalink / raw)
  Cc: ding

Finn Nielsen <lists@zznyyd.dk> writes:

> > See article  <ilupuwmjjz8.fsf@badis.pdc.kth.se>.
> 
> Thanks, that patch seems to work.

Could you please try this patch instead?     I've commited it.

(You need to revert the above patch before applying this one.)

Index: gnus-start.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-start.el,v
retrieving revision 5.46
diff -w -u -r5.46 gnus-start.el
--- gnus-start.el       1999/12/05 03:00:20     5.46
+++ gnus-start.el       1999/12/09 20:03:43
@@ -1550,7 +1550,15 @@
                  (setcdr (assoc method retrievegroups)
                          (cons group (cdr (assoc method retrievegroups))))
                (push (list method group) retrievegroups))
-           (if (member method scanned-methods)
+           ;; hack: `nnmail-get-new-mail' changes the mail-source depending
+           ;; on the group, so we must perform a scan for every group
+           ;; if the users has any directory mail sources.
+           (if (and (null (assq 'directory
+                                (or mail-sources
+                                    (if (listp nnmail-spool-file) 
+                                        nnmail-spool-file
+                                      (list nnmail-spool-file)))))
+                    (member method scanned-methods))
                (setq active (gnus-activate-group group))
              (setq active (gnus-activate-group group 'scan))
              (push method scanned-methods))


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

* Re: 1 g doen't update my mail groups with Gnus 5.8.2
  1999-12-09 15:33   ` David S. Goldberg
@ 1999-12-09 20:21     ` Simon Josefsson
  1999-12-09 20:56       ` David S. Goldberg
  0 siblings, 1 reply; 12+ messages in thread
From: Simon Josefsson @ 1999-12-09 20:21 UTC (permalink / raw)


David S. Goldberg <dsg@mitre.org> writes:

> I've noticed this too.  It's strange.  I think I may have driven a lot
> of the changes in this area (see the thread with Subject "nnml still
> tries to find a mail-source for every group").  Simon's gnus-start
> patch actually seemed to work for me though I use a directory spec in
> mail-sources for which it apparently didn't work for anyone else.  But
> since the patch was removed I can no longer do <number> g or even M-g
> on a group.

The patch was never removed; what happen if you do `2 g' now?

OTOH I posted (and commited) a patch that should make my earlier patch
work with directory mail-sources too, some minutes ago. Does it work?


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

* Re: 1 g doen't update my mail groups with Gnus 5.8.2
  1999-12-09 20:11     ` Simon Josefsson
@ 1999-12-09 20:25       ` Finn Nielsen
  1999-12-09 20:34         ` Finn Nielsen
  0 siblings, 1 reply; 12+ messages in thread
From: Finn Nielsen @ 1999-12-09 20:25 UTC (permalink / raw)


Simon Josefsson <jas@pdc.kth.se> writes:

> Could you please try this patch instead?     I've commited it.
> 
> (You need to revert the above patch before applying this one.)

Sorry but I can't get that to compile. I get the error "End of file
during parsing".

-- 
  Finn Nielsen   -   http://www.zznyyd.dk/

  Kids! Bringing about Armageddon can be dangerous. Do not attempt it
  in your home.  -- (Terry Pratchett & Neil Gaiman, Good Omens)



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

* Re: 1 g doen't update my mail groups with Gnus 5.8.2
  1999-12-09 20:25       ` Finn Nielsen
@ 1999-12-09 20:34         ` Finn Nielsen
  0 siblings, 0 replies; 12+ messages in thread
From: Finn Nielsen @ 1999-12-09 20:34 UTC (permalink / raw)


Finn Nielsen <lists@zznyyd.dk> writes:

> Simon Josefsson <jas@pdc.kth.se> writes:
> 
> > Could you please try this patch instead?     I've commited it.
> > 
> > (You need to revert the above patch before applying this one.)
> 
> Sorry but I can't get that to compile. I get the error "End of file
> during parsing".

Ups. Sorry my mistake, I didn't apply the patch correctly the first time.

That patch also seems to work.

-- 
  Finn Nielsen   -   http://www.zznyyd.dk/

  Kids! Bringing about Armageddon can be dangerous. Do not attempt it
  in your home.  -- (Terry Pratchett & Neil Gaiman, Good Omens)



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

* Re: 1 g doen't update my mail groups with Gnus 5.8.2
  1999-12-09 20:21     ` Simon Josefsson
@ 1999-12-09 20:56       ` David S. Goldberg
  1999-12-09 21:05         ` Simon Josefsson
  0 siblings, 1 reply; 12+ messages in thread
From: David S. Goldberg @ 1999-12-09 20:56 UTC (permalink / raw)


Well I just ran cvs update, compiled and it works though 2 g results
in a zillion 

   nnml: Reading incoming mail from directory...
   nnml: Reading incoming mail (no new mail)...done

messages again.
-- 
Dave Goldberg
Post: The Mitre Corporation\MS B325\202 Burlington Rd.\Bedford, MA 01730
Phone: 781-271-3887
Email: dsg@mitre.org


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

* Re: 1 g doen't update my mail groups with Gnus 5.8.2
  1999-12-09 20:56       ` David S. Goldberg
@ 1999-12-09 21:05         ` Simon Josefsson
  1999-12-10  0:15           ` Randal L. Schwartz
  0 siblings, 1 reply; 12+ messages in thread
From: Simon Josefsson @ 1999-12-09 21:05 UTC (permalink / raw)


David S. Goldberg <dsg@mitre.org> writes:

> Well I just ran cvs update, compiled and it works though 2 g results
> in a zillion 
> 
>    nnml: Reading incoming mail from directory...
>    nnml: Reading incoming mail (no new mail)...done
> 
> messages again.

Since you use directory mail sources (right?) I think this is what to
be expected, the mail source change for each and every group so it
need to be scanned for each and every group you have, and there's a
message for each and every scan.


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

* Re: 1 g doen't update my mail groups with Gnus 5.8.2
  1999-12-09 21:05         ` Simon Josefsson
@ 1999-12-10  0:15           ` Randal L. Schwartz
  0 siblings, 0 replies; 12+ messages in thread
From: Randal L. Schwartz @ 1999-12-10  0:15 UTC (permalink / raw)
  Cc: The Gnus Mailing List

>>>>> "Simon" == Simon Josefsson <jas@pdc.kth.se> writes:

Simon> David S. Goldberg <dsg@mitre.org> writes:
>> Well I just ran cvs update, compiled and it works though 2 g results
>> in a zillion 
>> 
>> nnml: Reading incoming mail from directory...
>> nnml: Reading incoming mail (no new mail)...done
>> 
>> messages again.

Simon> Since you use directory mail sources (right?) I think this is what to
Simon> be expected, the mail source change for each and every group so it
Simon> need to be scanned for each and every group you have, and there's a
Simon> message for each and every scan.

But pre-terry gnus worked FINE for this.  I consider it a bug that
I have to see all these messages too.

The current behavior is much worse than qgnus.  It makes "1 g" and "2 g"
useless for me.

Worse, it seems that if I ESC-g a single group, I get messages for all
the groups but only the group I ESC-g'ed gets updated, so it looks
like I have no other mail.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


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

end of thread, other threads:[~1999-12-10  0:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-09 13:08 1 g doen't update my mail groups with Gnus 5.8.2 Finn Nielsen
1999-12-09 14:09 ` Hamish Macdonald
1999-12-09 15:33   ` David S. Goldberg
1999-12-09 20:21     ` Simon Josefsson
1999-12-09 20:56       ` David S. Goldberg
1999-12-09 21:05         ` Simon Josefsson
1999-12-10  0:15           ` Randal L. Schwartz
1999-12-09 15:24 ` Shenghuo ZHU
1999-12-09 16:15   ` Finn Nielsen
1999-12-09 20:11     ` Simon Josefsson
1999-12-09 20:25       ` Finn Nielsen
1999-12-09 20:34         ` Finn Nielsen

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).