unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: 12394@debbugs.gnu.org
Subject: bug#12394: 24.2.50; wdired: error when wdired-use-interactive-rename is non-nil
Date: Tue, 11 Sep 2012 20:40:26 +0200	[thread overview]
Message-ID: <86627k7691.fsf@web.de> (raw)
In-Reply-To: <87392re0su.fsf@web.de> (Michael Heerdegen's message of "Sun, 09 Sep 2012 16:19:29 +0200")

Michael Heerdegen <michael_heerdegen@web.de> writes:

> when you have set `wdired-use-interactive-rename' to non-nil, and you
> add something to the front of a filename when in wdired-mode, you get
> an error after hitting C-c C-c.

But wait.  There are many more problems with
`wdired-use-interactive-rename' non-nil.

All in emacs -Q:

1.  When I hit ! at the prompt after hitting C-c C-c to perform changes,
this has not the desired effect.  Emacs still asks me one time for every
remaining renaming action.

2.  If I hit n when Emacs prompts, I get this error:

dired-create-files: No buffer named *Dired log*

3.  I also noticed that `wdired-use-interactive-rename' non-nil is not
usable at all when circular renamings are to be done.  You end up with
files renamed to a temporary name.  E.g. try to switch the names of two
files, and see what you get.

To sum up, setting `wdired-use-interactive-rename' to a non-nil value
breaks many many things.

I also think that the questions you would get when performing circular
renamings would confuse many users, if we would get it work.

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.  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?


Thanks,

Michael.






  reply	other threads:[~2012-09-11 18:40 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 [this message]
2016-01-29 18:16   ` Marcin Borkowski
2016-02-02 12:08     ` martin rudalics
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=86627k7691.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=12394@debbugs.gnu.org \
    /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).