Node:ecb-directories, Next:ecb-sources, Previous:ecb-general, Up:Customizable options
This group contains the following options:
Add path of a file to |
The value of this option is a cons-cell where the car is a boolean for 1. and the cdr is a boolean for 2.
A value of not nil for the car (1.) is reasonably if a user often
opens files not via the ECB-browser which are not located in any of
the paths of
Automatically expand the directory tree to the current source file.
There are three options:
Cache contents of directories.
This can be useful if
The value of this option is a list where each element is a cons-cell
and looks like:
(<dir-regexp> . <filenumber threshold>) with
A directory will we only be cached if and only if the directory-name matches one rexexp of this option and its content-number exceeds the related threshold.
The cache entry for a certain directory will be refreshed and
actualized only by using the POWER-click (see
A value of
A value of
A value of
Local hook running after the creation of the directories-buffer. Every
function of this hook is called once without arguments direct after
creating the directories-buffer of ECB and it's local key-map. So for
example a function could be added which performs calls of
The following keys must not be rebind in the directories-buffer: F2, F3 and F4
Name of the ECB directory buffer. Because it is not a normal buffer
for editing you should enclose the name with stars, e.g. " *ECB
If it is necessary for you you can get emacs-lisp access to the buffer-object of
the ECB-directory-buffer by this name, e.g. by a call of
Changes for this option at runtime will take affect only after deactivating and then activating ECB again!
Function which re-sorts the menu-entries of the directories buffer.
If a function then this function is called to re-arrange the
menu-entries of the combined menu-entries of the user-menu-extensions
The function get one argument, a list of menu-entries. For the format
of this argument see
User extensions for the popup-menu of the directories buffer.
Value is a list of elements of the following type: Each element defines a new menu-entry and is a list containing two sub-elements, whereas the first is the name of the menu-entry and the second the function (a function symbol or a lambda-expression) being called if the menu-entry is selected. If there is no second sub-element and the first one is the string "--" then a non-selectable menu-separator is displayed.
The function must follow the following guidelines: It takes one
argument which is the tree-buffer-node of the selected node (means the
node for which the popup-menu has been opened). With the function
Example for such a menu-function:
(defun ecb-my-special-dir-popup-function (node) (let ((node-data=dir (tree-node-get-data node))) (message "Dir under node: %s" node-data=dir)))
Per default the user-extensions are added at the beginning of the
built-in menu-entries of
If you change this option you have to restart ECB to take effect.
Automatically display current default-directory after activating ECB.
If a file-buffer is displayed in the edit-window then ECB synchronizes
its tree-buffers to this file-buffer - at least if the option
If true then ECB selects autom. the current default-directory after activation even if no file-buffer is displayed in the edit-window. This is useful if ECB is autom. activated after startup of Emacs and Emacs is started without a file-argument. So the directory from which the startup has performed is auto. selected in the ECB-directories buffer and the ECB-sources buffer displays the contents of this directory.
|Directories that should not be included in the directories list. The value of this variable should be a regular expression.|
Function used for performing a grep. The popup-menu of the
tree-buffers "Directories", "Sources" and "History" offer to
grep the "current" directory:
|Function used for performing a recursive grep. For more Details see option `ecb-grep-function' and replace "grep" with "recursive grep".|
|Show source files in directories buffer.|
|Paths where to find code sources. Each path can have an optional alias that is used as it's display name. If no alias is set, the path is used as display name.|
If true then uses speedbar for directories, sources or methods. This
means that speedbar is integrated in the ECB-frame and is displayed in
that window normally displaying the standard ECB-directories-buffer,
ECB-sources-buffer or ECB-methods-buffer.
This option takes effect in all layouts which contain either a directory window, a sources window or a method window.
This option can have four valid values:
Note: For directories and sources a similar effect and usability is
available by setting this option to