This group contains settings for the history-buffer in the ECB:
Local hook running after the creation of the history-buffer. Every function of this hook is called once without arguments direct after creating the history-buffer of ECB and it's local key-map. So for example a function could be added which performs calls of
local-set-key
to define new keybindings only for the history-buffer of ECB.
Name of the ECB history buffer. Because it is not a normal buffer for editing you should enclose the name with stars, e.g. “*ECB History*”.
If it is necessary for you you can get emacs-lisp access to the buffer-object of the ECB-history-buffer by this name, e.g. by a call of
set-buffer
.Changes for this option at runtime will take affect only after deactivating and then activating ECB again!
List of regexps which exclude source-files from being historized. Be aware that each always full filenames (ie. incl. full path) are matched against these regexps! Therefore be carefore with regexps beginning with ^!
Function which re-sorts the menu-entries of the directories buffer.
If a function then this function is called to sort the menu-entries of the combined menu-entries of the user-menu-extensions of
ecb-history-menu-user-extension
and the built-in-menuecb-history-menu
. If nil then no special sorting will be done and the user-extensions are placed in front of the built-in-entries.For the guidelines for such a sorter-function see
ecb-directories-menu-sorter
.
Static user extensions for the popup-menu of the history buffer. For further explanations see
ecb-directories-menu-user-extension
.The node-argument of a menu-function contains as data the filename of the source for which the popup-menu has been opened.
Per default the static user-extensions are added at the beginning of the built-in menu-entries of
ecb-history-menu
but the whole menu can be re-arranged withecb-history-menu-sorter
.
Dynamic user extensions for the popup-menu of the history buffer. A function which has to return a list in the same format like the option
ecb-history-menu-user-extension
. This function is called when the user opens the popup-menu for the history buffer.Per default the dynamic user-extensions are added in front of the static extensions of
ecb-history-menu-user-extension
but the whole menu can be re-arranged withecb-history-menu-sorter
.
Ignore case for sorting the history-entries. See also
ecb-history-sort-method
.
Defines how the entries in the history-buffer are sorted.
name
: Sorting by name (default).extension
: Sorting first by extension and then by name.nil
: No sorting, means the most recently used buffers are on the top of the history and the seldom used buffers at the bottom.See also
ecb-history-sort-ignore-case
.
Define if
kill-buffer
should also clear the history. There are three options:
auto
: Removes automatically the corresponding history-entry after the buffer has been killed.ask
: Asks, if the history-entry should be removed after the kill.nil
:kill-buffer
does not affect the history (this is the default).