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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>
Cc: basil <at> contovou.net, 71264 <at> debbugs.gnu.org
Subject: Re: bug#71264: 30.0.50; Dired deletion moves point under auto-revert
Date: Sat, 01 Jun 2024 20:59:34 +0300
> Cc: 71264 <at> debbugs.gnu.org
> Date: Sat, 01 Jun 2024 19:19:12 +0200
> From:  Manuel Giraud via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> It seems to me that the 'y-or-n-p' call gives the opportunity of a time
> window for the dired buffer to be reverted.

Yes, of course.  When Emacs waits for keyboard input, the
file-notification events are accepted and acted upon.

> But then, when this revert happen the file "foo" has already
> disappeared so it cannot be found and the point ends up at the BOB.

Can you explain why the disappearance of "foo" causes point to be
positioned at BOB?

> I don't know how to prevent this yet.

I'm not sure I understand why we need to prevent that.




This bug report was last modified 1 year and 20 days ago.

Previous Next


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