|
From: | Joseph Vidal-Rosset |
Subject: | Re: org-mode 9.3 links gnus |
Date: | Wed, 29 Jul 2020 13:50:59 +0200 |
On Wednesday, 29 Jul 2020 at 12:01, Joseph Vidal-Rosset wrote:
> (replace-match "gnus:\\[Gmail\\]/Tous les messages#"))
I wonder whether you have too many \\ (or even any) in this and the
similar replace-string that comes later? Why do you have these at all?
The string argument to both replace-match and replace-string [1] is not
a regexp so [] do not mean anything special.
Have you tried with just "gnus:[Gmail]/..."?
eric
Footnotes:
[1] and according to the documentation, replace-string should only be
used interactively and you should use replace-match instead.
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.7-682-geac255
[Prev in Thread] | Current Thread | [Next in Thread] |