* ? gnus-summary-line-format selectable according to sender?
@ 1998-12-02 22:38 Rajesh Godbole
1998-12-03 11:35 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Rajesh Godbole @ 1998-12-02 22:38 UTC (permalink / raw)
Is there any way to set gnus-summary-line-format to show
"To: anotherperson@otherplace.org" if the message is from me?
This would probably apply to the nnfolder+archive:misc-{mail,news} groups
which on the Gcc line.
Also, setting Gcc to something like nnimap+server:Mail/sent-mail
hangs gnus in xemacs-21.0 pgnus-0.57/nnimap-0.38.
Has anyone else seen this?
TIA,
-rajesh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ? gnus-summary-line-format selectable according to sender?
1998-12-02 22:38 ? gnus-summary-line-format selectable according to sender? Rajesh Godbole
@ 1998-12-03 11:35 ` Lars Magne Ingebrigtsen
1998-12-03 17:10 ` Jack Vinson
0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-12-03 11:35 UTC (permalink / raw)
Rajesh Godbole <argv@Sun.COM> writes:
> Is there any way to set gnus-summary-line-format to show
> "To: anotherperson@otherplace.org" if the message is from me?
See the "To From Newsgroups" sectoion in the Gnus manual.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ? gnus-summary-line-format selectable according to sender?
1998-12-03 11:35 ` Lars Magne Ingebrigtsen
@ 1998-12-03 17:10 ` Jack Vinson
0 siblings, 0 replies; 3+ messages in thread
From: Jack Vinson @ 1998-12-03 17:10 UTC (permalink / raw)
>>>>> "LMI" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
LMI> Rajesh Godbole <argv@Sun.COM> writes:
>> Is there any way to set gnus-summary-line-format to show
>> "To: anotherperson@otherplace.org" if the message is from me?
LMI> See the "To From Newsgroups" sectoion in the Gnus manual.
Hmm. This is interesting. I am using BBDB with my standard summary
buffers. It tells me who is in my database and uses their full name when
available. However, when I want to look at my draft folder or my archive I
want to see who the message went TO as in the discussion in the above Info
page.
To get both of these things to work, I had to write my own
gnus-uers-gnus-user-format-function-*, below. Note that I specifically
have to include "nobody" in the gnus-ignored-from-addresses because that is
the from address that shows up in the Drafts folder.
(setq gnus-extra-headers '(To)
nnmail-extra-headers gnus-extra-headers
gnus-ignored-from-addresses "\\(jvinson@chevax\\.ecs\\.umass\\.edu\\|nobody\\)"
;; Default value is "%U%R%z%I%(%[%4L: %-20,20n%]%) %s\n"
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: My haircut is totally traditional!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-12-03 17:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-02 22:38 ? gnus-summary-line-format selectable according to sender? Rajesh Godbole
1998-12-03 11:35 ` Lars Magne Ingebrigtsen
1998-12-03 17:10 ` Jack Vinson
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).