From unknown Thu Sep 11 20:49:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23355 <23355@debbugs.gnu.org> To: bug#23355 <23355@debbugs.gnu.org> Subject: Status: list-buffers should also show directories using ~ Reply-To: bug#23355 <23355@debbugs.gnu.org> Date: Fri, 12 Sep 2025 03:49:02 +0000 retitle 23355 list-buffers should also show directories using ~ reassign 23355 emacs submitter 23355 =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson severity 23355 minor tag 23355 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 24 08:32:18 2016 Received: (at submit) by debbugs.gnu.org; 24 Apr 2016 12:32:18 +0000 Received: from localhost ([127.0.0.1]:44561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auJD0-0006qz-2n for submit@debbugs.gnu.org; Sun, 24 Apr 2016 08:32:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auJCz-0006qn-68 for submit@debbugs.gnu.org; Sun, 24 Apr 2016 08:32:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auJCt-0008Gt-9y for submit@debbugs.gnu.org; Sun, 24 Apr 2016 08:32:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auJCt-0008Gp-70 for submit@debbugs.gnu.org; Sun, 24 Apr 2016 08:32:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auJCs-0000qz-8n for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2016 08:32:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auJCn-0008Gd-7s for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2016 08:32:10 -0400 Received: from homie.mail.dreamhost.com ([208.97.132.208]:43267 helo=homiemail-a6.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auJCm-0008GZ-WB for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2016 08:32:05 -0400 Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id 113C1598070 for ; Sun, 24 Apr 2016 05:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=I8qcgvHYkAbXEI7VXe8/E70/nfg=; b=IMsda4NT4/3Zrkm8 XIHAm4uhAyYs9lKg8l035vxs0cwEoPzcKBBCL4ycr2vh8RM/vzaHsjzJjCfqXTGy 1R3gZCE4mylhtA+C+YXXHYP47UCX+0w/TVXbzn5tTnvKvSIPCgI7pvUpY9E2F8KT zZRsvtEoRxGC9XgqvwWGtFuECCs= Received: from jidanni.org (111-246-84-203.dynamic.hinet.net [111.246.84.203]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTPSA id C2E2D59806C for ; Sun, 24 Apr 2016 05:31:57 -0700 (PDT) From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: bug-gnu-emacs Subject: list-buffers should also show directories using ~ Date: Sun, 24 Apr 2016 20:31:54 +0800 Message-ID: <8737qbtcg5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) C-x C-b runs the command list-buffers, which is an interactive compiled Lisp function in `buff-menu.el'. It seems to me it shows things inconsistently, minimal_data_usage/Makefile 1664 GNUmakefile ~/android/minimal_data_usage/Makefile % minimal_data_usage 598 Dired by date /home/jidanni/android/minimal_data_usage/ s.cgi 1088 Shell-script[... ~/android/minimal_data_usage/s.cgi other/Makefile 494 GNUmakefile ~/facebook/messages/other/Makefile % other 263 Dired by name /home/jidanni/facebook/messages/other/ Directories are not shown with ~/, only files are. emacs-version "24.5.1" From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 28 11:30:55 2019 Received: (at 23355) by debbugs.gnu.org; 28 Jul 2019 15:30:55 +0000 Received: from localhost ([127.0.0.1]:47018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrl8Q-0000GE-Sn for submit@debbugs.gnu.org; Sun, 28 Jul 2019 11:30:55 -0400 Received: from quimby.gnus.org ([80.91.231.51]:57556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrl8P-0000E0-5z for 23355@debbugs.gnu.org; Sun, 28 Jul 2019 11:30:54 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrl8L-0005E9-0G; Sun, 28 Jul 2019 17:30:51 +0200 From: Lars Ingebrigtsen To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Subject: Re: bug#23355: list-buffers should also show directories using ~ References: <8737qbtcg5.fsf@jidanni.org> Date: Sun, 28 Jul 2019 17:30:48 +0200 In-Reply-To: <8737qbtcg5.fsf@jidanni.org> (=?utf-8?B?IuepjeS4ueWwvA==?= Dan Jacobson"'s message of "Sun, 24 Apr 2016 20:31:54 +0800") Message-ID: <87zhky9nx3.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 積丹尼 Dan Jacobson writes: > C-x C-b runs the command list-buffers, which is an interactive > compiled Lisp function in `buff-menu.el'. > > It seems to me it shows things inconsistently, > > minimal_data_usage/Makefile 1664 GNU [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 23355 Cc: 23355@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > C-x C-b runs the command list-buffers, which is an interactive > compiled Lisp function in `buff-menu.el'. > > It seems to me it shows things inconsistently, > > minimal_data_usage/Makefile 1664 GNUmakefile ~/andr= oid/minimal_data_usage/Makefile > % minimal_data_usage 598 Dired by date /home/= jidanni/android/minimal_data_usage/ > s.cgi 1088 Shell-script[... ~/andr= oid/minimal_data_usage/s.cgi > other/Makefile 494 GNUmakefile ~/face= book/messages/other/Makefile > % other 263 Dired by name /home/= jidanni/facebook/messages/other/ > > Directories are not shown with ~/, only files are. Let's see... it's this slightly cryptic little function: (defun Buffer-menu--pretty-file-name (file) (cond (file (abbreviate-file-name file)) ((bound-and-true-p list-buffers-directory)) (t ""))) The second clause there returns this: "/home/larsi/src/emacs/trunk/lisp/" which, as we can see, is not abbreviated. I've now changed it on the trunk to abbreviate these, too. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 28 11:30:59 2019 Received: (at control) by debbugs.gnu.org; 28 Jul 2019 15:30:59 +0000 Received: from localhost ([127.0.0.1]:47021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrl8V-0000KL-5T for submit@debbugs.gnu.org; Sun, 28 Jul 2019 11:30:59 -0400 Received: from quimby.gnus.org ([80.91.231.51]:57570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrl8T-0000Ih-Od for control@debbugs.gnu.org; Sun, 28 Jul 2019 11:30:58 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrl8R-0005EJ-7o for control@debbugs.gnu.org; Sun, 28 Jul 2019 17:30:57 +0200 Date: Sun, 28 Jul 2019 17:30:54 +0200 Message-Id: <87y30i9nwx.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #23355 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 23355 fixed close 23355 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 23355 fixed close 23355 27.1 quit From unknown Thu Sep 11 20:49:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 26 Aug 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator