GNU bug report logs - #71264
30.0.50; Dired deletion moves point under auto-revert

Previous Next

Package: emacs;

Reported by: "Basil L. Contovounesios" <basil <at> contovou.net>

Date: Wed, 29 May 2024 21:49:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: 71264 <at> debbugs.gnu.org
Cc: basil <at> contovou.net
Subject: bug#71264: 30.0.50; Dired deletion moves point under auto-revert
Date: Fri, 31 May 2024 11:42:02 +0200
Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> writes:

> "Basil L. Contovounesios" <basil <at> contovou.net> writes:
>
>> 0. emacs -Q
>> 1. M-: (add-hook 'dired-mode-hook #'auto-revert-mode) RET
>> 2. M-: (require 'dired-x) RET
>> 3. C-x d /tmp RET
>> 4. C-x C-f foo RET C-x C-s C-x C-j
>> 5. d x yes RET y
>>
>> Point is now at BOB instead of the line from which the file was deleted.
>> Both steps 1 and 2 are needed to reproduce.
>> Emacs 24.5 does not reproduce; 25.3 and 26.3 behave like 30.
>
> Hi Basil,
>
> I confirm the behaviour you observe on master.  I'm trying to track this
> down and it seems to come from the dired clean-up after a deletion.
>
> Customizing `dired-clean-up-buffers-too' to nil, fixes this issue for
> me.  Do you see the same?

BTW, customizing `dired-clean-confirm-killing-deleted-buffers' to nil
also solve this issue.
-- 
Manuel Giraud




This bug report was last modified 332 days ago.

Previous Next


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