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: Mon, 03 Jun 2024 22:02:06 +0300 Message-ID: <868qzlluj5.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> <86h6eco86x.fsf@gnu.org> <87h6eb75lg.fsf@epfl.ch> <86ed9fmkqm.fsf@gnu.org> <87sexv5lcw.fsf@epfl.ch> <877cf5x3gl.fsf@ledu-giraud.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40137"; 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 Mon Jun 03 21:03:31 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 1sECxv-000ACC-5n for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Jun 2024 21:03:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sECxJ-0000UR-Hz; Mon, 03 Jun 2024 15:02:53 -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 1sECxF-0000U0-IL for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2024 15:02:49 -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 1sECxE-0007Qq-Uo for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2024 15:02:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sECxR-0006w4-T7 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2024 15:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jun 2024 19:03:01 +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.171744135426602 (code B ref 71264); Mon, 03 Jun 2024 19:03:01 +0000 Original-Received: (at 71264) by debbugs.gnu.org; 3 Jun 2024 19:02:34 +0000 Original-Received: from localhost ([127.0.0.1]:55677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sECx0-0006uz-8W for submit@debbugs.gnu.org; Mon, 03 Jun 2024 15:02:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sECww-0006uh-PF for 71264@debbugs.gnu.org; Mon, 03 Jun 2024 15:02:33 -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 1sECwc-0006RE-H4; Mon, 03 Jun 2024 15:02:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Gf2b5/fhIekbdJYSX2U2b9eKEk+K6Cmd1oPHKTHtnDs=; b=dCrRJ/3ilw2AMQjXYyMs +7tHax7tOyWsS9cnq3cQqXKtb3AIx+GUdntbJgcAS/xcldEsNkpdNZCcgBJyY3gf7sRCZWaLYE2lK hwt0UEngE0RXE6GQEow4cdLMYrHBFmMOD62/FZqdnB4UFwlws/wBNS1otOqmAoDZX2p7fONor5O9h w8+h30KX7thtVVU8IOM+SS3R2WO1OMkcrc/Yibd7sTwFMims3f+gdevczqlo9vClnNzJa/162X1JY dNBdLPPM1LYxwthnIBBQBoneRBJMCkGhLys1mgRZ6bYrZPQ36SmkPHqsG8Fg6mwmeqKnTOyzZVvXf 6HAMuB59gFc+4w==; In-Reply-To: <877cf5x3gl.fsf@ledu-giraud.fr> (message from Manuel Giraud on Mon, 03 Jun 2024 20:53:46 +0200) 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:286487 Archived-At: > From: Manuel Giraud > Cc: Eli Zaretskii , 71264@debbugs.gnu.org > Date: Mon, 03 Jun 2024 20:53:46 +0200 > > >> What I don't understand is two things: > >> > >> . why the fact that "foo"s buffer was reverted affects Dired, [...] > >> . why the effect is to move point to BOB? > > > > I suspect answering these is tantamount to fixing the bug. > > This I'm not sure and I have to check. But it seems that dired keeps > the information of « what is the current file name » and go there after > having reverted the content. If it is not found, the point stays at > BOB. So how does Dired DTRT when you simply delete a file at point? Why doesn't it go to BOB in that case?