From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.help Subject: Re: Broken gnus-posting-styles? Date: Mon, 23 May 2022 10:12:21 +0200 Message-ID: <86bkvooefu.fsf@gnu.org> References: <875ylxa4t1.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4801"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 Cc: help-gnu-emacs@gnu.org To: Philip Kaludercic Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 23 10:18:23 2022 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 1nt3Gg-000122-Fu for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 23 May 2022 10:18:22 +0200 Original-Received: from localhost ([::1]:41792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nt3Gf-0008Pe-FB for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 23 May 2022 04:18:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt3BP-0004e0-Rj for help-gnu-emacs@gnu.org; Mon, 23 May 2022 04:12:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56800) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt3BP-00036s-IV; Mon, 23 May 2022 04:12:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=FnJ9mR8gfR5BuW7TuZCZNy2R6ruxBhQo8kpayXfn2sA=; b=nR85UV2Kzic6Jdh1b6Vn 92iMEbRGpJnl2xfY2japVU9qMsxGIP69MVsD172y1a2KKxs7GKhhoUNBs3rA0Vy/bZ2Xj5LqBjPt2 hm0IMwK7bXFx8vh8MJw3eH7WZxsJRQsUsONiUxSnTO3VTe5x7ND7Dlqig9D+kYzhRp7FMHIyvRq/X R5ngeXXaL9kdDTWo5vdtsO2plqQDmE2B0M6d1LBQ883gHj4OXLQ9f9zoKevveWFgUlMsPnBnARuBT 7MZRvtoKxsUpsJxYfZY2X2LUllgs9hp4FSPt7pLLt6Ks8sQTxgEapMBY+NHM5Q4/VoercZ9SNphfp Z96Ce/FbjqKx3A==; Original-Received: from p5b326363.dip0.t-ipconnect.de ([91.50.99.99]:58496 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt3BP-0003CU-5z; Mon, 23 May 2022 04:12:55 -0400 In-Reply-To: <875ylxa4t1.fsf@posteo.net> (Philip Kaludercic's message of "Sun, 22 May 2022 16:51:54 +0000") X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:137358 Archived-At: Philip Kaludercic writes: > Is anyone else tracking master and experiencing issues with > `gnus-posting-styles'? I read my mail via nnimap, and had it set up so > that it Gcc's outgoing mail into my Sent directory. As I have two > addresses I use, I sed `gnus-posting-styles' to > > '(((header "from" "fau.de^") > ("Gcc" "nnimap+faumail.fau.de:Sent") > (address "cuvyvc.xnyhqrepvp@snh.qr")) ;Anti-spam > ("" ;Fallback > ("Gcc" "nnimap+posteo.de:Sent"))) > > But for some reason the "(header ...)" doesn't work anymore, and all my > messages are stored in the "Sent" directory of my primary account. If I > invert the rule, I get the opposite behaviour. Yet `(gnus) Posting > Styles' indicates that that this approach should work. I'm using Emacs master (1a72248901) and have no problems with posting-styles. I admit I have most of my config now in `gnus-parameters', but would it help if you re-write the lines above like this: (setq gnus-posting-styles '((".*" ;Fallback ("Gcc" "nnimap+posteo.de:Sent")) ((header "from" "fau.de") ("Gcc" "nnimap+faumail.fau.de:Sent") (address "cuvyvc.xnyhqrepvp@snh.qr")))) ;Anti-spam Things I've changed are order of fallback, added ".*" instead of empty string and removed ^ after fau.de Best, Arash