File: msb.el.html

Purpose of this package:
  1. Offer a function for letting the user choose buffer,
     not necessarily for switching to it.
  2. Make a better mouse-buffer-menu. This is done as a global
     minor mode, msb-mode.

Customization:
  Look at the variable msb-menu-cond for deciding what menus you
  want. It's not that hard to customize, despite my not-so-good
  doc-string. Feel free to send me a better doc-string.
  There are some constants for you to try here:
  msb--few-menus
  msb--very-many-menus (default)

  Look at the variable msb-item-handling-function for customization
  of the appearance of every menu item. Try for instance setting
  it to msb-alon-item-handler.

  Look at the variable msb-item-sort-function for customization
  of sorting the menus. Set it to t for instance, which means no
  sorting - you will get latest used buffer first.

  Also check out the variable msb-display-invisible-buffers-p.

Known bugs:
- Files-by-directory
  + No possibility to show client/changed buffers separately.
  + All file buffers only appear in a file sub-menu, they will
    for instance not appear in the Mail sub-menu.

Future enhancements:

; Thanks goes to
 Mark Brader <msb@sq.com>
 Jim Berry <m1jhb00@FRB.GOV>
 Hans Chalupsky <hans@cs.Buffalo.EDU>
 Larry Rosenberg <ljr@ictv.com>
 Will Henney <will@astroscu.unam.mx>
 Jari Aalto <jaalto@tre.tele.nokia.fi>
 Michael Kifer <kifer@cs.stonybrook.edu>
 Gael Marziou <gael@gnlab030.grenoble.hp.com>
 Dave Gillespie <daveg@thymus.synaptics.com>
 Alon Albert <alon@milcse.rtsg.mot.com>
 Kevin Broadey, <KevinB@bartley.demon.co.uk>
 Ake Stenhof <ake@cadpoint.se>
 Richard Stallman <rms@gnu.org>
 Steve Fisk <fisk@medved.bowdoin.edu>

This version turned into a global minor mode and subsequently hacked on by Dave Love.

Defined variables (17)

msb-after-load-hookHook run after the msb package has been loaded.
msb-display-invisible-buffers-pShow invisible buffers or not.
msb-display-most-recently-usedHow many buffers should be in the most-recently-used menu.
msb-files-by-directoryNon-nil means that files should be sorted by directory.
msb-files-by-directory-sort-keyThe sort key for files sorted by directory.
msb-horizontal-shift-functionFunction that specifies how many pixels to shift the top menu leftwards.
msb-item-handling-functionThe appearance of a buffer menu.
msb-item-sort-functionThe order of items in a buffer menu.
msb-max-file-menu-itemsThe maximum number of items from different directories.
msb-max-menu-itemsThe maximum number of items in a menu.
msb-menu-condList of criteria for splitting the mouse buffer menu.
msb-modeNon-nil if Msb mode is enabled.
msb-mode-hookHook run after entering or leaving ‘msb-mode’.
msb-modes-keyThe sort key for files sorted by mode.
msb-most-recently-used-sort-keyWhere should the menu with the most recently used buffers be placed?
msb-most-recently-used-titleThe title for the most-recently-used menu.
msb-separator-diffNon-nil means use separators.

Defined functions (28)

mouse-select-buffer(EVENT)
msb(EVENT)
msb--add-separators(SORTED-LIST)
msb--add-to-menu(BUFFER FUNCTION-INFO MAX-BUFFER-NAME-LENGTH)
msb--aggregate-alist(ALIST SAME-PREDICATE SORT-PREDICATE)
msb--choose-file-menu(LIST)
msb--choose-menu(BUFFER FUNCTION-INFO-VECTOR MAX-BUFFER-NAME-LENGTH)
msb--collect(FUNCTION-INFO-VECTOR)
msb--create-function-info(MENU-COND-ELT)
msb--create-sort-item(FUNCTION-INFO)
msb--format-title(TOP-FOUND-P DIR NUMBER-OF-ITEMS)
msb--init-file-alist(LIST)
msb--make-keymap-menu(RAW-MENU)
msb--most-recently-used-menu(MAX-BUFFER-NAME-LENGTH)
msb--split-menus(LIST)
msb--split-menus-2(LIST MCOUNT RESULT)
msb--strip-dir(DIR)
msb--toggle-menu-type()
msb-alon-item-handler(BUFFER MAXBUF)
msb-custom-set(SYMBOL VALUE)
msb-dired-item-handler(BUFFER &optional MAXBUF)
msb-invisible-buffer-p(&optional BUFFER)
msb-item-handler(BUFFER &optional MAXBUF)
msb-menu-bar-update-buffers(&optional ARG)
msb-mode(&optional ARG)
msb-sort-by-directory(ITEM1 ITEM2)
msb-sort-by-name(ITEM1 ITEM2)
msb-unload-function()

Defined faces (0)