From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Reply-To -> CC? Date: Mon, 21 Dec 2020 15:03:04 -0800 Message-ID: <87im8u69uf.fsf@ericabrahamsen.net> References: <87pn352ogh.fsf@web.de> <87ft41dt3z.fsf@codeisgreat.org> <87k0tdqcl7.fsf@web.de> <87h7ohnj7y.fsf@codeisgreat.org> <878s9tqbo7.fsf@web.de> <87lfdtnemb.fsf@ericabrahamsen.net> <87pn34narx.fsf@codeisgreat.org> <87im8w8j4i.fsf@ericabrahamsen.net> <87k0tb6cio.fsf@codeisgreat.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19239"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 22 00:04:26 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1krUE5-0004tH-Dp for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 22 Dec 2020 00:04:25 +0100 Original-Received: from localhost ([::1]:50896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krUE4-0006xe-EG for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 21 Dec 2020 18:04:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krUCy-0006xQ-H1 for help-gnu-emacs@gnu.org; Mon, 21 Dec 2020 18:03:16 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:41590 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krUCw-0004JF-IX for help-gnu-emacs@gnu.org; Mon, 21 Dec 2020 18:03:16 -0500 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 7B2DEFA0B2 for ; Mon, 21 Dec 2020 23:03:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1608591786; bh=jywTkTjUT/NedN3pBX0L6oti3Srnm2XZ4th49q3a4FQ=; h=From:To:Subject:References:Date:In-Reply-To:From; b=THD31H8SuRQnGtxNbl+fGlJHmMQMkc21PtY9BryzHuI3oldFFQmeigY3qWIT7h/ro xCF1bgODf/rAm59PLmjOkmMsdG2NaoBm6WaD+ecTRL9bW8DPZOsq0u3NiIFasRpZgI cOuYiU34SONWIwJJa29zofCUZXNvvycPsdxGuwwI= In-Reply-To: <87k0tb6cio.fsf@codeisgreat.org> (Pankaj Jangid's message of "Mon, 21 Dec 2020 09:23:03 +0530") Received-SPF: pass client-ip=52.70.2.18; envelope-from=eric@ericabrahamsen.net; helo=mail.ericabrahamsen.net X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126665 Archived-At: On 12/21/20 09:23 AM, Pankaj Jangid wrote: > Eric Abrahamsen 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 =E2=80=98match=E2=80= =99. If it=E2=80=99s a >>> string, then Gnus will try to regexp match it against the group name. >>> If it is the form =E2=80=98(header MATCH REGEXP)=E2=80=99, then Gnus wi= ll 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 =E2=80= =98match=E2=80=99 >>> is a function symbol, that function will be called with no arguments. >>> If it=E2=80=99s a variable symbol, then the variable will be referenced= . If >>> it=E2=80=99s a list, then that list will be =E2=80=98eval=E2=80=99ed. = In any case, if this >>> returns a non-=E2=80=98nil=E2=80=99 value, then the style is said to = =E2=80=9Cmatch=E2=80=9D. >>> >>> See =E2=80=9CIf the =E2=80=98match=E2=80=99 is a function symbol=E2=80= =9D. >> >> 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 =E2=80=98= m=E2=80=99 or > =E2=80=98a=E2=80=99 then the posting styles won=E2=80=99t be consulted? O= r 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'.