* group in the mail-sources could not get mails
@ 2013-08-19 7:48 Yong
2013-08-20 5:14 ` Katsumi Yamaoka
0 siblings, 1 reply; 2+ messages in thread
From: Yong @ 2013-08-19 7:48 UTC (permalink / raw)
To: ding
Hi,
I use maildrop to deliver my mails to maildir directories,
and use nnml as mail backend in Gnus.
Because maildrop had taken care of the mail splitting,
I don't want Gnus to splitting mails again.
So I set the mail-sources variable to "group" in .gnus.el:
(setq mail-sources '((group)))
then use "G p" in the *Group* buffer to set the parameter of the group
where I want my mails to go:
((mail-source . (maildir :path "/path/to/maildir")))
However, this group can't get the mails. And when I use "G c" to see
the group parameters, I got:
Unknown entries:
INS DEL Lisp expression:
(mail-source maildir :path "/path/to/maildir")
BTW, if I just use
(setq mail-sources '((maildir :path "/path/to/maildir")))
then Gnus get the mails normally.
I'm using Gnus v5.13 and Emacs 24.3.
Is there something wrong with my .gnus.el configuration?
Thanks,
Yong
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: group in the mail-sources could not get mails
2013-08-19 7:48 group in the mail-sources could not get mails Yong
@ 2013-08-20 5:14 ` Katsumi Yamaoka
0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2013-08-20 5:14 UTC (permalink / raw)
To: Yong; +Cc: ding
Yong wrote:
> I use maildrop to deliver my mails to maildir directories,
> and use nnml as mail backend in Gnus.
> Because maildrop had taken care of the mail splitting,
> I don't want Gnus to splitting mails again.
> So I set the mail-sources variable to "group" in .gnus.el:
> (setq mail-sources '((group)))
> then use "G p" in the *Group* buffer to set the parameter of the group
> where I want my mails to go:
> ((mail-source . (maildir :path "/path/to/maildir")))
> However, this group can't get the mails.
As far as I read the code in question[1], this feature will work
if and only if you use `gnus-group-get-new-news-this-group' (M-g)
for a group that has the `mail-source' group parameter. The code
requires the group name to get the group parameter, however there
is no opportunity to pass the group name to the code if you use
`gnus-group-get-new-news' (g).
So, we can call this a bug. I have no idea to fix it, though.
[1] nnmail-get-new-mail-1
> And when I use "G c" to see the group parameters, I got:
> Unknown entries:
> INS DEL Lisp expression:
> (mail-source maildir :path "/path/to/maildir")
This is not a real problem. It's only that `G c' doesn't know
such a parameter.
> BTW, if I just use
> (setq mail-sources '((maildir :path "/path/to/maildir")))
> then Gnus get the mails normally.
Exactly.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-20 5:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-19 7:48 group in the mail-sources could not get mails Yong
2013-08-20 5:14 ` Katsumi Yamaoka
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).