* Re: M-g on nnml group
[not found] <mailman.1418.1174851176.7795.info-gnus-english@gnu.org>
@ 2007-03-26 6:14 ` Katsumi Yamaoka
2007-03-26 7:53 ` Leo
[not found] ` <mailman.1434.1174895767.7795.info-gnus-english@gnu.org>
0 siblings, 2 replies; 6+ messages in thread
From: Katsumi Yamaoka @ 2007-03-26 6:14 UTC (permalink / raw)
To: info-gnus-english
>>>>> In <mailman.1418.1174851176.7795.info-gnus-english@gnu.org>
>>>>> Leo wrote:
> I have an archive nnml group: Sent-Mails.2007. Each time I hit M-g on
> this group, all servers defined in mail-sources (they are all gmail
> accounts) are also checked and that makes it very slow.
> Is this a bug?
I don't think so. Because whether to check mails for nnml groups
is controlled by `nnml-get-new-mail', of which the value is t.
To make it a group parameter will have no effect since fetching
mails is not done in the summary buffer. Instead, the following
might help:
--8<---------------cut here---------------start------------->8---
(defadvice gnus-summary-rescan-group (around dont-fetch-mails activate)
"Don't fetch mails for certain nnml groups."
(let ((nnml-get-new-mail
(unless (string-match "\\`nnml:Sent-Mails\\."
gnus-newsgroup-name)
nnml-get-new-mail)))
ad-do-it))
--8<---------------cut here---------------end--------------->8---
I have no idea if you wrote about the `M-g' command in the group
buffer, not in the summary buffer.
Regards,
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: M-g on nnml group
2007-03-26 6:14 ` M-g on nnml group Katsumi Yamaoka
@ 2007-03-26 7:53 ` Leo
[not found] ` <mailman.1434.1174895767.7795.info-gnus-english@gnu.org>
1 sibling, 0 replies; 6+ messages in thread
From: Leo @ 2007-03-26 7:53 UTC (permalink / raw)
To: info-gnus-english
On 2007-03-26, Katsumi Yamaoka said:
> (defadvice gnus-summary-rescan-group (around dont-fetch-mails activate)
> "Don't fetch mails for certain nnml groups."
> (let ((nnml-get-new-mail
> (unless (string-match "\\`nnml:Sent-Mails\\."
> gnus-newsgroup-name)
> nnml-get-new-mail)))
> ad-do-it))
>
> I have no idea if you wrote about the `M-g' command in the group
> buffer, not in the summary buffer.
I mean M-g in the group buffer. Does your solution still work?
Regards,
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.1434.1174895767.7795.info-gnus-english@gnu.org>]
[parent not found: <b4mmz20wdim.fsf@jpl.org>]
* Re: M-g on nnml group
[not found] ` <mailman.1434.1174895767.7795.info-gnus-english@gnu.org>
[not found] ` <b4mmz20wdim.fsf@jpl.org>
@ 2007-03-26 10:57 ` Katsumi Yamaoka
2007-03-26 12:22 ` Leo
1 sibling, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2007-03-26 10:57 UTC (permalink / raw)
To: info-gnus-english
(I found a simpler solution and superseded my last article, sorry.)
>>>>> In <mailman.1434.1174895767.7795.info-gnus-english@gnu.org>
>>>>> Leo wrote:
> On 2007-03-26, Katsumi Yamaoka said:
>> I have no idea if you wrote about the `M-g' command in the group
>> buffer, not in the summary buffer.
> I mean M-g in the group buffer. Does your solution still work?
Here it is:
--8<---------------cut here---------------start------------->8---
(defadvice gnus-activate-group (before dont-scan-certain-groups activate)
"Don't scan certain groups."
(when (string-match "\\`nnml:Sent-Mails\\." group)
(ad-set-arg 1 nil)))
--8<---------------cut here---------------end--------------->8---
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: M-g on nnml group
2007-03-26 10:57 ` Katsumi Yamaoka
@ 2007-03-26 12:22 ` Leo
0 siblings, 0 replies; 6+ messages in thread
From: Leo @ 2007-03-26 12:22 UTC (permalink / raw)
To: info-gnus-english
On 2007-03-26, Katsumi Yamaoka said:
> (I found a simpler solution and superseded my last article, sorry.)
>> On 2007-03-26, Katsumi Yamaoka said:
>
>>> I have no idea if you wrote about the `M-g' command in the group
>>> buffer, not in the summary buffer.
>
>> I mean M-g in the group buffer. Does your solution still work?
>
> Here it is:
>
> (defadvice gnus-activate-group (before dont-scan-certain-groups activate)
> "Don't scan certain groups."
> (when (string-match "\\`nnml:Sent-Mails\\." group)
> (ad-set-arg 1 nil)))
I like simple. Work like a charm. Thank you for this.
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 6+ messages in thread
* M-g on nnml group
@ 2007-03-25 19:30 Leo
0 siblings, 0 replies; 6+ messages in thread
From: Leo @ 2007-03-25 19:30 UTC (permalink / raw)
To: info-gnus-english
Dear all,
I have an archive nnml group: Sent-Mails.2007. Each time I hit M-g on
this group, all servers defined in mail-sources (they are all gmail
accounts) are also checked and that makes it very slow.
Is this a bug?
I am using No Gnus v0.6 from CVS date 2007-03-18 in GNU Emacs
22.0.95.6 (i686-pc-linux-gnu, GTK+ Version 2.10.8) of 2007-03-18.
Regards,
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-03-26 12:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.1418.1174851176.7795.info-gnus-english@gnu.org>
2007-03-26 6:14 ` M-g on nnml group Katsumi Yamaoka
2007-03-26 7:53 ` Leo
[not found] ` <mailman.1434.1174895767.7795.info-gnus-english@gnu.org>
[not found] ` <b4mmz20wdim.fsf@jpl.org>
2007-03-26 10:48 ` Leo
2007-03-26 10:57 ` Katsumi Yamaoka
2007-03-26 12:22 ` Leo
2007-03-25 19:30 Leo
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).