[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use gnus-agent-fetch-selected-article only in certain groups
From: |
Reiner Steib |
Subject: |
Re: use gnus-agent-fetch-selected-article only in certain groups |
Date: |
Mon, 13 Dec 2004 19:54:18 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
On Mon, Dec 13 2004, Reiner Steib wrote:
> (require 'gnus-sum) ;; gnus-select-article-hook is defined there.
> (setq gnus-parameters
> '(("certain\\.group"
> (eval
> (add-to-list (make-local-variable 'gnus-select-article-hook)
> 'gnus-agent-fetch-selected-article)))))
>
> Probably you can also use `add-hook' instead of `add-to-list' here (I
> didn't try). Does it work?
[ I think you mail was intended as a posting (else you'd write in
German, I guess), so I answer here. [1]
Uwe wrote that it didn't work after fixing the regexp and he asked
if I had tested it. ]
I didn't test your example. I have the following:
("xdvi\\.devel"
(eval
(add-to-list (make-local-variable 'gnus-article-prepare-hook)
'rs-gnus-article-treat-sourceforge-tracker)))
And in the summary buffer, I get:
,----[ C-h v gnus-article-prepare-hook RET ]
| gnus-article-prepare-hook's value is
| (rs-gnus-article-treat-sourceforge-tracker bbdb/gnus-pop-up-bbdb-buffer)
|
| Local in buffer *Summary gmane.comp.tex.xdvi.devel*; global value is
| (bbdb/gnus-pop-up-bbdb-buffer)
`----
Also this test works for me:
(setq X-gnus-select-article-hook nil)
(setq gnus-parameters
'(("^nnimap.*"
(eval
(add-to-list (make-local-variable 'X-gnus-select-article-hook)
'gnus-agent-fetch-selected-article)))))
Bye, Reiner.
[1] Maybe you should set `gnus-confirm-mail-reply-to-news'?
,----[ (info "(gnus)Oort Gnus") ]
| * Warn about email replies to news
|
| Do you often find yourself replying to news by email by mistake?
| Then the new option `gnus-confirm-mail-reply-to-news' is just the
| thing for you.
`----
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
- use gnus-agent-fetch-selected-article only in certain groups, Uwe Brauer, 2004/12/13
- Re: use gnus-agent-fetch-selected-article only in certain groups, Reiner Steib, 2004/12/13
- Re: use gnus-agent-fetch-selected-article only in certain groups, Uwe Brauer, 2004/12/13
- Re: use gnus-agent-fetch-selected-article only in certain groups,
Reiner Steib <=
- Re: use gnus-agent-fetch-selected-article only in certain groups, Uwe Brauer, 2004/12/14
- Solution (was: use gnus-agent-fetch-selected-article only in certain groups), Uwe Brauer, 2004/12/14
- Re: use gnus-agent-fetch-selected-article only in certain groups, Reiner Steib, 2004/12/14
- Re: use gnus-agent-fetch-selected-article only in certain groups, Uwe Brauer, 2004/12/14
- Re: use gnus-agent-fetch-selected-article only in certain groups, Reiner Steib, 2004/12/14