From: Harry Putnam <reader@newsguy.com>
Subject: Display something besides Subject line on request
Date: Fri, 02 Nov 2001 11:07:56 -0800 [thread overview]
Message-ID: <m1d731htyr.fsf@reader.newsguy.com> (raw)
I've successfully confused myself beyond all reason while reading the
gnus manual again...
First the wanted functionality:
To be able to cause the display of a different header in summary lines
on request. Or on group parameter basis.
I think this is different than the To From stuff delt with at:
(How do those cool urls work again?)
info://gnus/To_From_Newsgroup <== naa
C-h i m gnus g To From Newsgroups <RET>
I don't want to call this on the basis of From or other header.
Imagine this proceedure:
Assume I sometimes edit messages and add my own Keywords: header.
Later, to find messages based on info in that header I might say
`& Keywords <RET> REGEXP <RET>' and at the command prompt: `#'.
Gnus will dutifully tear thru the summary buffer marking any messages
with a keywords header containing REGEXP with `#'. I can then view
those messages with `/ n'
At this point I want that limited buffer to display the Keywords
header instead of the Subject header.
When I pop that limit I want the Subject back. Either by
M-x <something> or by hooking into the limiting some how.
I guess M-x <something> is the more reasonable.
One could say M-x <something> to toggle Keywords and M-x <something>
again to go back to Subject.
This is different than making gnus display the Keywords header in the
visible headers when a message is opened. I know how to do that.
This snippet from the above cited info section seems to be close to
what I'm looking for:
2. The value of these extra headers can be accessed via the
`gnus-extra-header' function. Here's a format line spec that will
access the `X-Newsreader' header:
"%~(form (gnus-extra-header 'X-Newsreader))@"
But it doesn't really indicate where this goes. The summary format
strings given as examples contain nothing like this. Nor is it clear
if the `access' can be done at will or if it is a permanent part of
format string or what.
Further the Keywords line I may have added by gnus-edit-article will
not be in the nov file. Unless I've run nnml-generate-nov... after
adding it and have code in .gnus to include keywords in the nov file.
This I also know how to do, but its not really what is necessary to get
the results described above. Or at least not a very practicle way.
Can something like this be done short of 8127 lines of complex lisp
code? And wearing out two keyboard getting the right lines?
next reply other threads:[~2001-11-02 19:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-02 19:07 Harry Putnam [this message]
2001-11-02 19:56 ` Paul Jarc
2001-11-02 21:14 ` Harry Putnam
2001-11-02 21:37 ` Paul Jarc
2001-11-03 1:53 ` Harry Putnam
2001-11-02 22:24 ` ShengHuo ZHU
2001-11-02 22:40 ` Kai Großjohann
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=m1d731htyr.fsf@reader.newsguy.com \
--to=reader@newsguy.com \
/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).