Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion bug#12394: 24.2.50; wdired: error when wdired-use-interactive-rename is non-nil

Received: by 10.66.89.225 with SMTP id br1mr3619023pab.3.1347388832375;
        Tue, 11 Sep 2012 11:40:32 -0700 (PDT)
Path: a8ni10048350pbd.1!nntp.google.com!news.glorb.com!usenet.stanford.edu!not-for-mail
From: Michael Heerdegen <michael_heerde...@web.de>
Newsgroups: gnu.emacs.bug
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
Lines: 54
Sender: debbugs-submit-boun...@debbugs.gnu.org
Approved: bug-gnu-em...@gnu.org
Message-ID: <mailman.8667.1347388831.855.bug-gnu-emacs@gnu.org>
References: <87392re0su.fsf@web.de>
NNTP-Posting-Host: lists.gnu.org
Mime-Version: 1.0
X-Trace: usenet.stanford.edu 1347388832 15930 208.118.235.17 (11 Sep 2012 18:40:32 GMT)
X-Complaints-To: action@cs.stanford.edu
To: 12...@debbugs.gnu.org
Envelope-to: bug-gnu-em...@gnu.org
X-Loop: help-debb...@gnu.org
Resent-From: Michael Heerdegen <michael_heerde...@web.de>
Original-Sender: debbugs-submit-boun...@debbugs.gnu.org
Resent-CC: bug-gnu-em...@gnu.org
Resent-Date: Tue, 11 Sep 2012 18:41:02 +0000
Resent-Message-ID: <handler.12394.B12394.134738883226...@debbugs.gnu.org>
Resent-Sender: help-debb...@gnu.org
X-GNU-PR-Message: followup 12394
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
In-Reply-To: <87392re0su.fsf@web.de> (Michael Heerdegen's message of "Sun, 09
	Sep 2012 16:19:29 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)
X-Provags-ID: V02:K0:itsxwn1fX3VEvW4qWRPVo73V1DjE0eJGgFz2OsbYLud
	hQlY2RVUeuvoCJ9IdHwEyD+LunXJ4lPJvuWUNwDTqfLXZ9VunP
	7C4Q3Q+SIG6DXJz5xIm9eAXcP7b6yzuf0dDg7QVmo5PashuxNa
	yTpJlv+MKWJutSjZ8c8olTaArz4L4/rni9vr+GtQIG+N6BN3Tq
	2//4ASHy0brMz2lVVYKlukQpcJHgU6gSLGzvirNMhA=
X-BeenThere: debbugs-sub...@debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
Errors-To: debbugs-submit-boun...@debbugs.gnu.org
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.43
X-BeenThere: bug-gnu-em...@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-requ...@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-em...@gnu.org>
List-Help: <mailto:bug-gnu-emacs-requ...@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-requ...@gnu.org?subject=subscribe>
Content-Type: text/plain

Michael Heerdegen <michael_heerde...@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.