* Problems with getting new mail at any particular level.
@ 2001-03-13 20:06 Nevin Kapur
2001-03-13 22:18 ` Kai Großjohann
0 siblings, 1 reply; 10+ messages in thread
From: Nevin Kapur @ 2001-03-13 20:06 UTC (permalink / raw)
Hi,
I can't seem to use '[123]g' and friends to get mail at a particular
level. I get new mail and I type '2g'. I get a list of:
nnml: Reading incoming mail from directory...
nnml: Reading incoming mail (no new mail)...done
nnml: Reading incoming mail from directory...
nnml: Reading incoming mail (no new mail)...done
nnml: Reading incoming mail from directory...
nnml: Reading incoming mail (no new mail)...done
nnml: Reading incoming mail from directory...
nnml: Reading incoming mail (no new mail)...done
and the newly arrived mail does not get into its group. If I use 'g',
the mail shows up in the correct spool. Here is what I think are
relevant variables:
(setq gnus-select-method '(nntp "news.freenet.de")
gnus-secondary-select-methods
'((nnml "") ; Incoming Mail
;; (nntp "news.freshmeat.net")
(nntp "News.CIS.DFN.DE")
(nntp "news.jhu.edu")
;; (nntp "news.creativelabs.com")
;; (nntp "msnews.microsoft.com")
(nnfolder "")) ; Saved Mails
nnml-get-new-mail t
nnfolder-get-new-mail nil
nnfolder-directory "~/mail"
nnfolder-nov-directory "~/mail/NOV"
nntp-connection-timeout 10
gnus-activate-level 3
mail-sources
'((directory
:path "~/.spool/"
:suffix "")))
I poked around in gnus-group-get-new-news but without much luck. Any
pointers are appreciated.
--
Nevin
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problems with getting new mail at any particular level.
2001-03-13 20:06 Problems with getting new mail at any particular level Nevin Kapur
@ 2001-03-13 22:18 ` Kai Großjohann
2001-03-13 22:25 ` Nevin Kapur
0 siblings, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2001-03-13 22:18 UTC (permalink / raw)
Cc: ding
On 13 Mar 2001, Nevin Kapur wrote:
> I can't seem to use '[123]g' and friends to get mail at a particular
> level. I get new mail and I type '2g'. I get a list of:
Have you got any nnml group of level 1 or 2?
kai
--
Be indiscrete. Do it continuously.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problems with getting new mail at any particular level.
2001-03-13 22:18 ` Kai Großjohann
@ 2001-03-13 22:25 ` Nevin Kapur
2001-03-13 22:58 ` Kai Großjohann
0 siblings, 1 reply; 10+ messages in thread
From: Nevin Kapur @ 2001-03-13 22:25 UTC (permalink / raw)
On Tue, 13 Mar 2001, Kai Großjohann wrote:
> On 13 Mar 2001, Nevin Kapur wrote:
>
>> I can't seem to use '[123]g' and friends to get mail at a
>> particular level. I get new mail and I type '2g'. I get a list of:
>
> Have you got any nnml group of level 1 or 2?
Yes, I have multiple groups at level 1 and multiple ones at level 2.
--
Nevin
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problems with getting new mail at any particular level.
2001-03-13 22:25 ` Nevin Kapur
@ 2001-03-13 22:58 ` Kai Großjohann
2001-03-14 5:19 ` Nevin Kapur
0 siblings, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2001-03-13 22:58 UTC (permalink / raw)
Cc: ding
On 13 Mar 2001, Nevin Kapur wrote:
> Yes, I have multiple groups at level 1 and multiple ones at level 2.
Well, then I don't see where the problem might be. Hm. The only idea
I have is to start tracing various functions to see where it goes
wrong.
Unless somebody else has an idea?
kai
--
Be indiscrete. Do it continuously.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problems with getting new mail at any particular level.
2001-03-13 22:58 ` Kai Großjohann
@ 2001-03-14 5:19 ` Nevin Kapur
2001-03-14 9:12 ` Kai Großjohann
0 siblings, 1 reply; 10+ messages in thread
From: Nevin Kapur @ 2001-03-14 5:19 UTC (permalink / raw)
On Tue, 13 Mar 2001, Kai Großjohann wrote:
> On 13 Mar 2001, Nevin Kapur wrote:
>
>> Yes, I have multiple groups at level 1 and multiple ones at level
>> 2.
>
> Well, then I don't see where the problem might be. Hm. The only idea
> I have is to start tracing various functions to see where it goes
> wrong.
I tried my hand at using the debugger. I couldn't figure out why 'g'
works but '1g' doesn't. I am not familiar with Gnus' internals.
Fortunately, I found I workaround. My usual setup is to use procmail
to split my incoming mail into just two folders FM and NFM, and then
use Gnus' fancy spitting by setting nnmail-resplit-incoming to t, for
finer control. I use
'((directory :path "~/.spool/: :suffix ""))
as a mail-sources entry for this. I suspect that this setting has
something to do with my problem. I just changed that entry to
'((file :path "~/.spool/FM")
(file :path "~/.spool/NFM"))
and '[123]g' works as advertised!
Perhaps this information can clue someone in on what's causing this
behavior. Thanks for your help.
--
Nevin
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problems with getting new mail at any particular level.
2001-03-14 5:19 ` Nevin Kapur
@ 2001-03-14 9:12 ` Kai Großjohann
2001-03-14 14:47 ` Nevin Kapur
0 siblings, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2001-03-14 9:12 UTC (permalink / raw)
Cc: ding
On 14 Mar 2001, Nevin Kapur wrote:
> Fortunately, I found I workaround. My usual setup is to use procmail
> to split my incoming mail into just two folders FM and NFM, and then
> use Gnus' fancy spitting by setting nnmail-resplit-incoming to t,
> for finer control. I use
I see. I think if you hit `1 g' and the only level-1 group is
nnml:foo, then Gnus will only look at ~/.spool/foo.
I take it that there are no groups nnml:FM and nnml:NFM?
kai
--
Be indiscrete. Do it continuously.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problems with getting new mail at any particular level.
2001-03-14 9:12 ` Kai Großjohann
@ 2001-03-14 14:47 ` Nevin Kapur
2001-03-14 14:53 ` ShengHuo ZHU
0 siblings, 1 reply; 10+ messages in thread
From: Nevin Kapur @ 2001-03-14 14:47 UTC (permalink / raw)
On Wed, 14 Mar 2001, Kai Großjohann wrote:
> On 14 Mar 2001, Nevin Kapur wrote:
>
>> Fortunately, I found I workaround. My usual setup is to use
>> procmail to split my incoming mail into just two folders FM and
>> NFM, and then use Gnus' fancy spitting by setting
>> nnmail-resplit-incoming to t, for finer control. I use
>
> I see. I think if you hit `1 g' and the only level-1 group is
> nnml:foo, then Gnus will only look at ~/.spool/foo.
I think this is correct. I stepped through debugging
mail-sources-fetch and this was the behavior I observed.
> I take it that there are no groups nnml:FM and nnml:NFM?
Exactly.
I am interested in hearing from folks who use procmail and the
directory entry in mail-sources. Does '1 g' work for them? Does
anybody else use procmail *and* nnmail-resplit-incoming? Does '1 g'
work in that case?
--
Nevin
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problems with getting new mail at any particular level.
2001-03-14 14:47 ` Nevin Kapur
@ 2001-03-14 14:53 ` ShengHuo ZHU
2001-03-14 15:57 ` Nevin Kapur
0 siblings, 1 reply; 10+ messages in thread
From: ShengHuo ZHU @ 2001-03-14 14:53 UTC (permalink / raw)
Nevin Kapur <nevin@jhu.edu> writes:
> On Wed, 14 Mar 2001, Kai Großjohann wrote:
>
> > On 14 Mar 2001, Nevin Kapur wrote:
> >
> >> Fortunately, I found I workaround. My usual setup is to use
> >> procmail to split my incoming mail into just two folders FM and
> >> NFM, and then use Gnus' fancy spitting by setting
> >> nnmail-resplit-incoming to t, for finer control. I use
> >
> > I see. I think if you hit `1 g' and the only level-1 group is
> > nnml:foo, then Gnus will only look at ~/.spool/foo.
>
> I think this is correct. I stepped through debugging
> mail-sources-fetch and this was the behavior I observed.
Probably, (setq nnmail-scan-directory-mail-source-once t) helps.
ShengHuo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problems with getting new mail at any particular level.
2001-03-14 14:53 ` ShengHuo ZHU
@ 2001-03-14 15:57 ` Nevin Kapur
2001-03-14 20:53 ` ShengHuo ZHU
0 siblings, 1 reply; 10+ messages in thread
From: Nevin Kapur @ 2001-03-14 15:57 UTC (permalink / raw)
On Wed, 14 Mar 2001, ShengHuo ZHU wrote:
> Nevin Kapur <nevin@jhu.edu> writes:
>
>> On Wed, 14 Mar 2001, Kai Großjohann wrote:
>>
>> > I see. I think if you hit `1 g' and the only level-1 group is
>> > nnml:foo, then Gnus will only look at ~/.spool/foo.
>>
>> I think this is correct. I stepped through debugging
>> mail-sources-fetch and this was the behavior I observed.
>
> Probably, (setq nnmail-scan-directory-mail-source-once t) helps.
Yes! I see that the documentation mentions this variable. I was never
really sure what
,----[ gnus.texi ]
| Setting @code{nnmail-scan-directory-mail-source-once} to non-nil force
| Gnus to scan the mail source only once.
`----
means. Perhaps a tiny patch is in order?
Index: gnus.texi
===================================================================
RCS file: /usr/local/cvsroot/gnus/texi/gnus.texi,v
retrieving revision 6.56
diff -u -r6.56 gnus.texi
--- gnus.texi 2001/03/03 11:18:39 6.56
+++ gnus.texi 2001/03/14 15:56:08
@@ -11284,8 +11284,9 @@
@item directory
Get mail from several files in a directory. This is typically used when
you have procmail split the incoming mail into several files. Setting
-@code{nnmail-scan-directory-mail-source-once} to non-nil force Gnus to
-scan the mail source only once.
+@code{nnmail-scan-directory-mail-source-once} to non-nil forces Gnus to
+scan the mail source only once. This is particularly useful if you want
+to scan mail groups at a specified level.
Keywords:
--
Nevin
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problems with getting new mail at any particular level.
2001-03-14 15:57 ` Nevin Kapur
@ 2001-03-14 20:53 ` ShengHuo ZHU
0 siblings, 0 replies; 10+ messages in thread
From: ShengHuo ZHU @ 2001-03-14 20:53 UTC (permalink / raw)
Nevin Kapur <nevin@jhu.edu> writes:
> On Wed, 14 Mar 2001, ShengHuo ZHU wrote:
>
> > Nevin Kapur <nevin@jhu.edu> writes:
> >
> >> On Wed, 14 Mar 2001, Kai Großjohann wrote:
> >>
> >> > I see. I think if you hit `1 g' and the only level-1 group is
> >> > nnml:foo, then Gnus will only look at ~/.spool/foo.
> >>
> >> I think this is correct. I stepped through debugging
> >> mail-sources-fetch and this was the behavior I observed.
> >
> > Probably, (setq nnmail-scan-directory-mail-source-once t) helps.
>
> Yes! I see that the documentation mentions this variable. I was never
> really sure what
>
> ,----[ gnus.texi ]
> | Setting @code{nnmail-scan-directory-mail-source-once} to non-nil force
> | Gnus to scan the mail source only once.
> `----
>
> means. Perhaps a tiny patch is in order?
Installed. Thanks for the patch.
ShengHuo
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2001-03-14 20:53 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-13 20:06 Problems with getting new mail at any particular level Nevin Kapur
2001-03-13 22:18 ` Kai Großjohann
2001-03-13 22:25 ` Nevin Kapur
2001-03-13 22:58 ` Kai Großjohann
2001-03-14 5:19 ` Nevin Kapur
2001-03-14 9:12 ` Kai Großjohann
2001-03-14 14:47 ` Nevin Kapur
2001-03-14 14:53 ` ShengHuo ZHU
2001-03-14 15:57 ` Nevin Kapur
2001-03-14 20:53 ` ShengHuo ZHU
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).