1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
<html lang="en">
<head>
<title>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.2">
<link href="http://www.gnu.org/software/texinfo/" rel=generator-home>
</head>
<body>
<p>
Node:<a name="Using%20eshell">Using eshell</a>,
Next:<a rel=next accesskey=n href="Grepping-directories.html#Grepping%20directories">Grepping directories</a>,
Previous:<a rel=previous accesskey=p href="Version-control-support.html#Version-control%20support">Version-control support</a>,
Up:<a rel=up accesskey=u href="Tips-and-tricks.html#Tips%20and%20tricks">Tips and tricks</a>
<hr><br>
<h3>Optimal using of eshell in ECB</h3>
<p>ECB offers a very smart integration of the "eshell" if you are using
a compile window (see <a href="Temp--and-compile-buffers.html#Temp-%20and%20compile-buffers">Temp- and compile-buffers</a>)<a rel=footnote href="#fn-1"><sup>1</sup></a>
<p>Here is a short summary of provided features:
<ul>
<li>Ability to jump to the eshell buffer within the compilation window by
simply call <code>eshell</code> (bound to <kbd>C-c . e</kbd>). If the eshell
isn't running it will be started.
<li>Expands the compilation window when you run commands. So for example
it allows you to view the eshell in minimized mode and then when you
run "ls" the window automatically expands (but always depending on
the output of the command you run).
<li>Synchronizes the current directory of the eshell with the current
buffer in the current active edit-window of ECB.
<li>Provides smart window layout of the eshell buffer. This makes sure
that the eshell is taking up the exact amount of space and that
nothing is hidden.
</ul>
<p>Here comes a detailed explanation of these features and how to use it
(all these features are only available if you use a persistent
compile-window, i.e. if <code>ecb-compile-window-height</code> is not nil):
<p>You do not have to learn a new command for the eshell-start - just
call <code>eshell</code> (for convenience also bound to <kbd>C-c . e</kbd>) and
the eshell will displayed in the compile-window of ECB (if eshell is
not already alive then it will be started automatically).
<p>ECB tries to display the contents of the eshell-buffer as best as
possible, means ECB can autom. enlarge and shrink the compile-window
so the contents of the eshell are fitting the window. See option
<code>ecb-eshell-enlarge-when-eshell</code> and
<code>ecb-eshell-fit-window-to-command-output</code>. Normally this is done
autom. but you can also you the standard compile-window
enlarging-command of ECB: <code>ecb-toggle-compile-window-height</code>.
<p>ECB tries also to recenter the eshell-buffer as best as possible.
Normally this is done autom. but you can do it on demand with the
command <code>ecb-eshell-recenter</code>.
<p>If option <code>ecb-eshell-synchronize</code> is true then ECB always
synchronizes the command prompt of eshell with the directory of
current source-buffer of the current active edit-window.
<p>With the option <code>ecb-eshell-auto-activate</code> you can start eshell
autom. in the compile-window when ECB is started but of course if a
compile-window exists.
<hr><h4>Footnotes</h4>
<ol type="1">
<li><a name="fn-1"></a>
<p>Of
course you can use eshell also if there is no compile-window. Then it
is just displayed in the edit-area and there is no special
integration.</p>
</ol><hr>
</body></html>
|