File: imenu.el.html

Purpose of this package:
  To present a framework for mode-specific buffer indexes.
  A buffer index is an alist of names and buffer positions.
  For instance all functions in a C-file and their positions.

  It is documented in the Emacs Lisp manual.

How it works:

  A mode-specific function is called to generate the index. It is
  then presented to the user, who can choose from this index.

Defined variables (28)

imenu--history-listHistory list for ‘imenu-choose-buffer-index’.
imenu--index-alistThe buffer index alist computed for this buffer in Imenu.
imenu--last-menubar-index-alistThe latest buffer index alist used to update the menu bar menu.
imenu-after-jump-hookHooks called after jumping to a place in the buffer.
imenu-allow-duplicate-menu-itemsNon-nil means that Imenu can include duplicate menu items.
imenu-auto-rescanNon-nil means Imenu should always rescan the buffers.
imenu-auto-rescan-maxoutImenu auto-rescan is disabled in buffers larger than this size (in bytes).
imenu-case-fold-searchDefines whether ‘imenu--generic-function’ should fold case when matching.
imenu-create-index-functionThe function to use for creating an index alist of the current buffer.
imenu-default-goto-functionThe default function called when selecting an Imenu item.
imenu-eager-completion-bufferIf nil, eagerly pop up the completion buffer.
imenu-extract-index-name-functionFunction for extracting the index item name, given a position.
imenu-flattenWhether to flatten the list of sections in an imenu or show it nested.
imenu-generic-expressionList of definition matchers for creating an Imenu index.
imenu-generic-skip-comments-and-stringsWhen non-nil, ignore text inside comments and strings.
imenu-level-separatorThe separator between index names of different levels.
imenu-max-index-timeMax time to use when creating imenu indices.
imenu-max-item-lengthIf a number, truncate Imenu entries to that length.
imenu-max-itemsMaximum number of elements in a mouse menu for Imenu.
imenu-menubar-modified-tickValue of (buffer-chars-modified-tick) when ‘imenu-update-menubar’ was called.
imenu-name-lookup-functionFunction to compare string with index item.
imenu-prev-index-position-functionFunction for finding the next index position.
imenu-sort-functionThe function to use for sorting the index mouse-menu.
imenu-space-replacementThe replacement string for spaces in index names.
imenu-submenus-on-topFlag specifying whether items with sublists should be kept at top.
imenu-syntax-alistAlist of syntax table modifiers to use while in ‘imenu--generic-function’.
imenu-use-markersNon-nil means use markers instead of integers for Imenu buffer positions.
imenu-use-popup-menuUse a popup menu rather than a minibuffer prompt.

Defined functions (28)

imenu(INDEX-ITEM)
imenu--cleanup(&optional ALIST)
imenu--completion-buffer(INDEX-ALIST &optional PROMPT)
imenu--create-keymap(TITLE ALIST &optional CMD)
imenu--flatten-index-alist(INDEX-ALIST &optional CONCAT-NAMES PREFIX)
imenu--generic-function(PATTERNS)
imenu--in-alist(STR ALIST)
imenu--make-index-alist(&optional NOERROR)
imenu--menubar-select(ITEM)
imenu--mouse-menu(INDEX-ALIST EVENT &optional TITLE)
imenu--parentify-index-alist(INDEX-ALIST)
imenu--relative-position(&optional REVERSE)
imenu--sort-by-name(ITEM1 ITEM2)
imenu--sort-by-position(ITEM1 ITEM2)
imenu--split(LIST N)
imenu--split-menu(MENULIST TITLE)
imenu--split-submenus(ALIST)
imenu--subalist-p(ITEM)
imenu--truncate-items(MENULIST)
imenu-add-menubar-index()
imenu-add-to-menubar(NAME)
imenu-choose-buffer-index(&optional PROMPT ALIST)
imenu-default-create-index-function()
imenu-default-goto-function(NAME POSITION &rest REST)
imenu-find-default(GUESS COMPLETIONS)
imenu-flush-cache()
imenu-progress-message(PREVPOS &optional RELPOS REVERSE)
imenu-unavailable-error(FORMAT &rest ARGS)

Defined faces (0)