* setting gnus-list-identifiers using G p
@ 2017-09-09 14:25 Eric S Fraga
2018-04-11 19:11 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Eric S Fraga @ 2017-09-09 14:25 UTC (permalink / raw)
To: ding
[-- Attachment #1: Type: text/plain, Size: 607 bytes --]
Hello,
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.
Any suggestion as to what I am doing wrong?
Thanks,
eric
--
: Eric S Fraga
: in Emacs 26.0.50 + Gnus v5.13 + evil-git-cecbcfb
: BBDB version 3.1.2 (2016-12-24 19:03:23+00:00)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: setting gnus-list-identifiers using G p
2017-09-09 14:25 setting gnus-list-identifiers using G p Eric S Fraga
@ 2018-04-11 19:11 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-11 19:11 UTC (permalink / raw)
To: Eric S Fraga; +Cc: ding
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-11 19:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-09 14:25 setting gnus-list-identifiers using G p Eric S Fraga
2018-04-11 19:11 ` Lars Ingebrigtsen
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).