all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Heinz-Ado Arnolds <arnolds@MPA-Garching.MPG.DE>
Cc: sk@thp.uni-koeln.de, emacs-devel@gnu.org
Subject: Re: Emacs dired mode / dired-do-rename-regexp
Date: Thu, 01 Dec 2016 17:44:28 +0100	[thread overview]
Message-ID: <mvmr35rmwer.fsf@hawking.suse.de> (raw)
In-Reply-To: <7ba293c3-b356-4e87-44db-9d7017324df0@mpa-garching.mpg.de> (Heinz-Ado Arnolds's message of "Thu, 1 Dec 2016 11:22:47 +0100")

On Dez 01 2016, Heinz-Ado Arnolds <arnolds@MPA-Garching.MPG.DE> wrote:

> E.g.: when I specify the strings
>
> Rename from (regexp): \([0-9][0-0]\) \(.+\)
> Rename \([0-9][0-0]\) \(.+\) to: \,(+ \#1 3) \2
>
> I get the message
>
> "Invalid use of '\' in replacement text"

dired-do-rename-regexp does not support \,, only \N and \&.  Try using
Wdired instead (C-x C-q).

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



      reply	other threads:[~2016-12-01 16:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-01 10:22 Emacs dired mode / dired-do-rename-regexp Heinz-Ado Arnolds
2016-12-01 16:44 ` Andreas Schwab [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=mvmr35rmwer.fsf@hawking.suse.de \
    --to=schwab@suse.de \
    --cc=arnolds@MPA-Garching.MPG.DE \
    --cc=emacs-devel@gnu.org \
    --cc=sk@thp.uni-koeln.de \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.