From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87942 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: setting gnus-list-identifiers using G p Date: Wed, 11 Apr 2018 21:11:29 +0200 Message-ID: <87sh811rtq.fsf@mouse.gnus.org> References: <87tw0crlsh.fsf@delle7240.chemeng.ucl.ac.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523473787 29377 195.159.176.226 (11 Apr 2018 19:09:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2018 19:09:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: ding@gnus.org To: Eric S Fraga Original-X-From: ding-owner+m36156@lists.math.uh.edu Wed Apr 11 21:09:42 2018 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048034.atla03.us.yomura.com ([107.189.48.34]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6L7m-0007Vq-QH for ding-account@gmane.org; Wed, 11 Apr 2018 21:09:42 +0200 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048034.atla03.us.yomura.com (Halon) with ESMTPS id 30bde704-3dbc-11e8-950a-b499baa2b07a; Wed, 11 Apr 2018 19:11:51 +0000 (UTC) Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.90_1) (envelope-from ) id 1f6L9j-0005Az-UH; Wed, 11 Apr 2018 14:11:44 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1f6L9h-0005AP-5O for ding@lists.math.uh.edu; Wed, 11 Apr 2018 14:11:41 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.90_1) (envelope-from ) id 1f6L9f-0000pk-Ei for ding@lists.math.uh.edu; Wed, 11 Apr 2018 14:11:41 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by quimby.gnus.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1f6L9e-00019c-39 for ding@gnus.org; Wed, 11 Apr 2018 21:11:38 +0200 Original-Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f6L9b-0001wy-8t; Wed, 11 Apr 2018 21:11:37 +0200 Original-Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f6L9V-0002G1-H4; Wed, 11 Apr 2018 21:11:29 +0200 In-Reply-To: <87tw0crlsh.fsf@delle7240.chemeng.ucl.ac.uk> (Eric S. Fraga's message of "Sat, 09 Sep 2017 15:25:50 +0100") X-Spam-Report: Spam detection software, running on the system "hermes.netfonds.no", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eric S Fraga writes: > I am trying to set the gnus-list-identifiers for a particular group to > the regular expression "\[[^]]*\] *" using "G p" to edit the group's > parameters, e.g. to remove "[some cruft] " from the subject > line. However, if I type that in, I lose the backslashes; if I double > them up, both stay. I cannot seem to get a single backslash in the > expression and gnus does not seem to understand the regexp with two > backslashes. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.8 (/) X-Spam-Report: SpamAssassin (3.4.1 2015-04-28) analysis follows Bayesian score: 0.4567 Ham tokens: 0.000-65--2440h-0s--0d--H*r:sk:ECDHE_R, 0.000-16--600h-0s--0d--H*M:fsf, 0.000-16--594h-0s--0d--H*MI:fsf, 0.000-14--514h-0s--0d--foo, 0.000-13--459h-0s--0d--H*UA:Emacs Spam tokens: 0.997-75--1h-60s--0d--H*F:D*gnus.org, 0.997-18291--349h-14894s--0d--Hx-spam-relays-internal:sk:junkmas, 0.997-18291--349h-14894s--0d--HX-Envelope-From:sk:junkmas, 0.997-18291--349h-14894s--0d--H*RT:sk:junkmas, 0.995-25688--762h-21135s--0d--H*Ad:D*gnus.org Autolearn status: ham autolearn_force=no -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.224.195 listed in list.dnswl.org] 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4567] List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87942 Archived-At: Eric S Fraga writes: > I am trying to set the gnus-list-identifiers for a particular group to > the regular expression "\[[^]]*\] *" using "G p" to edit the group's > parameters, e.g. to remove "[some cruft] " from the subject > line. However, if I type that in, I lose the backslashes; if I double > them up, both stay. I cannot seem to get a single backslash in the > expression and gnus does not seem to understand the regexp with two > backslashes. Are you sure that the backslashes are doubled? Emacs will usually display a string containing a single backslash like "foo\\bar" because that's the string read syntax. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no