unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Sorting buffers with ibuffer
@ 2008-11-21 18:07 z0d
  2008-11-21 18:36 ` z0d
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: z0d @ 2008-11-21 18:07 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,


I'm trying to sort my buffers by major-mode with ibuffer, but it seems
like it doesn't work.

I started Emacs with '-q' and then evaluated the following two lines:

(require 'ibuffer)
(setq-default ibuffer-default-sorting-mode 'major-mode)

When I do M-x ibuffer my buffers are sort by 'recency' (the default),
but the mode-line tells me 'Ibuffer by major-mode'. When I evalute
ibuffer-default-sorting-mode it's 'major-mode' as it should be. If I
cycle the sorting mode with ',' the sorting works fine thereafter. Am
I missing something?

By the way, what's the difference between 'major-mode' and 'mode-
name'? 'mode-name' isn't mentioned in the documentation, but if I
cycle through sorting modes with ',' I see it on the mode-line.

Thank you in advance.


Regards,
Peter.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-11-26 18:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-21 18:07 Sorting buffers with ibuffer z0d
2008-11-21 18:36 ` z0d
2008-11-23  2:39   ` Juanma Barranquero
     [not found]   ` <mailman.1052.1227407986.26697.help-gnu-emacs@gnu.org>
2008-11-26  3:29     ` z0d
2008-11-26 10:28       ` Juanma Barranquero
     [not found]       ` <mailman.1281.1227695324.26697.help-gnu-emacs@gnu.org>
2008-11-26 18:21         ` z0d
2008-11-22  3:07 ` Kevin Rodgers
     [not found] ` <mailman.990.1227323256.26697.help-gnu-emacs@gnu.org>
2008-11-23 11:45   ` z0d

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).