Gnus development mailing list
 help / color / mirror / Atom feed
From: Hiroshi Fujishima <pooh@nature.tsukuba.ac.jp>
Subject: Re: Two dumb customization questions
Date: Mon, 03 May 2004 02:57:27 +0900	[thread overview]
Message-ID: <7cvfjed854.fsf@nature.tsukuba.ac.jp> (raw)
In-Reply-To: <871xm23eow.fsf@virgil.koldfront.dk> (Adam =?iso-2022-jp-2?b?Uw==?= =?iso-2022-jp-2?b?ahsuQRtOeGdy?= =?iso-2022-jp-2?b?ZW4ncw==?= message of "Sun, 02 May 2004 19:46:07 +0200")

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=iso-2022-jp-2, Size: 1180 bytes --]

>>>>> In <871xm23eow.fsf@virgil.koldfront.dk> 
>>>>>	asjo@koldfront.dk (Adam Sj^[.A^[Nxgren) wrote:
> > 2) How do I make BBDB ignore all messages in certain groups?

> I'm using something like this, which someone provided me with a long
> time ago; perhaps there is a better way?

>  (setq gnus-select-group-hook
>        '(lambda ()
>           (setq bbdb/news-auto-create-p
>                 (and
>                  (string-match "^nnml:" gnus-newsgroup-name)
>                  (not (or (string-match "^nnml:spam" gnus-newsgroup-name)
>                           (string-match "^nnml:virus" gnus-newsgroup-name)))))))

You can use group parameters to set bbdb/news-auto-create-p variable
in certain groups.

(info "(gnus)Group Parameters")
| `(VARIABLE FORM)'
|      You can use the group parameters to set variables local to the
|      group you are entering.  If you want to turn threading off in
|      `news.answers', you could put `(gnus-show-threads nil)' in the
|      group parameters of that group.  `gnus-show-threads' will be made
|      into a local variable in the summary buffer you enter, and the
|      form `nil' will be `eval'ed there.

-- 
Hiroshi Fujishima



  reply	other threads:[~2004-05-02 17:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-02 17:29 Zack Weinberg
2004-05-02 17:46 ` Adam Sjøgren
2004-05-02 17:57   ` Hiroshi Fujishima [this message]
2004-05-02 19:05     ` Zack Weinberg
2004-05-02 19:43       ` Kai Grossjohann
2004-05-02 19:22   ` Zack Weinberg
2004-05-02 21:34     ` Adam Sjøgren
2004-05-06 13:24     ` Harry Putnam

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=7cvfjed854.fsf@nature.tsukuba.ac.jp \
    --to=pooh@nature.tsukuba.ac.jp \
    /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).