Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: ding@gnus.org
Subject: Re: setting gnus-list-identifiers using G p
Date: Wed, 11 Apr 2018 21:11:29 +0200	[thread overview]
Message-ID: <87sh811rtq.fsf@mouse.gnus.org> (raw)
In-Reply-To: <87tw0crlsh.fsf@delle7240.chemeng.ucl.ac.uk> (Eric S. Fraga's message of "Sat, 09 Sep 2017 15:25:50 +0100")

Eric S Fraga <e.fraga@ucl.ac.uk> 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



      reply	other threads:[~2018-04-11 19:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-09 14:25 Eric S Fraga
2018-04-11 19:11 ` Lars Ingebrigtsen [this message]

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=87sh811rtq.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.org \
    --cc=e.fraga@ucl.ac.uk \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).