help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Reply-To -> CC?


From: Eric Abrahamsen
Subject: Re: Reply-To -> CC?
Date: Tue, 22 Dec 2020 09:13:57 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

True <pankaj@codeisgreat.org> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> My experience is that if you don't give a prefix argument to "m" or "a"
>> then your posting styles aren't taken into account. But it makes perfect
>> sense that ".*" would still take effect (it matches the empty string,
>> after all). I don't have a catch-all like that in my `gnus-posting-styles'.
>
> I just tried this without any prefix argument to ‘m’ and ‘a’:
>
> #+begin_src emacs-lisp
> (setq gnus-posting-styles
>       '((".*"
>          (name "Pankaj Jangid")
>        (address "pankaj.jangid@qmail.com"))
>       ((lambda () t)
>        (name "True")
>        (address "true@example.com"))))
> #+end_src
>
> It works. It picked the "true@example.com" address.

Sorry, I shouldn't have said "posting styles aren't taken into account",
that isn't accurate; what happens is that the group name under point is
only fed to posting styles with a prefix arg. The posting styles are indeed
consulted no matter what, sorry about that. 



reply via email to

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