From: Reiner Steib <reinersteib+from-uce@imap.cc>
Subject: Re: use gnus-agent-fetch-selected-article only in certain groups
Date: Mon, 13 Dec 2004 13:26:22 +0100 [thread overview]
Message-ID: <v9r7lutmdt.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <86mzwijw44.fsf@mat.ucm.es>
On Mon, Dec 13 2004, Uwe Brauer wrote:
> I know that for the setting
> (add-hook 'gnus-select-article-hook 'gnus-agent-fetch-selected-article)
>
> every selected message gets downloaded. Now I want this only for
> certain groups and thought of using gnus-group-customize.
(Ab)using `eval' in `gnus-parameters' might do the trick:
(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?
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2004-12-13 12:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-13 11:06 Uwe Brauer
2004-12-13 12:26 ` Reiner Steib [this message]
[not found] ` <v9u0qqrput.fsf@marauder.physik.uni-ulm.de>
[not found] ` <86fz29du6m.fsf@mat.ucm.es>
2004-12-14 13:50 ` Reiner Steib
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9r7lutmdt.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+from-uce@imap.cc \
--cc=Reiner.Steib@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).