/.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

  1. <html lang="en">
  2. <head>
  3. <title>ecb-history - ECB - the Emacs Code Browser</title>
  4. <meta http-equiv="Content-Type" content="text/html">
  5. <meta name="description" content="ECB - the Emacs Code Browser">
  6. <meta name="generator" content="makeinfo 4.8">
  7. <link title="Top" rel="start" href="ecb.html#Top">
  8. <link rel="up" href="Customizable-options.html#Customizable-options" title="Customizable options">
  9. <link rel="prev" href="ecb_002dmethods.html#ecb_002dmethods" title="ecb-methods">
  10. <link rel="next" href="ecb_002danalyse.html#ecb_002danalyse" title="ecb-analyse">
  11. <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
  12. <meta http-equiv="Content-Style-Type" content="text/css">
  13. <style type="text/css"><!--
  14. pre.display { font-family:inherit }
  15. pre.format { font-family:inherit }
  16. pre.smalldisplay { font-family:inherit; font-size:smaller }
  17. pre.smallformat { font-family:inherit; font-size:smaller }
  18. pre.smallexample { font-size:smaller }
  19. pre.smalllisp { font-size:smaller }
  20. span.sc { font-variant:small-caps }
  21. span.roman { font-family:serif; font-weight:normal; }
  22. span.sansserif { font-family:sans-serif; font-weight:normal; }
  23. --></style>
  24. </head>
  25. <body>
  26. <div class="node">
  27. <p>
  28. <a name="ecb-history"></a>
  29. <a name="ecb_002dhistory"></a>
  30. Next:&nbsp;<a rel="next" accesskey="n" href="ecb_002danalyse.html#ecb_002danalyse">ecb-analyse</a>,
  31. Previous:&nbsp;<a rel="previous" accesskey="p" href="ecb_002dmethods.html#ecb_002dmethods">ecb-methods</a>,
  32. Up:&nbsp;<a rel="up" accesskey="u" href="Customizable-options.html#Customizable-options">Customizable options</a>
  33. <hr>
  34. </div>
  35. <h4 class="subsection">7.3.6 Group ecb-history</h4>
  36. <p class="noindent">This group contains settings for the history-buffer in the ECB:
  37. <div class="defun">
  38. &mdash; User Option: <b>history-buffer-after-create-hook</b><var><a name="index-history_002dbuffer_002dafter_002dcreate_002dhook-233"></a></var><br>
  39. <blockquote><p>Local hook running after the creation of the history-buffer. Every
  40. function of this hook is called once without arguments direct after
  41. creating the history-buffer of ECB and it's local key-map. So for
  42. example a function could be added which performs calls of
  43. <code>local-set-key</code> to define new keybindings only for the
  44. history-buffer of ECB.
  45. </p></blockquote></div>
  46. <div class="defun">
  47. &mdash; User Option: <b>history-buffer-name</b><var><a name="index-history_002dbuffer_002dname-234"></a></var><br>
  48. <blockquote><p>Name of the ECB history buffer. Because it is not a normal buffer for
  49. editing you should enclose the name with stars, e.g. &ldquo;*ECB
  50. History*&rdquo;.
  51. <p>If it is necessary for you you can get emacs-lisp access to the
  52. buffer-object of the ECB-history-buffer by this name, e.g. by a call
  53. of <code>set-buffer</code>.
  54. <p>Changes for this option at runtime will take affect only after
  55. deactivating and then activating ECB again!
  56. </p></blockquote></div>
  57. <div class="defun">
  58. &mdash; User Option: <b>history-exclude-file-regexps</b><var><a name="index-history_002dexclude_002dfile_002dregexps-235"></a></var><br>
  59. <blockquote><p>List of regexps which exclude source-files from being historized. Be
  60. aware that each always full filenames (ie. incl. full path) are
  61. matched against these regexps! Therefore be carefore with regexps
  62. beginning with ^!
  63. </p></blockquote></div>
  64. <div class="defun">
  65. &mdash; User Option: <b>history-item-name</b><var><a name="index-history_002ditem_002dname-236"></a></var><br>
  66. <blockquote><p>The name to use for items in the history buffer.
  67. </p></blockquote></div>
  68. <div class="defun">
  69. &mdash; User Option: <b>history-make-buckets</b><var><a name="index-history_002dmake_002dbuckets-237"></a></var><br>
  70. <blockquote><p>Bucketize the entries of the history-buffer.
  71. <p>There are several options how the bucketizing should be done:
  72. <ul>
  73. <li>'never:
  74. <p>No bucketizing at all, ie. all entries of the history-buffer we be
  75. displayed flat.
  76. <li>'directory:
  77. <p>All entries with related filesources residing in the same
  78. directory will be contained in a bucket named with that directory.
  79. <li>'mode:
  80. <p>All entries with related buffers have the same
  81. major-mode will be contained in a bucket named with that major-mode
  82. <li>'extension:
  83. <p>All entries with related filesources having the
  84. same extension will be contained in a bucket named with that extension
  85. </ul>
  86. <p>If the value is a list of regular expressions then all entries where the
  87. buffername matches the same regular expression will be contained in one
  88. bucket. If the value is nil then this is interpreted as an empty list of
  89. regular expressions!
  90. <p>The default value is 'directory.
  91. </p></blockquote></div>
  92. <div class="defun">
  93. &mdash; User Option: <b>history-menu-sorter</b><var><a name="index-history_002dmenu_002dsorter-238"></a></var><br>
  94. <blockquote><p>Function which re-sorts the menu-entries of the directories buffer.
  95. <p>If a function then this function is called to sort the menu-entries of
  96. the combined menu-entries of the user-menu-extensions of
  97. <code>ecb-history-menu-user-extension</code> and the built-in-menu
  98. <code>ecb-history-menu</code>. If nil then no special sorting will be done
  99. and the user-extensions are placed in front of the built-in-entries.
  100. <p>For the guidelines for such a sorter-function see
  101. <code>ecb-directories-menu-sorter</code>.
  102. </p></blockquote></div>
  103. <div class="defun">
  104. &mdash; User Option: <b>history-menu-user-extension</b><var><a name="index-history_002dmenu_002duser_002dextension-239"></a></var><br>
  105. <blockquote><p>Static user extensions for the popup-menu of the history buffer.
  106. For further explanations see <code>ecb-directories-menu-user-extension</code>.
  107. <p>The node-argument of a menu-function contains as data a cons:
  108. <p>car is the filename of the source for which the popup-menu has
  109. been opened. cdr is the related buffer-name; but be careful,
  110. because the node can point to a dead buffer (see
  111. <code>ecb-kill-buffer-clears-history</code>). Use always <code>ecb-source-get-*</code>
  112. to extract whatever you need from the node-data. E.g. use
  113. <code>ecb-source-get-filename</code> to get the full filename of the source
  114. of the node and use <code>ecb-source-get-buffername</code> or <code>ecb-source-get-buffer</code> to
  115. get the buffername rsp. the buffer-object.
  116. <p>Per default the static user-extensions are added at the beginning of the
  117. built-in menu-entries of <code>ecb-history-menu</code> but the whole menu can be
  118. re-arranged with <code>ecb-history-menu-sorter</code>.
  119. </p></blockquote></div>
  120. <div class="defun">
  121. &mdash; User Option: <b>history-menu-user-extension-function</b><var><a name="index-history_002dmenu_002duser_002dextension_002dfunction-240"></a></var><br>
  122. <blockquote><p>Dynamic user extensions for the popup-menu of the history buffer. A
  123. function which has to return a list in the same format like the option
  124. <code>ecb-history-menu-user-extension</code>. This function is called when
  125. the user opens the popup-menu for the history buffer.
  126. <p>If no dynamically evaluated menu-extensions should be added to the
  127. history-buffer the function has to return nil. Therefore the
  128. default-value of this option is <code>ignore</code>.
  129. <p>Per default the dynamic user-extensions are added in front of the
  130. static extensions of <code>ecb-history-menu-user-extension</code> but the
  131. whole menu can be re-arranged with <code>ecb-history-menu-sorter</code>.
  132. </p></blockquote></div>
  133. <div class="defun">
  134. &mdash; User Option: <b>history-show-node-info</b><var><a name="index-history_002dshow_002dnode_002dinfo-241"></a></var><br>
  135. <blockquote><p>When to display which node-info in the history-buffer.
  136. Define which node info should be displayed after moving the mouse
  137. over a node (or after a shift click onto the node) in the
  138. history-buffer.
  139. <p>You can define &ldquo;when&rdquo; a node-info should be displayed:
  140. See <code>ecb-directories-show-node-info</code> for the possible choices.
  141. <p>You can define &ldquo;which&rdquo; info should be displayed:
  142. <ul>
  143. <li>name: Only the full node-name is displayed.
  144. <li>path: The full-path of the node is displayed.
  145. <li>name-path: The full node-name and the full-path is displayed.
  146. </ul>
  147. <p>Do NOT set this option directly via setq but use always customize!
  148. </p></blockquote></div>
  149. <div class="defun">
  150. &mdash; User Option: <b>history-sort-ignore-case</b><var><a name="index-history_002dsort_002dignore_002dcase-242"></a></var><br>
  151. <blockquote><p>Ignore case for sorting the history-entries. See also
  152. <code>ecb-history-sort-method</code>.
  153. </p></blockquote></div>
  154. <div class="defun">
  155. &mdash; User Option: <b>history-sort-method</b><var><a name="index-history_002dsort_002dmethod-243"></a></var><br>
  156. <blockquote><p>Defines how the entries in the history-buffer are sorted.
  157. <ul>
  158. <li><code>name</code>:
  159. Sorting by name (default).
  160. <li><code>extension</code>:
  161. Sorting first by extension and then by name.
  162. <li><code>nil</code>:
  163. No sorting, means the most recently used buffers are on the top of the
  164. history and the seldom used buffers at the bottom.
  165. </ul>
  166. <p>See also <code>ecb-history-sort-ignore-case</code>.
  167. <p>If the history is bucketized (see <code>ecb-history-make-buckets</code>) then this
  168. sorting applies to the sorting within each bucket.
  169. </p></blockquote></div>
  170. <div class="defun">
  171. &mdash; User Option: <b>history-stick-indirect-buffers-to-basebuffer</b><var><a name="index-history_002dstick_002dindirect_002dbuffers_002dto_002dbasebuffer-244"></a></var><br>
  172. <blockquote><p>Stick all indirect-buffers as subnodes to their base-buffer.
  173. <p>If nil then indirect-buffers are treated as non-indirect-buffers
  174. and sorted into the history-buffer-sequence according to the
  175. setting of <code>ecb-history-sort-method</code>.
  176. <p>If not nil then indirect-buffers are always sticked to their base-buffer, ie.
  177. the base-buffer is displayed as expandable node with all its indirect-buffers
  178. as children-nodes, so the history looks like:
  179. <pre class="example"> [-] &lt;base-buffer BB&gt;
  180. | &lt;indirect-buffer 1 of BB&gt;
  181. `- &lt;indirect-buffer 2 of BB&gt;
  182. </pre>
  183. </blockquote></div>
  184. <div class="defun">
  185. &mdash; User Option: <b>kill-buffer-clears-history</b><var><a name="index-kill_002dbuffer_002dclears_002dhistory-245"></a></var><br>
  186. <blockquote><p>Define if <code>kill-buffer</code> should also clear the history. There are
  187. three options:
  188. <ul>
  189. <li><code>auto</code>:
  190. Removes automatically the corresponding history-entry after the buffer
  191. has been killed.
  192. <li><code>ask</code>:
  193. Asks, if the history-entry should be removed after the kill.
  194. <li><code>nil</code>:
  195. <code>kill-buffer</code> does not affect the history (this is the default).
  196. </ul>
  197. </p></blockquote></div>
  198. </body></html>