From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#35049: 25.1; ibuffer-do-sort-by-filename does not sort all buffers Date: Sat, 30 Mar 2019 18:00:19 +0300 Message-ID: <83d0m8if0c.fsf@gnu.org> References: Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="133921"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35049@debbugs.gnu.org To: Axel Svensson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 30 16:01:40 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hAFUH-000Yhm-B9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Mar 2019 16:01:37 +0100 Original-Received: from localhost ([127.0.0.1]:57617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAFUG-0007nN-6y for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Mar 2019 11:01:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAFUA-0007nG-8H for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2019 11:01:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hAFTx-0000mj-MW for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2019 11:01:24 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52197) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hAFTi-0000hv-8k for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2019 11:01:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hAFTh-0003hB-S0 for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2019 11:01: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: Sat, 30 Mar 2019 15:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35049 X-GNU-PR-Package: emacs Original-Received: via spool by 35049-submit@debbugs.gnu.org id=B35049.155395804314173 (code B ref 35049); Sat, 30 Mar 2019 15:01:01 +0000 Original-Received: (at 35049) by debbugs.gnu.org; 30 Mar 2019 15:00:43 +0000 Original-Received: from localhost ([127.0.0.1]:37508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAFTP-0003gX-5I for submit@debbugs.gnu.org; Sat, 30 Mar 2019 11:00:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAFTN-0003gL-AW for 35049@debbugs.gnu.org; Sat, 30 Mar 2019 11:00:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAFT3-0000XL-0I; Sat, 30 Mar 2019 11:00:24 -0400 Original-Received: from [176.228.60.248] (port=1243 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hAFSx-0006Tj-JS; Sat, 30 Mar 2019 11:00:19 -0400 In-reply-to: (message from Axel Svensson on Sat, 30 Mar 2019 13:36:08 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:156951 Archived-At: > From: Axel Svensson > Date: Sat, 30 Mar 2019 13:36:08 +0000 > > To reproduce: > 1) In a shell, run: mkdir ~/dir-a ~/dir-b ~/dir-c > 2) In a shell, run: touch ~/dir-a/filea1 ~/dir-c/filec1 ~/dir-c/filc2 > 3) find-file ~/a and enter 20 characters in this buffer. > 4) find-file ~/c and enter 30 characters in this buffer. > 5) find-file ~/b and enter 10 characters in this buffer. > 6) find-file ~/dir-a > 7) find-file ~/dir-c > 8) find-file ~/dir-b > 9) M-x ibuffer. You should see three Fundamental buffers named a, b, > and c, as well as three "Dired by name" buffers named dir-a, dir-b > and dir-c. > 10) Press s s > 11) The modeline says "IBuffer by size", and the buffers are ordered by > size, i.e. b,a,c,dir-b,dir-a,dir-c. > 12) Press s f > 13) The modeline says "IBuffer by filename/process", but not all the > buffers are ordered. The Fundamental buffers are ordered a,b,c > correctly, but the Dired buffers are ordered dir-b,dir-a,dir-c as > before pressing s f. Dired buffers have the buffer-file-name as nil, which is why their order is not changed by "s f".