GNU bug report logs - #32173
26.1; wdired: broken 'wdired-use-interactive-rename'

Previous Next

Package: emacs;

Reported by: Enrico Scholz <enrico.scholz <at> ensc.de>

Date: Mon, 16 Jul 2018 13:30:02 UTC

Severity: normal

Found in version 26.1

Done: Stephen Berman <stephen.berman <at> gmx.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: stephen.berman <at> gmx.net
Cc: 32173 <at> debbugs.gnu.org, enrico.scholz <at> ensc.de
Subject: bug#32173: 26.1; wdired: broken 'wdired-use-interactive-rename'
Date: Sat, 21 Jul 2018 15:19:36 +0300
> Date: Sat, 21 Jul 2018 15:06:19 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 32173 <at> debbugs.gnu.org, enrico.scholz <at> ensc.de
> 
> > AFAICT this patch avoids the bug and is simpler than the fix I proposed
> > (https://lists.gnu.org/archive/html/bug-gnu-emacs/2018-07/msg00602.html).
> > But with the above patch, if the user types C-g when prompted to make
> > the replacement, the file name is left partly or wholely without the
> > dired-filename text property.  I'm not sure if that's a problem, that's
> > why in my patch I restored the property.  I note the current buggy code
> > has the same issue.
> 
> Right.  But I think we had better did this more thoroughly, so I think
> your solution (which I somehow managed to miss) is better.  Please
> wait for a few days and push to emacs-26 if no problems are reported
> with your patch.

Btw, what happens in the non-interactive rename case, wrt the
dired-filename property?  If the renamed file is left with part of it
covered by that property, we may have a broader problem in wdired.el.




This bug report was last modified 6 years and 349 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.