* Reply-To in gnus message
@ 2022-06-10 23:36 GH
2022-06-11 8:46 ` Adam Sjøgren
0 siblings, 1 reply; 3+ messages in thread
From: GH @ 2022-06-10 23:36 UTC (permalink / raw)
To: info-gnus-english
I set:
(setq mail-default-reply-to "user@example.org")
It insert "Reply-To: user@example.org" header when I do M-x mail RET
but it dont work when I hit "m" key in gnus *Group* buffer, or when I
hit "r" or "f" to reply or follow an article in summary buffer, because
it use message stuff
how can I set it in message mode?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Reply-To in gnus message
2022-06-10 23:36 Reply-To in gnus message GH
@ 2022-06-11 8:46 ` Adam Sjøgren
2022-06-11 23:00 ` GH
0 siblings, 1 reply; 3+ messages in thread
From: Adam Sjøgren @ 2022-06-11 8:46 UTC (permalink / raw)
To: info-gnus-english
GH writes:
> (setq mail-default-reply-to "user@example.org")
[...]
> how can I set it in message mode?
In Gnus you can use gnus-posting-styles, something like:
(setq gnus-posting-styles
'((".*"
(reply-to "user@example.org")
)))
This makes it easy to do things depending on the name of the group.
Or you could use a hook:
(add-hook 'message-setup-hook (lambda ()
(message-add-header "Reply-To: user@example.org")))
Best regards,
Adam
--
"We get it, luv, you can opera." Adam Sjøgren
asjo@koldfront.dk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Reply-To in gnus message
2022-06-11 8:46 ` Adam Sjøgren
@ 2022-06-11 23:00 ` GH
0 siblings, 0 replies; 3+ messages in thread
From: GH @ 2022-06-11 23:00 UTC (permalink / raw)
To: info-gnus-english
Adam Sjøgren <asjo@koldfront.dk> writes:
> In Gnus you can use gnus-posting-styles, something like:
> (setq gnus-posting-styles
> '((".*"
> (reply-to "user@example.org")
> )))
> This makes it easy to do things depending on the name of the group.
wow `gnus-posting-styles' is very cool, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-11 23:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-10 23:36 Reply-To in gnus message GH
2022-06-11 8:46 ` Adam Sjøgren
2022-06-11 23:00 ` GH
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).