From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71264: 30.0.50; Dired deletion moves point under auto-revert Date: Fri, 07 Jun 2024 12:11:04 +0200 Message-ID: <87r0d9m5af.fsf@ledu-giraud.fr> 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> <868qzlluj5.fsf@gnu.org> <87wmn5vlsg.fsf@ledu-giraud.fr> <867cf4lr6d.fsf@gnu.org> <878qzko5af.fsf@ledu-giraud.fr> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38311"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: basil@contovou.net, 71264@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 07 12:51:39 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 1sFXC7-0009ah-Aq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Jun 2024 12:51:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFX1g-0006eA-J3; Fri, 07 Jun 2024 06:40:52 -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 1sFX1c-0006dY-3z for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2024 06:40:48 -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 1sFX1a-0002yE-LO for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2024 06:40:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFX1p-0004NR-O4 for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2024 06:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Jun 2024 10:41: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.171775682516712 (code B ref 71264); Fri, 07 Jun 2024 10:41:01 +0000 Original-Received: (at 71264) by debbugs.gnu.org; 7 Jun 2024 10:40:25 +0000 Original-Received: from localhost ([127.0.0.1]:45358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFX1D-0004LK-Lz for submit@debbugs.gnu.org; Fri, 07 Jun 2024 06:40:24 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:28600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFWZ8-0002sf-ID for 71264@debbugs.gnu.org; Fri, 07 Jun 2024 06:11:24 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=gd0K88QF P8IxrxY6m2QzZZqpUvnuyI/UFSB18pl+zoA=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=FhbqhK/q/mbAc7bDzW6iYWdu+0AwRZ eX+Nhjz4YZ4LuBMLbBR4e1RL4cZbEBOFlS/i8NMuj2gNHSwSi6vfD8BA== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=gd0K88QFP8IxrxY6 m2QzZZqpUvnuyI/UFSB18pl+zoA=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=Q+0AnRbJoXsPES9A8BbBd81qJbSj+Id2f6opj2 SAnl6J4zkMrJ/eZZhQ011IAwoxwY1tXqqd89B9rK7zaCE1zO/KTkz9wEsXvGAGSTlrzVNx SA4OhldaKPkv4gGdm5dYKNycPfKn1z300+0stM3UIWzb0jAz7s+P5noE7Vt/4hlM+yb6EJ ZnerQuSEIWlK8T94vLS5yaZRnINCbpopTGFc/LtOaRZIddnL5GT1Bv6mbXy6fe+XgFTpLm cjdGYjxq+EfJbW9GdwQPO6fFSsqgTirPMLJZ0mzOhobU9/q7l2BGVz8zhffFkHALwz+s/P 23H0mdIkPTlhT3t4ytjK8EWw== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 800fc43f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 7 Jun 2024 12:11:05 +0200 (CEST) In-Reply-To: <878qzko5af.fsf@ledu-giraud.fr> (Manuel Giraud's message of "Tue, 04 Jun 2024 21:51:20 +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:286756 Archived-At: Hi, There was a discussion that seems to be related to this issue in bug#33458. And here's something that Martin Rudalics said at the time: --8<---------------cut here---------------start------------->8--- >> Maybe for dired store meta-information such as dired-filename >> in window parameters. Then when a dired buffer is restored in a window, >> and dired-revert moved point-marker to the beginning of the dired buffer, >> move point to the file from the window parameter. > > What if file referenced by such `dired-filename' was deleted? It is > desirable to move to next or prev. filename but not to stay in the > beginning of the dired buffer. These others may have been deleted as well so I think that remaining at the beginning of the dired buffer is more predictable here. Note also that the next or previous filename may depend on the order in which filenames are shown - what if reverting changed that order? --8<---------------cut here---------------end--------------->8--- -- Manuel Giraud