GNU bug report logs - #48805
27.2; dired-mode moves point to wrong positions while deleting non-empty directories

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

Date: Thu, 3 Jun 2021 07:21:01 UTC

Severity: normal

Found in version 27.2

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 48805 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: ynyaaa <at> gmail.com, 48805 <at> debbugs.gnu.org
Subject: Re: bug#48805: 27.2; dired-mode moves point to wrong positions
 while deleting non-empty directories
Date: Fri, 04 Jun 2021 12:02:16 +0200
Stephen Berman <stephen.berman <at> gmx.net> writes:

> 	* lisp/dired.el (dired-do-flagged-delete, dired-do-delete): Use
> 	point-marker instead of point to record each file name position.
> 	Clean up the markers before returning.
> 	(dired-internal-do-deletions): Move to the file name marker, and
> 	then move point to the file name to visually emphasize which file
> 	is being operated on.

Looks good to me, so I've applied it to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 358 days ago.

Previous Next


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