/.emacs.d/ecb-2.40/html-help/ecb_002dhistory.html
https://bitbucket.org/shuangxinyu/emacspack · HTML · 243 lines · 189 code · 45 blank · 9 comment · 0 complexity · 6dd0479cebe4fb2a1b66bc077fca8152 MD5 · raw file
- <html lang="en">
- <head>
- <title>ecb-history - ECB - the Emacs Code Browser</title>
- <meta http-equiv="Content-Type" content="text/html">
- <meta name="description" content="ECB - the Emacs Code Browser">
- <meta name="generator" content="makeinfo 4.8">
- <link title="Top" rel="start" href="ecb.html#Top">
- <link rel="up" href="Customizable-options.html#Customizable-options" title="Customizable options">
- <link rel="prev" href="ecb_002dmethods.html#ecb_002dmethods" title="ecb-methods">
- <link rel="next" href="ecb_002danalyse.html#ecb_002danalyse" title="ecb-analyse">
- <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
- <meta http-equiv="Content-Style-Type" content="text/css">
- <style type="text/css"><!--
- pre.display { font-family:inherit }
- pre.format { font-family:inherit }
- pre.smalldisplay { font-family:inherit; font-size:smaller }
- pre.smallformat { font-family:inherit; font-size:smaller }
- pre.smallexample { font-size:smaller }
- pre.smalllisp { font-size:smaller }
- span.sc { font-variant:small-caps }
- span.roman { font-family:serif; font-weight:normal; }
- span.sansserif { font-family:sans-serif; font-weight:normal; }
- --></style>
- </head>
- <body>
- <div class="node">
- <p>
- <a name="ecb-history"></a>
- <a name="ecb_002dhistory"></a>
- Next: <a rel="next" accesskey="n" href="ecb_002danalyse.html#ecb_002danalyse">ecb-analyse</a>,
- Previous: <a rel="previous" accesskey="p" href="ecb_002dmethods.html#ecb_002dmethods">ecb-methods</a>,
- Up: <a rel="up" accesskey="u" href="Customizable-options.html#Customizable-options">Customizable options</a>
- <hr>
- </div>
- <h4 class="subsection">7.3.6 Group ecb-history</h4>
- <p class="noindent">This group contains settings for the history-buffer in the ECB:
- <div class="defun">
- — User Option: <b>history-buffer-after-create-hook</b><var><a name="index-history_002dbuffer_002dafter_002dcreate_002dhook-233"></a></var><br>
- <blockquote><p>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
- <code>local-set-key</code> to define new keybindings only for the
- history-buffer of ECB.
- </p></blockquote></div>
- <div class="defun">
- — User Option: <b>history-buffer-name</b><var><a name="index-history_002dbuffer_002dname-234"></a></var><br>
- <blockquote><p>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*”.
- <p>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 <code>set-buffer</code>.
- <p>Changes for this option at runtime will take affect only after
- deactivating and then activating ECB again!
- </p></blockquote></div>
- <div class="defun">
- — User Option: <b>history-exclude-file-regexps</b><var><a name="index-history_002dexclude_002dfile_002dregexps-235"></a></var><br>
- <blockquote><p>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 ^!
- </p></blockquote></div>
- <div class="defun">
- — User Option: <b>history-item-name</b><var><a name="index-history_002ditem_002dname-236"></a></var><br>
- <blockquote><p>The name to use for items in the history buffer.
- </p></blockquote></div>
- <div class="defun">
- — User Option: <b>history-make-buckets</b><var><a name="index-history_002dmake_002dbuckets-237"></a></var><br>
- <blockquote><p>Bucketize the entries of the history-buffer.
- <p>There are several options how the bucketizing should be done:
- <ul>
- <li>'never:
- <p>No bucketizing at all, ie. all entries of the history-buffer we be
- displayed flat.
- <li>'directory:
- <p>All entries with related filesources residing in the same
- directory will be contained in a bucket named with that directory.
- <li>'mode:
- <p>All entries with related buffers have the same
- major-mode will be contained in a bucket named with that major-mode
- <li>'extension:
- <p>All entries with related filesources having the
- same extension will be contained in a bucket named with that extension
- </ul>
- <p>If the value is a list of regular expressions then all entries where the
- buffername matches the same regular expression will be contained in one
- bucket. If the value is nil then this is interpreted as an empty list of
- regular expressions!
- <p>The default value is 'directory.
- </p></blockquote></div>
- <div class="defun">
- — User Option: <b>history-menu-sorter</b><var><a name="index-history_002dmenu_002dsorter-238"></a></var><br>
- <blockquote><p>Function which re-sorts the menu-entries of the directories buffer.
- <p>If a function then this function is called to sort the menu-entries of
- the combined menu-entries of the user-menu-extensions of
- <code>ecb-history-menu-user-extension</code> and the built-in-menu
- <code>ecb-history-menu</code>. If nil then no special sorting will be done
- and the user-extensions are placed in front of the built-in-entries.
- <p>For the guidelines for such a sorter-function see
- <code>ecb-directories-menu-sorter</code>.
- </p></blockquote></div>
- <div class="defun">
- — User Option: <b>history-menu-user-extension</b><var><a name="index-history_002dmenu_002duser_002dextension-239"></a></var><br>
- <blockquote><p>Static user extensions for the popup-menu of the history buffer.
- For further explanations see <code>ecb-directories-menu-user-extension</code>.
- <p>The node-argument of a menu-function contains as data a cons:
- <p>car is the filename of the source for which the popup-menu has
- been opened. cdr is the related buffer-name; but be careful,
- because the node can point to a dead buffer (see
- <code>ecb-kill-buffer-clears-history</code>). Use always <code>ecb-source-get-*</code>
- to extract whatever you need from the node-data. E.g. use
- <code>ecb-source-get-filename</code> to get the full filename of the source
- of the node and use <code>ecb-source-get-buffername</code> or <code>ecb-source-get-buffer</code> to
- get the buffername rsp. the buffer-object.
- <p>Per default the static user-extensions are added at the beginning of the
- built-in menu-entries of <code>ecb-history-menu</code> but the whole menu can be
- re-arranged with <code>ecb-history-menu-sorter</code>.
- </p></blockquote></div>
- <div class="defun">
- — User Option: <b>history-menu-user-extension-function</b><var><a name="index-history_002dmenu_002duser_002dextension_002dfunction-240"></a></var><br>
- <blockquote><p>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
- <code>ecb-history-menu-user-extension</code>. This function is called when
- the user opens the popup-menu for the history buffer.
- <p>If no dynamically evaluated menu-extensions should be added to the
- history-buffer the function has to return nil. Therefore the
- default-value of this option is <code>ignore</code>.
- <p>Per default the dynamic user-extensions are added in front of the
- static extensions of <code>ecb-history-menu-user-extension</code> but the
- whole menu can be re-arranged with <code>ecb-history-menu-sorter</code>.
- </p></blockquote></div>
- <div class="defun">
- — User Option: <b>history-show-node-info</b><var><a name="index-history_002dshow_002dnode_002dinfo-241"></a></var><br>
- <blockquote><p>When to display which node-info in the history-buffer.
- Define which node info should be displayed after moving the mouse
- over a node (or after a shift click onto the node) in the
- history-buffer.
- <p>You can define “when” a node-info should be displayed:
- See <code>ecb-directories-show-node-info</code> for the possible choices.
- <p>You can define “which” info should be displayed:
- <ul>
- <li>name: Only the full node-name is displayed.
- <li>path: The full-path of the node is displayed.
- <li>name-path: The full node-name and the full-path is displayed.
- </ul>
- <p>Do NOT set this option directly via setq but use always customize!
- </p></blockquote></div>
- <div class="defun">
- — User Option: <b>history-sort-ignore-case</b><var><a name="index-history_002dsort_002dignore_002dcase-242"></a></var><br>
- <blockquote><p>Ignore case for sorting the history-entries. See also
- <code>ecb-history-sort-method</code>.
- </p></blockquote></div>
- <div class="defun">
- — User Option: <b>history-sort-method</b><var><a name="index-history_002dsort_002dmethod-243"></a></var><br>
- <blockquote><p>Defines how the entries in the history-buffer are sorted.
- <ul>
- <li><code>name</code>:
- Sorting by name (default).
- <li><code>extension</code>:
- Sorting first by extension and then by name.
- <li><code>nil</code>:
- No sorting, means the most recently used buffers are on the top of the
- history and the seldom used buffers at the bottom.
- </ul>
- <p>See also <code>ecb-history-sort-ignore-case</code>.
- <p>If the history is bucketized (see <code>ecb-history-make-buckets</code>) then this
- sorting applies to the sorting within each bucket.
- </p></blockquote></div>
- <div class="defun">
- — User Option: <b>history-stick-indirect-buffers-to-basebuffer</b><var><a name="index-history_002dstick_002dindirect_002dbuffers_002dto_002dbasebuffer-244"></a></var><br>
- <blockquote><p>Stick all indirect-buffers as subnodes to their base-buffer.
- <p>If nil then indirect-buffers are treated as non-indirect-buffers
- and sorted into the history-buffer-sequence according to the
- setting of <code>ecb-history-sort-method</code>.
- <p>If not nil then indirect-buffers are always sticked to their base-buffer, ie.
- the base-buffer is displayed as expandable node with all its indirect-buffers
- as children-nodes, so the history looks like:
- <pre class="example"> [-] <base-buffer BB>
- | <indirect-buffer 1 of BB>
- `- <indirect-buffer 2 of BB>
- </pre>
- </blockquote></div>
- <div class="defun">
- — User Option: <b>kill-buffer-clears-history</b><var><a name="index-kill_002dbuffer_002dclears_002dhistory-245"></a></var><br>
- <blockquote><p>Define if <code>kill-buffer</code> should also clear the history. There are
- three options:
- <ul>
- <li><code>auto</code>:
- Removes automatically the corresponding history-entry after the buffer
- has been killed.
- <li><code>ask</code>:
- Asks, if the history-entry should be removed after the kill.
- <li><code>nil</code>:
- <code>kill-buffer</code> does not affect the history (this is the default).
- </ul>
- </p></blockquote></div>
- </body></html>