unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Marcin Borkowski <mbork@mbork.pl>,
	Michael Heerdegen <michael_heerdegen@web.de>
Cc: 12394@debbugs.gnu.org
Subject: bug#12394: 24.2.50; wdired: error when wdired-use-interactive-rename is non-nil
Date: Tue, 02 Feb 2016 13:08:58 +0100	[thread overview]
Message-ID: <56B09C5A.9030007@gmx.at> (raw)
In-Reply-To: <87mvroi73g.fsf@wmi.amu.edu.pl>

 >> In general, IMHO `wdired-use-interactive-rename' is not very useful at
 >> all.  I never used it, and the fact that all these problems were never
 >> reported by anyone before indicates that not many people are using it.
 >>
 >> I suggest to remove it completely.

IIUC this was broken by the introduction of the 'dired-filename' text
property.  There's hardly anything reasonable we can do about this.
That property should be front-sticky but wdired removes all text
properties it creates before doing the renaming so this seems hardly
reliable.

So we probably should obsolete ‘wdired-use-interactive-rename’ and not
call ‘wdired-search-and-rename’ any more in ‘wdired-do-renames’ in the
Emacs-25 branch.

 >> Instead, it would be better to
 >> ask the user in a way similar to e.g. C in dired, like
 >>
 >> Really perform these renamings?
 >>
 >> a -> b
 >> b -> a
 >> file-x -> file-y
 >> ...
 >>
 >> But I'm open to other suggestions.  Any opinions?
 >
 > +1.

Sounds TRT to me too.

martin






  reply	other threads:[~2016-02-02 12:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-09 14:19 bug#12394: 24.2.50; wdired: error when wdired-use-interactive-rename is non-nil Michael Heerdegen
2012-09-11 18:40 ` Michael Heerdegen
2016-01-29 18:16   ` Marcin Borkowski
2016-02-02 12:08     ` martin rudalics [this message]
2016-01-29 18:15 ` Marcin Borkowski
2020-09-13 17:09 ` Lars Ingebrigtsen

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=56B09C5A.9030007@gmx.at \
    --to=rudalics@gmx.at \
    --cc=12394@debbugs.gnu.org \
    --cc=mbork@mbork.pl \
    --cc=michael_heerdegen@web.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).