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: Mon, 21 Dec 2020 15:03:04 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On 12/21/20 09:23 AM, Pankaj Jangid wrote:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>>> It works for a group if the fist element is a regexp. Quoting from the
>>> doc:
>>>
>>>    The first element in each style is called the ‘match’.  If it’s a
>>> string, then Gnus will try to regexp match it against the group name.
>>> If it is the form ‘(header MATCH REGEXP)’, then Gnus will look in the
>>> original article for a header whose name is MATCH and compare that
>>> REGEXP.  MATCH and REGEXP are strings.  (The original article is the one
>>> you are replying or following up to.  If you are not composing a reply
>>> or a followup, then there is nothing to match against.)  If the ‘match’
>>> is a function symbol, that function will be called with no arguments.
>>> If it’s a variable symbol, then the variable will be referenced.  If
>>> it’s a list, then that list will be ‘eval’ed.  In any case, if this
>>> returns a non-‘nil’ value, then the style is said to “match”.
>>>
>>> See “If the ‘match’ is a function symbol”.
>>
>> Right, that's pretty much what I was saying.
>
> Probably, I have misunderstood this,
>
>>>> I don't think so: posting styles only work when replying to a message in
>>>> a particular group, or composing a new message "from" a group using "C-u
>>>> m" or "C-u a" while point is on that particular group.
>
> Do you mean that when we are in group buffer and press just the ‘m’ or
> ‘a’ then the posting styles won’t be consulted? Or that we are always in
> one or the other group context. On my installation, the default posting
> style ((".*") ...) is always taken into account.

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'.



reply via email to

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