Variable: speedbar-initial-expansion-mode-alist

speedbar-initial-expansion-mode-alist is a variable defined in speedbar.el.gz.

Value

(("ERC" erc-speedbar-menu-items erc-speedbar-key-map erc-speedbar-server-buttons)
 ("Analyze" semantic-ia-sb-easymenu-definition semantic-ia-sb-key-map semantic-ia-speedbar)
 ("EIEIO" eieio-class-speedbar-menu eieio-class-speedbar-key-map eieio-class-speedbar)
 ("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)
 ("Project" ede-speedbar-menu ede-speedbar-key-map
  (lambda
    (dir depth)
    (eieio-speedbar-buttons dir depth 'ede-speedbar-toplevel-buttons)))
 ("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))

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.

Source Code

;; Defined in /usr/src/emacs/lisp/speedbar.el.gz
;;; Code:

(defvar speedbar-initial-expansion-mode-alist
  '(("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 last, means first in the Displays menu
    ("files" speedbar-easymenu-definition-special speedbar-file-key-map
     speedbar-directory-buttons speedbar-default-directory-list)
    )
  "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.")