info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replying with a specified posting style


From: Eric Abrahamsen
Subject: Re: Replying with a specified posting style
Date: Tue, 25 Jan 2022 13:13:00 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Alberto Luaces <aluaces@udc.es> writes:

> Hi, this smells like a FAQ, but I couldn't find anything about it:
>
> Sometimes I receive messages to my account A, while I want to reply to
> them from my account in server B.
>
> As far as I know, posting styles are only selected when composing new
> messages.

No, posting styles are in effect based on replies/followups as well. In
fact, I think the only time they *aren't* in effect is when composing
new messages, unless you call a message composition command with a
prefix arg, in which case the group under point is used.

> As a low-tech solution, I just move the message from A to B's INBOX and
> reply from there.
>
> Is there a more elegant solution?

The "match" part of the posting style can be more complicated than a
simple string match on group name. If you need to match on both "From"
header and group name, I think the simplest thing might be to use your
own function that checks those two things (the function is called with
point in the message that you're replying to), and then sets the From
and GCC and maybe SMTP server appropriately.

Does that make sense?

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]