unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: z0d <peter.barabas@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Sorting buffers with ibuffer
Date: Sun, 23 Nov 2008 03:39:41 +0100	[thread overview]
Message-ID: <f7ccd24b0811221839u77da6ce4n33a541a792a27c1d@mail.gmail.com> (raw)
In-Reply-To: <80823b7e-19ca-4522-a20a-de9db9cbc3c8@j38g2000yqa.googlegroups.com>

On Fri, Nov 21, 2008 at 19:36, z0d <peter.barabas@gmail.com> 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) <RET>
 M-x ibuffer <RET>

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




  reply	other threads:[~2008-11-23  2:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-21 18:07 Sorting buffers with ibuffer z0d
2008-11-21 18:36 ` z0d
2008-11-23  2:39   ` Juanma Barranquero [this message]
     [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=f7ccd24b0811221839u77da6ce4n33a541a792a27c1d@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=peter.barabas@gmail.com \
    /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).