From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#74700: [PATCH] Revert Dired buffer when clicking on last segment of directory name Date: Thu, 05 Dec 2024 19:56:17 +0200 Organization: LINKOV.NET Message-ID: <87ttbidnem.fsf@mail.linkov.net> References: <874j3iodzb.fsf@gmail.com> <86ttbiy5na.fsf@gnu.org> <87zflamt6j.fsf@gmail.com> <86frn2y10v.fsf@gnu.org> <8734j2y02t.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17648"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: Eli Zaretskii , 74700@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 05 19:02:18 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 1tJGB6-0004NO-Id for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Dec 2024 19:02:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJGAu-00078t-Py; Thu, 05 Dec 2024 13:02:04 -0500 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 1tJGAt-00078V-CF for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 13:02:03 -0500 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 1tJGAt-0005Y7-2X for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 13:02:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=79BvjDjojo11jIPfuY4xjVgmMz8g7LqbfBSEBpDWC/I=; b=BOwO1C04F5cDqab8poBXLxSNcfgVkY8a415PhjHX2g+rB7dFFTAjEXqoSfUb/frDAP0Ggh1T3iwSH4ck8q59CXJUlTl6wH3PUHPKRGAsDan+TU+Q2X3xY31EzP5zrnTbZD3sQNgV9+cPcC41wi0m3K1URBgMgrhuYjvXskc4mxmQ2gSoLihJd6FtXZNdiRF6vfyaPTkxE2V7Ar2YHfgzidfbAIBWm4YSvUxLQcq1mDFVUntPUHNNXdwnzRXC6+apUZF/1OlBjhUGSZZ8GHy8FCOJ1X3f8CFhxbffvtIV7iP34FyCFLHdOaSxDTT33gOiWrNOKnemgWZoYxOfdkEO9w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJGAs-0002OI-TL for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 13:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Dec 2024 18:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74700 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74700-submit@debbugs.gnu.org id=B74700.17334216989125 (code B ref 74700); Thu, 05 Dec 2024 18:02:02 +0000 Original-Received: (at 74700) by debbugs.gnu.org; 5 Dec 2024 18:01:38 +0000 Original-Received: from localhost ([127.0.0.1]:40648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJGAT-0002N7-Vf for submit@debbugs.gnu.org; Thu, 05 Dec 2024 13:01:38 -0500 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:49009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJGAS-0002Me-Ji for 74700@debbugs.gnu.org; Thu, 05 Dec 2024 13:01:37 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 2F7D2C0005; Thu, 5 Dec 2024 18:01:08 +0000 (UTC) In-Reply-To: <8734j2y02t.fsf@gmail.com> (Visuwesh's message of "Thu, 05 Dec 2024 14:32:18 +0530") X-GND-Sasl: juri@linkov.net 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:296476 Archived-At: > but I think clicking on 'emacs' to open the Dired buffer for > ~/lib/ports/emacs is also a good option. Indeed, opening the Dired buffer would be better instead of directly refreshing the buffer. To force the directory to refresh, you can call dired with: (let ((dired-auto-revert-buffer t)) (dired "/..."))