emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
Cc: "Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-mode 9.3 links gnus
Date: Wed, 29 Jul 2020 12:37:27 +0100	[thread overview]
Message-ID: <871rku4knc.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87bljyljw5.fsf@gmail.com> (Joseph Vidal-Rosset's message of "Wed, 29 Jul 2020 12:01:46 +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


  reply	other threads:[~2020-07-29 11:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29 10:01 org-mode 9.3 links gnus Joseph Vidal-Rosset
2020-07-29 11:37 ` Eric S Fraga [this message]
2020-07-29 11:50   ` Joseph Vidal-Rosset

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rku4knc.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=joseph.vidal.rosset@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).