all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Reply-To -> CC?
Date: Mon, 21 Dec 2020 15:03:04 -0800	[thread overview]
Message-ID: <87im8u69uf.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87k0tb6cio.fsf@codeisgreat.org> (Pankaj Jangid's message of "Mon, 21 Dec 2020 09:23:03 +0530")


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	other threads:[~2020-12-21 23:03 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-20  2:36 Reply-To -> CC? Michael Heerdegen
2020-12-20  3:10 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-20  4:00 ` Pankaj Jangid
2020-12-20  4:34   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-20  5:20     ` Pankaj Jangid
2020-12-20  5:19   ` Michael Heerdegen
2020-12-20  5:23     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-20  5:24     ` Pankaj Jangid
2020-12-20  5:38       ` Michael Heerdegen
2020-12-20  7:03         ` Eric Abrahamsen
2020-12-20  8:26           ` Pankaj Jangid
2020-12-20 17:47             ` Eric Abrahamsen
2020-12-21  3:53               ` Pankaj Jangid
2020-12-21 23:03                 ` Eric Abrahamsen [this message]
2020-12-22 11:29                   ` True
2020-12-22 17:13                     ` Eric Abrahamsen
2020-12-20  4:49 ` Tim Landscheidt
2020-12-20  5:27   ` Michael Heerdegen
2020-12-23  3:47     ` Pankaj Jangid
2020-12-23  6:26       ` Jean Louis
2020-12-23  6:28       ` Jean Louis
2020-12-22 12:48 ` Gregor Zattler
2020-12-23  5:17   ` Michael Heerdegen
2020-12-23  5:54     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-23  6:30     ` Jean Louis
2020-12-23  7:38       ` Michael Heerdegen
2020-12-23  8:13         ` Teemu Likonen
2020-12-23 10:43           ` Jean Louis
2020-12-23 11:11             ` Teemu Likonen
2020-12-23 11:49               ` Jean Louis
2020-12-23 12:14                 ` Teemu Likonen
2020-12-23 12:32                   ` Pankaj Jangid
2020-12-24  4:03           ` Michael Heerdegen
2020-12-23 10:18         ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87im8u69uf.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.