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: Re: Sorting buffers with ibuffer
Date: Tue, 25 Nov 2008 19:29:25 -0800 (PST)	[thread overview]
Message-ID: <b6977a80-343d-4cf6-8b81-af8c8068abb4@j32g2000yqn.googlegroups.com> (raw)
In-Reply-To: mailman.1052.1227407986.26697.help-gnu-emacs@gnu.org

On Nov 23, 3:39 am, "Juanma Barranquero" <lek...@gmail.com> wrote:
>
> Could you show us  an example?
>

Yes:

shell: emacs -q .emacs .ssh/config .Emacs-lisp/init-lisp.el

M-: (setq-default ibuffer-default-sorting-mode 'major-mode) <RET>
M-x ibuffer <RET>

produces:

 MR Name                    Size Mode             Filename/Process
 -- ----                    ---- ----             ----------------
[ Default ]
    asdf-skeleton.el        1052 Emacs-Lisp       ~/.Emacs-Lisp/asdf-
skeleton.el
    config                   488 Conf[Space]      ~/.ssh/config
    .emacs                 13170 Emacs-Lisp       ~/.emacs
    *scratch*                191 Lisp Interaction
 *  *Messages*               142 Fundamental
  % *GNU Emacs*              744 Fundamental

    6 buffers              15787                  3 files, no
processes



> 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



  parent reply	other threads:[~2008-11-26  3:29 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
     [not found]   ` <mailman.1052.1227407986.26697.help-gnu-emacs@gnu.org>
2008-11-26  3:29     ` z0d [this message]
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=b6977a80-343d-4cf6-8b81-af8c8068abb4@j32g2000yqn.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).