Colin Walters
1ae720ac02
(eshell-parse-variable-ref): Use `make-temp-file'.
2002-03-01 01:47:48 +00:00
Pavel Janík
fd40c8e3bf
(eshell-var-initialize): Do not use make-local-hook.
2002-02-16 09:44:00 +00:00
Pavel Janík
d4f72c6af8
(eshell-show-usage-metrics): Do not use make-local-hook.
2002-02-16 09:43:38 +00:00
Pavel Janík
c2dff9ce0a
(eshell-mode): Do not use make-local-hook.
2002-02-16 09:43:17 +00:00
Pavel Janík
e2e1cf2889
(eshell-io-initialize): Do not use make-local-hook.
2002-02-16 09:42:53 +00:00
Pavel Janík
b29acea616
(eshell-ext-initialize): Do not use make-local-hook.
2002-02-16 09:42:35 +00:00
Pavel Janík
252bfbdc9a
(eshell-cmd-initialize): Do not use make-local-hook.
2002-02-16 09:42:11 +00:00
Pavel Janík
ff33c23537
(eshell-unix-initialize): Do not use make-local-hook.
2002-02-16 09:41:35 +00:00
Pavel Janík
9d52d4b173
(eshell-smart-initialize): Do not use make-local-hook.
2002-02-16 09:41:11 +00:00
Pavel Janík
958b2a54be
(eshell-rebind-initialize): Do not use make-local-hook.
2002-02-16 09:40:40 +00:00
Pavel Janík
ba9c20f8bb
(eshell-prompt-initialize): Do not use make-local-hook.
2002-02-16 09:40:19 +00:00
Pavel Janík
df1195a059
(eshell-pred-initialize): Do not use make-local-hook.
2002-02-16 09:39:56 +00:00
Pavel Janík
53c2ad96d5
(eshell-hist-initialize): Do not use make-local-hook.
2002-02-16 09:39:14 +00:00
Pavel Janík
b79bb65a5a
(eshell-glob-initialize): Do not use make-local-hook.
2002-02-16 09:38:46 +00:00
Pavel Janík
35a3b29715
(eshell-dirs-initialize): Do not use make-local-hook.
2002-02-16 09:38:26 +00:00
Pavel Janík
90100aac65
(eshell-cmpl-initialize): Do not use make-local-hook.
2002-02-16 09:37:54 +00:00
Pavel Janík
2772b8b0c5
(eshell-alias-initialize): Do not use make-local-hook.
2002-02-16 09:36:43 +00:00
John Wiegley
7a3bfc3248
(eshell-hist-initialize): When in the minibuffer, use the global value
...
of `eshell-history-ring', and never save it to disk, or ask to save it
to disk. This allows users of session.el to control whether its
global state should be persisted or not.
(eshell-add-command-to-history): Don't write Eshell's history out to
disk, let the governing mode control that upon exit.
(eshell-add-input-to-history): New function, with most of the code
from eshell-add-to-history.
(eshell-add-command-to-history): New function, to record in
eshell-history the commands run via eshell-command.
(eshell-add-to-history): Call eshell-add-command-to-history to do most
of the work.
2002-02-16 07:11:05 +00:00
John Wiegley
eefd92208d
(eshell-command): Before reading from the minibuffer, add
...
eshell-add-command-to-history to minibuffer-exit-hook, and remove it
after read-from-minibuffer returns.
2002-02-16 07:10:35 +00:00
John Wiegley
d166533684
(eshell-external-command): Added a fix for XEmacs' new dired.el, which
...
adds a global entry in the `file-name-handler-alist'.
(eshell-script-interpreter): Allow whitespace after the #! of a shell
interpretor specification.
2002-02-16 06:43:43 +00:00
Eli Zaretskii
4c334f5b15
(eshell-eval-command): If eshell-resume-eval
...
returns t, don't treat that as an error.
2002-01-26 12:06:47 +00:00
Pavel Janík
b9d67a772d
Fix typo.
2002-01-12 21:41:26 +00:00
Richard M. Stallman
1fd714a410
(various face definitions): Use :weight, not :bold.
2001-12-31 20:44:44 +00:00
John Wiegley
9f89e09863
(eshell/cat): Do a quick test if something is a regular file, before
...
checking if it is a directory or symlink. This avoids a call to
eshell-file-attributes, which can be expensive in some situations.
2001-10-17 02:00:20 +00:00
John Wiegley
ef94bd99e4
(eshell-ls-dired-initial-args): Added an extra customization variable,
...
to differentiate ls-in-dired from regular uses of ls.
2001-10-17 02:00:00 +00:00
Eli Zaretskii
c3ea2deb1f
(eshell-shuffle-files, eshell-shuffle-files):
...
Use `equal', not `=', since the device number can be a cons cell.
2001-09-14 16:45:57 +00:00
Eli Zaretskii
1f9581b61c
(eshell-shuffle-files): Compare inodes with
...
`equal' instead of `=', since they can be cons cells. From Nils
Goesche <cartan@cartan.de>.
2001-09-10 20:40:42 +00:00
Gerd Moellmann
a07c7ade25
(eshell-send-invisible): Renamed from
...
send-invisible, which is already defined in Comint.
(eshell-watch-for-password-prompt): Use it.
2001-07-16 12:59:04 +00:00
Pavel Janík
60370d4073
Some fixes to follow coding conventions.
2001-07-15 19:53:53 +00:00
John Wiegley
01c2f7d0e6
Added a version string.
2001-06-19 20:36:16 +00:00
John Wiegley
bb155908ec
Don't load in esh-util if it's already loaded. Also, added a comment
...
describing how to greatly speedup Eshell loadup time, by concatenating
together all of Eshell's .elc files.
2001-06-19 20:25:18 +00:00
John Wiegley
0c00c5acab
Disabled a test that often yields false failures.
2001-06-18 20:03:33 +00:00
John Wiegley
05a685722c
(eshell-exit-success-p): Use a string-match to test if the last
...
command was Lisp or not.
(eshell-rewrite-if-command): "if" syntax is "if A B C", not "if A B x
C".
2001-06-09 05:24:15 +00:00
John Wiegley
4c6a53caf7
Removed an empty comment.
2001-06-09 05:23:38 +00:00
John Wiegley
1228240f39
(eshell-explicit-command-char): A new configuration variable, which
...
determines the initial character that forces use of an external
version of a command. The default is *, but may be set to \, for
example.
(eshell-explicit-command): Use `eshell-explicit-command-char' instead
of ?*.
2001-05-18 16:40:11 +00:00
John Wiegley
94d136339d
(eshell/which): Use `eshell-explicit-command-char' instead of ?*.
2001-05-18 16:39:49 +00:00
John Wiegley
a129972c07
(eshell-completion-command-name, eshell-complete-commands-list): Use
...
`eshell-explicit-command-char' instead of ?*.
2001-05-18 16:39:29 +00:00
John Wiegley
ea7974a656
Fixed reference to free variable.
2001-05-10 03:52:13 +00:00
John Wiegley
90d94608c6
(eshell-convert-numeric-arguments): Annotated the documentation string
...
to tell users about `eshell-no-numeric-conversions'.
2001-05-10 03:51:34 +00:00
John Wiegley
3cb27fd7cd
(eshell-lisp-command): Don't perform numeric conversions if a Lisp
...
function has the property `eshell-no-numeric-conversions' set to a
non-nil value.
2001-05-10 03:50:53 +00:00
John Wiegley
127fd3c222
Set the property `eshell-no-numeric-conversions' on the following
...
functions (which all deal with filesystem entities, and never Lisp
numerical values): eshell/cd, eshell/pushd, eshell/popd, eshell/ls,
eshell/source, eshell/., eshell/man, eshell/rm, eshell/mkdir,
eshell/rmdir, eshell/mv, eshell/cp, eshell/ln, eshell/cat,
eshell/make, eshell/diff, eshell/locate, eshell/occur, eshell/which,
eshell/addpath.
2001-05-10 03:47:24 +00:00
John Wiegley
cee38ad6ec
(eshell-number-regexp): Now that number conversions only happen for
...
Lisp function calls, the number regexp should now match all integer
and floating point forms.
2001-05-10 03:30:15 +00:00
John Wiegley
36e813279d
Disable eshell-stop-process' and
eshell-continue-process', since
...
they are both nonfunctional at the moment.
(eshell-proc-initialize): Don't bind keys for `eshell-stop-process' or
`eshell-continue-process'.
2001-05-10 03:29:55 +00:00
John Wiegley
5aec6b055c
(eshell-lisp-command): Before calling a Lisp function, convert any
...
string arguments that have been tagged as "numbers", by calling
string-to-number.
2001-05-10 03:29:36 +00:00
John Wiegley
8634b66ada
(eshell-parse-argument-hook): If a number is encountered as an
...
argument, don't convert it right away, but tag the first character of
the string with the text properties `number', which signifies to
`eshell-lisp-command' that the argument should be passed through
`string-to-number' if it is actually used in the call to a Lisp
function.
2001-05-10 03:29:19 +00:00
John Wiegley
b2c102f30b
(eshell-shuffle-files): Apply `directory-file-name' before calling
...
`file-name-directory'.
2001-05-10 03:29:06 +00:00
John Wiegley
734f7362aa
(eshell-add-to-history): Reference to `eshell-history-ring' needed to
...
be `eshell-history-index'.
2001-05-10 03:28:51 +00:00
John Wiegley
2e88b53c21
(eshell-find-alias-function): Corrected the fix from last night, since
...
it wasn't finding eshell/cd.
2001-04-24 20:48:14 +00:00
John Wiegley
c7b1b508e5
(eshell-find-alias-function): Return t in the case where the function
...
was defined in a file, but not part of an eshell module.
2001-04-24 06:33:40 +00:00
John Wiegley
ef59cfc663
(eshell/diff): Fixed problems that were occurring with Emacs 21's
...
diff.el/compile.el interaction layer.
2001-04-24 06:31:46 +00:00