aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc/eshell.texi
diff options
context:
space:
mode:
authorJoakim Verona2013-07-02 22:46:17 +0200
committerJoakim Verona2013-07-02 22:46:17 +0200
commit3718127221fbbc31f8ebd027ab7c95403dbe9118 (patch)
treeef422898f3344c8f94f6ecf63eb583122bbf2bd8 /doc/misc/eshell.texi
parent1ce45b902c67b8a0dda8d71bd2812de29a9988a6 (diff)
parenta3b49114c186d84404226af75ae7905bd1cd018f (diff)
downloademacs-3718127221fbbc31f8ebd027ab7c95403dbe9118.tar.gz
emacs-3718127221fbbc31f8ebd027ab7c95403dbe9118.zip
Merge branch 'trunk' into xwidget
Conflicts: src/window.c
Diffstat (limited to 'doc/misc/eshell.texi')
-rw-r--r--doc/misc/eshell.texi29
1 files changed, 19 insertions, 10 deletions
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi
index 0da422fe14f..bd0ac0828cc 100644
--- a/doc/misc/eshell.texi
+++ b/doc/misc/eshell.texi
@@ -378,12 +378,13 @@ Similar to, but slightly different from, the GNU Coreutils
378 378
379@item define 379@item define
380@cmindex define 380@cmindex define
381Define a varalias. @xref{Variable Aliases, , , elisp}. 381Define a varalias.
382@xref{Variable Aliases, , , elisp, The Emacs Lisp Reference Manual}.
382 383
383@item diff 384@item diff
384@cmindex diff 385@cmindex diff
385Use Emacs's internal @code{diff} (not to be confused with 386Use Emacs's internal @code{diff} (not to be confused with
386@code{ediff}). @xref{Comparing Files, , , elisp}. 387@code{ediff}). @xref{Comparing Files, , , emacs, The GNU Emacs Manual}.
387 388
388@item grep 389@item grep
389@cmindex grep 390@cmindex grep
@@ -422,15 +423,18 @@ and @code{("foo" "bar")} both evaluate to @code{("foo" "bar")}.
422@item locate 423@item locate
423@cmindex locate 424@cmindex locate
424Alias to Emacs's @code{locate} function, which simply runs the external 425Alias to Emacs's @code{locate} function, which simply runs the external
425@command{locate} command and parses the results. @xref{Dired and `find', , , elisp}. 426@command{locate} command and parses the results.
427@xref{Dired and Find, , , emacs, The GNU Emacs Manual}.
426 428
427@item make 429@item make
428@cmindex make 430@cmindex make
429Run @command{make} through @code{compile}. @xref{Running Compilations under Emacs, , , elisp}. 431Run @command{make} through @code{compile}.
432@xref{Compilation, , , emacs, The GNU Emacs Manual}.
430 433
431@item occur 434@item occur
432@cmindex occur 435@cmindex occur
433Alias to Emacs's @code{occur}. @xref{Other Search-and-Loop Commands, , , elisp}. 436Alias to Emacs's @code{occur}.
437@xref{Other Repeating Search, , , emacs, The GNU Emacs Manual}.
434 438
435@item printnl 439@item printnl
436@cmindex printnl 440@cmindex printnl
@@ -648,7 +652,8 @@ variables in command invocations.
648 652
649@item $#var 653@item $#var
650Expands to the length of the value bound to @code{var}. Raises an error 654Expands to the length of the value bound to @code{var}. Raises an error
651if the value is not a sequence (@pxref{Sequences Arrays and Vectors, Sequences, , elisp}). 655if the value is not a sequence
656(@pxref{Sequences Arrays Vectors, Sequences, , elisp, The Emacs Lisp Reference Manual}).
652 657
653@item $(lisp) 658@item $(lisp)
654Expands to the result of evaluating the S-expression @code{(lisp)}. On 659Expands to the result of evaluating the S-expression @code{(lisp)}. On
@@ -680,7 +685,8 @@ any regular expression. So to split on numbers, use @samp{$var["[0-9]+" 10 20]}
680 685
681@item $var[hello] 686@item $var[hello]
682Calls @code{assoc} on @code{var} with @code{"hello"}, expecting it to be 687Calls @code{assoc} on @code{var} with @code{"hello"}, expecting it to be
683an alist (@pxref{Association List Type, Association Lists, , elisp}). 688an alist (@pxref{Association List Type, Association Lists, , elisp,
689The Emacs Lisp Reference Manual}).
684 690
685@item $#var[hello] 691@item $#var[hello]
686Returns the length of the cdr of the element of @code{var} who car is equal 692Returns the length of the cdr of the element of @code{var} who car is equal
@@ -693,9 +699,11 @@ to @code{"hello"}.
693Eshell's globbing syntax is very similar to that of Zsh. Users coming 699Eshell's globbing syntax is very similar to that of Zsh. Users coming
694from Bash can still use Bash-style globbing, as there are no 700from Bash can still use Bash-style globbing, as there are no
695incompatibilities. Most globbing is pattern-based expansion, but there 701incompatibilities. Most globbing is pattern-based expansion, but there
696is also predicate-based expansion. See @ref{Filename Generation, , , zsh} 702is also predicate-based expansion. See
703@ref{Filename Generation, , , zsh, The Z Shell Manual}
697for full syntax. To customize the syntax and behaviour of globbing in 704for full syntax. To customize the syntax and behaviour of globbing in
698Eshell see the Customize@footnote{@xref{Customization Settings, Customize, , elisp}.} 705Eshell see the Customize@footnote{@xref{Easy Customization, , , emacs,
706The GNU Emacs Manual}.}
699groups ``eshell-glob'' and ``eshell-pred''. 707groups ``eshell-glob'' and ``eshell-pred''.
700 708
701@node Input/Output 709@node Input/Output
@@ -757,7 +765,8 @@ can be disabled and enabled without having to unload and reload them,
757and to provide a common parent Customize group for the 765and to provide a common parent Customize group for the
758modules.@footnote{ERC provides a similar module facility.} An Eshell 766modules.@footnote{ERC provides a similar module facility.} An Eshell
759module is defined the same as any other library but one requirement: the 767module is defined the same as any other library but one requirement: the
760module must define a Customize@footnote{@xref{Customization Settings, Customize, , elisp}.} 768module must define a Customize@footnote{@xref{Customization, , ,
769elisp, The Emacs Lisp Reference Manual}.}
761group using @code{eshell-defgroup} (in place of @code{defgroup}) with 770group using @code{eshell-defgroup} (in place of @code{defgroup}) with
762@code{eshell-module} as the parent group.@footnote{If the module has 771@code{eshell-module} as the parent group.@footnote{If the module has
763no user-customizable options, then there is no need to define it as an 772no user-customizable options, then there is no need to define it as an