Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: new NOV stuff in p0.40
Date: 26 Oct 1998 01:37:49 +0100	[thread overview]
Message-ID: <m37lxop38i.fsf@sparky.gnus.org> (raw)
In-Reply-To: Karl Kleinpaste's message of "25 Oct 1998 19:18:05 -500"

Karl Kleinpaste <karl@jprc.com> writes:

> First, why are there 2 new variables for NOV control,
> gnus-extra-headers and nnmail-extra-headers?  When might one
> conceivably want them to be different?

If one is interested only in seeing the To header in the nnfolder
groups, then setting the nnmail-extra-headers variabel would be
counter-productive, since nnfolder doesn't do NOV headers.

> Do I at least understand correctly that nnmail-e-h is used when
> *storing* mail messages

Yes.

> while gnus-e-h is used when *receiving* XOVER response?

Almost.  It's used when receiving headers, whether they be HEAD
headers or NOV headers.

>       gnus-ignored-from-addresses "karl@charcoal\\.com\\|karl@jprc\\.com")
> 
> Second, I have set gnus-ignored-from-addresses to several variations
> on my addresses, as you see above, but yet *Summary* buffers are still
> showing myself rather than where the messages were going.

You have to use the %f spec to get to-or-newsgroup-or-from:

(setq gnus-summary-line-format
      "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n")

> Example use: In news.software.readers, I score up "gnus" in keywords
> highly, which catches a surprisingly large number of references to
> Our Favorite Newsreader.  Is there any way to (re)gain this kind of
> score capability in a generalized manner, without hacking up
> per-header functions?

Adding this should be easy, but what should the score file syntax be?

For those who haven't followed the ChangeLogs, Gnus header vectors now
have an additional slot, which contains an alist of header/value
pairs.  This slot is called the "extra" slot.

To score on From we have

("from"
 ("Lars" -2000 nil s))

How about

("extra/keywords"
 ("gnus" 200 nil s))

That is, elements that are strings that begin with "extra" refer to
this slot, and the part after the slash refers to the header?

Or perhaps

("extra"
 ("keywords"
  ("gnus" 200 nil s))
 ("to"
  ("Lars" -200 nil s)))

I think this might actually be easier to do.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


  reply	other threads:[~1998-10-26  0:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-26  0:18 Karl Kleinpaste
1998-10-26  0:37 ` Lars Magne Ingebrigtsen [this message]
1998-10-26  1:40   ` Karl Kleinpaste
1998-10-26  2:15     ` Karl Kleinpaste
1998-10-26  2:52       ` Lars Magne Ingebrigtsen
1998-10-26  8:17         ` Kai Grossjohann
1998-10-26  8:48           ` Lars Magne Ingebrigtsen
1998-10-26 10:12             ` Kai Grossjohann
1998-10-26  2:48     ` Lars Magne Ingebrigtsen
1998-10-28  5:51       ` Karl Kleinpaste
1998-10-28 13:38         ` Karl Kleinpaste

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=m37lxop38i.fsf@sparky.gnus.org \
    --to=larsi@gnus.org \
    /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).