From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71264: 30.0.50; Dired deletion moves point under auto-revert Date: Sat, 01 Jun 2024 20:59:34 +0300 Message-ID: <86h6eco86x.fsf@gnu.org> References: <87zfs8waqx.fsf@epfl.ch> <87mso61g92.fsf@ledu-giraud.fr> <87ikyu1fo5.fsf@ledu-giraud.fr> <87sexygp0t.fsf@epfl.ch> <874jactwbz.fsf@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24641"; mail-complaints-to="usenet@ciao.gmane.io" Cc: basil@contovou.net, 71264@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 01 20:00:22 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sDT1i-0006Eb-9c for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jun 2024 20:00:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDT1M-0001YV-OY; Sat, 01 Jun 2024 14:00:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sDT1F-0001Xl-Qi for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2024 13:59:54 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sDT1D-00056J-Fr for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2024 13:59:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDT1P-0004K5-2g for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2024 14:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jun 2024 18:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71264 X-GNU-PR-Package: emacs Original-Received: via spool by 71264-submit@debbugs.gnu.org id=B71264.171726480116599 (code B ref 71264); Sat, 01 Jun 2024 18:00:03 +0000 Original-Received: (at 71264) by debbugs.gnu.org; 1 Jun 2024 18:00:01 +0000 Original-Received: from localhost ([127.0.0.1]:57354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDT1N-0004JK-Dx for submit@debbugs.gnu.org; Sat, 01 Jun 2024 14:00:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDT1L-0004J7-Gl for 71264@debbugs.gnu.org; Sat, 01 Jun 2024 14:00:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sDT10-00054H-VZ; Sat, 01 Jun 2024 13:59:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=qcDzw0K9QAFCAeMBslP2NFwa5seVspxcEDYzcaxR0wk=; b=PnEmtYnRATYD RL2Job0fIaTdEI6EOnQHK0MgSjfHYRG/W47kvHsH18QG2N4iblKD9sdh4cY2Z3RByDOuxz7+N2B6L C6Ne2FvxUA+vgEuo3AGArxC/PEljHJZi28DGuU2EE6a/t5eeHnZj85Ofc5Yjq2SG546wJGxGQHb85 lwzy/wHDAxMGR1Ew0nYDFyKDNPmfj2CdxXK2VO4ngKBiZrGqLrMLnDmeyKaYW9ZLjmrQTKSjFxdhA Ab7TmKLiHaRMHJUFlT/2JRFa55ETWWHNOJ+k0LOQ2PP6h7pydJzHpqXS0axKPyLLQhRWDlF4QhEAQ uv4tnxpT2IooDDiBCpbk1Q==; In-Reply-To: <874jactwbz.fsf@ledu-giraud.fr> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286341 Archived-At: > Cc: 71264@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" > > 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.