>>>>> "Erik" == Erik Curiel <[EMAIL PROTECTED]> writes:
Erik> What is ibuffer? A new dot-com?
This is Colin Walters' drop in replacement for C-x C-b with many
enhancements. You can mark/delete/limit all buffers by major mode,
buffer name regex etc. So with a few keystrokes you can view all
C++-mode buffers, or delete all dired buffers, that kind of thing. It
uses syntax similar to dired mode marking commands, so if you are good
at dired, you can easily use ibuffer.
In the latest release, merged into the 21 tree, there are topic modes,
inspired by gnus, for organizing buffers.
Colin Walters is the genius who wrote brew-coffee.el. No shit.
JDH
Here is the major mode information for ibuffer:
Ibuffer by recency mode:
A major mode for viewing a list of buffers.
In ibuffer, you can conveniently perform many operations on the
currently open buffers, in addition to limiting your view to a
particular subset of them, and sorting by various criteria.
Operations on marked buffers:
'S' - Save the marked buffers
'v' - View the marked buffers in this frame.
'H' - View the marked buffers in another frame.
'V' - Revert the marked buffers.
'T' - Toggle read-only state of marked buffers.
'D' - Kill the marked buffers.
'U' - Replace by regexp in each of the marked
buffers.
'Q' - Query replace in each of the marked buffers.
'I' - As above, with a regular expression.
'P' - Print the marked buffers.
'O' - List lines in all marked buffers which match
a given regexp (like the function `occur').
'X' - Run a shell command on the contents of
the marked buffers.
'N' - Replace the contents of the marked
buffers with the output of a shell command.
'E' - Evaluate a form in each of the marked buffers. This
is a very flexible command. For example, if you want to make all
of the marked buffers read only, try using (toggle-read-only 1) as
the input form.
'W' - As above, but view each buffer while the form
is evaluated.
'k' - Remove the marked lines from the *Ibuffer* buffer,
but don't kill the associated buffer.
'x' - Kill all buffers marked for deletion.
Marking commands:
'm' - Mark the buffer at point.
't' - Unmark all currently marked buffers, and mark
all unmarked buffers.
'u' - Unmark the buffer at point.
'DEL' - Unmark the buffer at point, and move to the
previous line.
'* *' - Unmark all marked buffers.
'* M' - Mark buffers by major mode.
'* u' - Mark all "unsaved" buffers.
This means that the buffer is modified, and has an associated file.
'* m' - Mark all modified buffers,
regardless of whether or not they have an associated file.
'* s' - Mark all buffers whose name begins and
ends with '*'.
'* e' - Mark all buffers which have
an associated file, but that file doesn't currently exist.
'* r' - Mark all read-only buffers.
'* /' - Mark buffers in `dired' mode.
'* h' - Mark buffers in `help-mode', `apropos-mode', etc.
'.' - Mark buffers older than `ibuffer-old-time'.
'd' - Mark the buffer at point for deletion.
'% n' - Mark buffers by their name, using a regexp.
'% m' - Mark buffers by their major mode, using a regexp.
'% f' - Mark buffers by their filename, using a regexp.
Limiting commands:
'/ m' - Add a limit by major mode.
'/ n' - Add a limit by buffer name.
'/ c' - Add a limit by buffer content.
'/ f' - Add a limit by filename.
'/ >' - Add a limit by buffer size.
'/ <' - Add a limit by buffer size.
'/ s' - Save the current limits with a name.
'/ r' - Switch to previously saved limits.
'/ a' - Add saved limits to current limits.
'/ o' - Replace the top two limits with their logical OR.
'/ p' - Remove the top limit.
'/ !' - Invert the logical sense of the top limit.
'/ d' - Break down the topmost limit.
'/ /' - Remove all limiting currently in effect.
Sorting commands:
',' - Rotate between the various sorting modes.
's i' - Reverse the current sorting order.
's a' - Sort the buffers lexicographically.
's v' - Sort the buffers by last viewing time.
's s' - Sort the buffers by size.
's m' - Sort the buffers by major mode.
Other commands:
'`' - Change the current display format.
'SPC' - Move point to the next line.
'C-p' - Move point to the previous line.
'l' - Redisplay the current buffer list.
'g' - As above, but add new buffers to the list.
'q' - Bury the Ibuffer buffer.
'?' - This help.
'=' - View the differences between this buffer
and its associated file.
'f' - View the buffer on this line.
'o' - As above, but in another window.
'C-o' - As both above, but don't select
the new window.
'b' - Bury (not kill!) the buffer on this line.
Information on Limiting:
You can limit your ibuffer view to a selection of the buffers, via
different critera. For example, suppose you are working on an Emacs
Lisp project. You can create an Ibuffer buffer which is limited to
just `emacs-lisp' modes via '/ m emacs-lisp-mode RET'.
You can combine limits, in a stack-like manner. For example, suppose
you only want to see buffers in `emacs-lisp' mode, whose names begin
with "gnus". You can accomplish this via:
'/ m emacs-lisp-mode RET / n ^gnus RET'.
Additionally, you can OR the top two limits together with
'M-x ibuffer-or-limits'. To see all buffers in either
`emacs-lisp-mode' or `lisp-interaction-mode', type:
'/ m emacs-lisp-mode RET / m lisp-interaction-mode RET M-x ibuffer-or-limits'.
Limits can also be saved and restored using mnemonic names: see the
functions `ibuffer-save-limits' and `ibuffer-switch-to-saved-limits'.
To remove the top limit on the stack, use '/ p', and
to disable all limiting currently in effect, use
'/ /'.
Abbrev minor mode (indicator Abbrev):
Toggle abbrev mode.
With argument ARG, turn abbrev mode on iff ARG is positive.
In abbrev mode, inserting an abbreviation causes it to expand
and be replaced by its expansion.
_______________________________________________
Bits mailing list
[EMAIL PROTECTED]
http://www.sugoi.org/mailman/listinfo/bits