* group name in attribution
@ 1998-07-15 18:00 Graham Murray
1998-07-16 4:05 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Graham Murray @ 1998-07-15 18:00 UTC (permalink / raw)
I know that it is not currently possible, so could this possibly be
put on the "wish list"?
When a message is crossposted to multiple groups, it might be useful
for the attribution line to state in which group the reply is being
composed. I have noticed that some other newsreaders already show this
in the attribution line (or the user manually inserts it)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: group name in attribution
1998-07-15 18:00 group name in attribution Graham Murray
@ 1998-07-16 4:05 ` Lars Magne Ingebrigtsen
1998-07-16 5:29 ` SL Baur
1998-07-16 21:45 ` Graham Murray
0 siblings, 2 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-07-16 4:05 UTC (permalink / raw)
Graham Murray <graham@barnowl.demon.co.uk> writes:
> I know that it is not currently possible, so could this possibly be
> put on the "wish list"?
>
> When a message is crossposted to multiple groups, it might be useful
> for the attribution line to state in which group the reply is being
> composed.
You can set `message-citation-line-function' to a function that
inserts whatever you wish.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: group name in attribution
1998-07-16 4:05 ` Lars Magne Ingebrigtsen
@ 1998-07-16 5:29 ` SL Baur
1998-07-16 21:45 ` Graham Murray
1 sibling, 0 replies; 4+ messages in thread
From: SL Baur @ 1998-07-16 5:29 UTC (permalink / raw)
Lars Magne Ingebrigtsen <larsi@gnus.org> writes in ding@gnus.org:
> Graham Murray <graham@barnowl.demon.co.uk> writes:
>> I know that it is not currently possible, so could this possibly be
>> put on the "wish list"?
It is possible. I don't think an example of doing it is written down
anywhere though.
>> When a message is crossposted to multiple groups, it might be useful
>> for the attribution line to state in which group the reply is being
>> composed.
> You can set `message-citation-line-function' to a function that
> inserts whatever you wish.
It can be done in Supercite too. Here's one possible implementation
(adjust to suit, this is off the top of my head):
(defun sc-header-author-email-writes-in-group ()
"sc-author <email-addr> writes in group:"
(let* ((sc-mumble "")
(whofrom (sc-whofrom))
(group (or gnus-newsgroup-name ""))
(group-name (or (message-fetch-field "newsgroups")
(gnus-group-find-parameter group 'to-address)
(gnus-group-find-parameter group 'to-list))))
(if whofrom
(insert sc-reference-tag-string
(sc-hdr "" (sc-mail-field "sc-author") " ")
(or (sc-hdr "<" (sc-mail-field "sc-from-address") ">" t)
(sc-hdr "<" (sc-mail-field "sc-reply-address") ">" t)
"")
(if group
(format " writes in %s" group-name)
"writes")
":\n"))))
Add to this `sc-rewrite-header-list' and set
`sc-preferred-header-style' to its index in the list to use it.
(setq sc-rewrite-header-list
(append sc-rewrite-header-list
'((sc-header-author-email-writes-in-group))))
(setq sc-preferred-header-style (1- (length sc-rewrite-header-list)))
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: group name in attribution
1998-07-16 4:05 ` Lars Magne Ingebrigtsen
1998-07-16 5:29 ` SL Baur
@ 1998-07-16 21:45 ` Graham Murray
1 sibling, 0 replies; 4+ messages in thread
From: Graham Murray @ 1998-07-16 21:45 UTC (permalink / raw)
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> You can set `message-citation-line-function' to a function that
> inserts whatever you wish.
Thanks.
I have it working now. For some reason I (mistakenly) thought that the
current newsgroup was not available at the time which
message-citation-line-function was called.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-07-16 21:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-15 18:00 group name in attribution Graham Murray
1998-07-16 4:05 ` Lars Magne Ingebrigtsen
1998-07-16 5:29 ` SL Baur
1998-07-16 21:45 ` Graham Murray
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).