From: Jack Vinson <jvinson@chevax.ecs.umass.edu>
Subject: Re: using multiple Summary buffer formats
Date: 19 Jan 1999 08:54:39 -0600 [thread overview]
Message-ID: <wkr9sria8g.fsf@chevax.ecs.umass.edu> (raw)
In-Reply-To: Karl Kleinpaste's message of "Fri, 15 Jan 1999 09:27:04 -0500"
>>>>> "KK" == Karl Kleinpaste <karl@justresearch.com> writes:
KK> I suggest use of gnus-group-select-hook instead. This is mine:
Another option is to create your own format-function to handle this. Since
I use BBDB to extract user names for mail, the tricks to show the To:
information in some groups is more difficult.
This is what my setup looks like. Instead of %-20,20f, I have %-20,20ud to
indicate use of the gnus-user-format-function-d. The function simply
checks the group name and does either gnus-summary-from-or-to-or-newsgroups
(the %f behavior) or bbdb/gnus-summary-get-author (the %uB behavior).
(setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-20,20ud%]%) %s\n")
(defun gnus-user-format-function-d (group-tmp)
"Decide to use either the BBDB function or the %f form."
(let ((group gnus-newsgroup-name))
;; Set the Summary Line Format special for outgoing archives
(if (and group
(string-match "\\(drafts\\|misc-\\(mail\\|news\\)\\)" group))
;; gnus-tmp-header is defined in the calling function
(gnus-summary-from-or-to-or-newsgroups group-tmp)
(bbdb/gnus-summary-get-author group-tmp)
))
)
--
Jack Vinson <jvinson@chevax.ecs.umass.edu> http://www.cis.upenn.edu/~vinson/
Zippy: Did you GAIN WEIGHT in th' past 5 MINUTES or am I just DREAMING of two
BROCCOLI FLORETS lying in an empty GAS TANK?
next prev parent reply other threads:[~1999-01-19 14:54 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <feoh@cosmic.com>
1999-01-11 22:08 ` Pre-Processed maiil splitting under Gnus? Asymptotically Approaching Relaxation
1999-01-11 23:51 ` Richard Coleman
1999-01-12 7:00 ` Asymptotically Approaching Relaxation
1999-01-15 0:53 ` using multiple Summary buffer formats Alfred J Correira
1999-01-15 10:23 ` Kai.Grossjohann
1999-01-15 10:35 ` Lee Willis
1999-01-15 11:13 ` Kai.Grossjohann
[not found] ` <lzww2o21ez.fsf@landlord.gbdirect.co.uk>
[not found] ` <vaf7luon2dv.fsf@ramses.cs.uni-dortmund.de>
1999-01-15 12:34 ` Kai.Grossjohann
1999-01-15 13:04 ` Lee Willis
1999-01-15 14:27 ` Karl Kleinpaste
1999-01-19 14:54 ` Jack Vinson [this message]
1999-01-19 15:15 ` Lee Willis
[not found] ` <m3iuedcuua.fsf@peorth.gweep.net>
1999-01-12 7:57 ` Pre-Processed maiil splitting under Gnus? Asymptotically Approaching Relaxation
1999-01-12 16:02 ` Kai.Grossjohann
1999-01-12 16:38 ` Hrvoje Niksic
1999-01-12 17:00 ` M-x gnus-filter-mail-at-warp-10 (was: Re: Pre-Processed maiil splitting under Gnus?) Asymptotically Approaching Relaxation
1999-01-12 17:35 ` Kai.Grossjohann
1999-01-12 18:42 ` Asymptotically Approaching Relaxation
1999-01-13 22:35 ` Kai.Grossjohann
1999-01-12 20:49 ` M-x gnus-filter-mail-at-warp-10 (was: " Jari Aalto+mail.procmail
1999-01-13 22:32 ` Kai.Grossjohann
1999-01-13 23:21 ` Hrvoje Niksic
1999-01-12 17:21 ` Pre-Processed maiil splitting under Gnus? Lars Magne Ingebrigtsen
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=wkr9sria8g.fsf@chevax.ecs.umass.edu \
--to=jvinson@chevax.ecs.umass.edu \
/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).