unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: z0d <peter.barabas@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Sorting buffers with ibuffer
Date: Fri, 21 Nov 2008 10:07:56 -0800 (PST)	[thread overview]
Message-ID: <868f7753-ea47-4f70-9152-ae1a4ee62a6a@r40g2000yqj.googlegroups.com> (raw)

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.


             reply	other threads:[~2008-11-21 18:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-21 18:07 z0d [this message]
2008-11-21 18:36 ` Sorting buffers with ibuffer 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=868f7753-ea47-4f70-9152-ae1a4ee62a6a@r40g2000yqj.googlegroups.com \
    --to=peter.barabas@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).