speedbar-initial-expansion-mode-alist
speedbar-initial-expansion-mode-alist is a variable defined in `
speedbar.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
List of named expansion elements for filling the speedbar frame.
These expansion lists are only valid for regular files. Special modes
still get to override this list on a mode-by-mode basis. This list of
lists is of the form (NAME MENU KEYMAP FN1 FN2 ...). NAME is a string
representing the types of things to be displayed. MENU is an easymenu
structure used when in this mode. KEYMAP is a local keymap to install
over the regular speedbar keymap. FN1 ... are functions that will be
called in order. These functions will always get the default
directory to use passed in as the first parameter, and a 0 as the
second parameter. The 0 indicates the uppermost indentation level.
They must assume that the cursor is at the position where they start
inserting buttons.
Value:
(("EIEIO" eieio-class-speedbar-menu eieio-class-speedbar-key-map eieio-class-speedbar)
("Project" ede-speedbar-menu ede-speedbar-key-map
(lambda
(dir depth)
(eieio-speedbar-buttons dir depth 'ede-speedbar-toplevel-buttons)))
("vhdl project" vhdl-speedbar-menu-items vhdl-speedbar-mode-map vhdl-speedbar-display-projects)
("vhdl directory" vhdl-speedbar-menu-items vhdl-speedbar-mode-map vhdl-speedbar-display-directory)
("GUD" gud-speedbar-menu-items gud-speedbar-key-map gud-expansion-speedbar-buttons)
("Info" Info-speedbar-menu-items Info-speedbar-key-map Info-speedbar-hierarchy-buttons)
("buffers" speedbar-buffer-easymenu-definition speedbar-buffers-key-map speedbar-buffer-buttons)
("quick buffers" speedbar-buffer-easymenu-definition speedbar-buffers-key-map speedbar-buffer-buttons-temp)
("files" speedbar-easymenu-definition-special speedbar-file-key-map speedbar-directory-buttons speedbar-default-directory-list))