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: Tue, 22 Dec 2020 09:13:57 -0800 Message-ID: <87im8t3gru.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> <87im8u69uf.fsf@ericabrahamsen.net> <878s9qf5a2.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="39159"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: True Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 22 18:15:27 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 1krlFt-000A52-BM for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 22 Dec 2020 18:15:25 +0100 Original-Received: from localhost ([::1]:35858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krlFs-0002Iv-Ct for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 22 Dec 2020 12:15:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krlEZ-0002HB-Cx for help-gnu-emacs@gnu.org; Tue, 22 Dec 2020 12:14:03 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:34086 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 1krlEX-0006uU-B2 for help-gnu-emacs@gnu.org; Tue, 22 Dec 2020 12:14:03 -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 E52E5FA0B2; Tue, 22 Dec 2020 17:13:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1608657239; bh=6VtYn1tGhvSXZ9WSxLrPtDk3uv8K96zYgEXjPzH9WRU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=OQM/yfZtVZvYq8yY0mWkTT1Di+RjNuKIT3WQaINBrHU4QnvkPybAikCYUMm0dsupO hWcV4mvgt2FGZEaA0X+cfMH9Be2TyCnxI1u6k+xOojuXQRahqjkFvZMyo2gbPZ6xAZ ffOWefTE72zC45co1H8J0IS1wr91d3WiAiACKe5Q= In-Reply-To: <878s9qf5a2.fsf@codeisgreat.org> (True's message of "Tue, 22 Dec 2020 16:59:09 +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:126675 Archived-At: True writes: > Eric Abrahamsen 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-style= s'. > > I just tried this without any prefix argument to =E2=80=98m=E2=80=99 and = =E2=80=98a=E2=80=99: > > #+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.=20