From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: Sorting buffers with ibuffer Date: Sun, 23 Nov 2008 03:39:41 +0100 Message-ID: References: <868f7753-ea47-4f70-9152-ae1a4ee62a6a@r40g2000yqj.googlegroups.com> <80823b7e-19ca-4522-a20a-de9db9cbc3c8@j38g2000yqa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227408010 3923 80.91.229.12 (23 Nov 2008 02:40:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Nov 2008 02:40:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: z0d Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 23 03:41:13 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L44uP-0001d3-AM for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Nov 2008 03:41:13 +0100 Original-Received: from localhost ([127.0.0.1]:55036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L44tG-0001f3-2A for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Nov 2008 21:40:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L44sw-0001ex-Vp for help-gnu-emacs@gnu.org; Sat, 22 Nov 2008 21:39:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L44sw-0001ej-Mg for help-gnu-emacs@gnu.org; Sat, 22 Nov 2008 21:39:42 -0500 Original-Received: from [199.232.76.173] (port=58272 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L44sw-0001eg-Eb for help-gnu-emacs@gnu.org; Sat, 22 Nov 2008 21:39:42 -0500 Original-Received: from yw-out-1718.google.com ([74.125.46.157]:42614) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L44sw-0001Ga-64 for help-gnu-emacs@gnu.org; Sat, 22 Nov 2008 21:39:42 -0500 Original-Received: by yw-out-1718.google.com with SMTP id 9so705783ywk.66 for ; Sat, 22 Nov 2008 18:39:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=swKnHnTWV2LIrd7iebwBPO0xnxNDMCK4XspyJFS7j5g=; b=EbNC3ouShPLgIm6LGEFGjSqIGQj7uFPgKZAk1AwEvCMnW0fe9iNNXIEiaUg8RhD5kI O3hlJHSs9VXYWASZN72sKB/lZdODHcnS+pSb9/smxUcsSSFoYJDBYTNLHFTpSES80jtj w3/h3GAhgIzIpPS6b+a+N7DoG4+aHHHJALcGQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uJzOfRIthSNBe4xaY4CVybeyuD3VTrXhR0peYLs0IpZEhHoeCNaOSEGYEQLnlzOfeG kW0vIDTQi65mn7zp9huvUiG9xv7YUmN8HG0DIPBxZVxJ3kfAVkP+UBfJISuKFSWZJMkm 3oVWJUGOa8DKDcdxjgPtBthfP+hKMnsuB1KcY= Original-Received: by 10.100.166.10 with SMTP id o10mr957067ane.126.1227407981257; Sat, 22 Nov 2008 18:39:41 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Sat, 22 Nov 2008 18:39:41 -0800 (PST) In-Reply-To: <80823b7e-19ca-4522-a20a-de9db9cbc3c8@j38g2000yqa.googlegroups.com> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60031 Archived-At: On Fri, Nov 21, 2008 at 19:36, z0d wrote: >> I'm trying to sort my buffers by major-mode with ibuffer, but it seems >> like it doesn't work. > > Sorry, I forget to mention that I'm using CVS Emacs, updated today. Could you show us an example? In a recently started Emacs, with several buffers loaded through desktop.el, doing M-: (setq-default ibuffer-default-sorting-mode 'major-mode) M-x ibuffer produces: MR Name Size Mode Filename/Process -- ---- ---- ---- ---------------- [ Default ] emacsclient.c 39732 C/lah c:/emacs/lib-src/emacsclient.c misc/ChangeLog 169122 Change Log c:/emacs/doc/misc/ChangeLog lisp/ChangeLog 595040 Change Log c:/emacs/lisp/ChangeLog bs.el 56668 Emacs-Lisp c:/emacs/lisp/bs.el server.el 52641 Emacs-Lisp c:/emacs/lisp/server.el % init.el 79607 Emacs-Lisp ~/.emacs.d/init.el * *Messages* 372 Fundamental % *server* 0 Fundamental % *info* 280500 Info *scratch* 0 Lisp Interaction which is correctly sorted by major-mode Juanma