Andreas Schwab
6674676b22
(explicit-bash-args): New user option.
2002-06-28 18:50:36 +00:00
Francesco Potortì
6ba0fd3eb9
(shell-mode): Use (ring-empty-p rather than (zerop (ring-length.
2002-05-14 08:46:00 +00:00
Francesco Potortì
f19be16338
(shell-mode): Make second part of initialisation
...
depend on whether comint-input-ring is empty, rather than depend
on it being nil.
2002-05-14 08:42:48 +00:00
Richard M. Stallman
1b93984e8f
(shell-replace-by-expanded-directory):
...
If there's already a / at the end, don't add one.
2002-05-10 00:58:27 +00:00
Richard M. Stallman
ee8107c0ea
(shell-mode): Don't reinit comint-input-ring if that was already done.
2002-04-03 15:23:59 +00:00
Colin Walters
8f36167aa6
(toplevel): Revert previous change to use pcomplete.
...
(shell-mode): Ditto.
(shell-pcomplete-setup-done): Remove.
(shell-pcomplete): Ditto.
(shell-pcomplete-reverse): Ditto.
2002-03-11 21:13:14 +00:00
Kim F. Storm
86078cf060
(shell-pcomplete-setup-done): New variable.
...
(shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
(shell-pcomplete-reverse): Ditto.
2002-02-25 21:04:00 +00:00
Kim F. Storm
cdf074531a
(shell-mode-map): Add "Complete" header so completion
...
menu is shown on the menu bar in shell mode.
2002-02-25 10:50:29 +00:00
Colin Walters
d9c62d8f6c
(shell-pcomplete, shell-pcomplete-reverse): New functions.
...
(toplevel): Bind them.
(shell-mode): Don't set `comint-dynamic-complete-functions'; it is
not necessary now that we use pcomplete.
2002-02-23 21:34:11 +00:00
Stefan Monnier
5a45735a4b
(shell): Use shell-file-name.
...
Pop to buffer before calling comint to set COLUMNS properly.
2001-12-02 07:39:23 +00:00
Pavel Janík
1cd7adc68a
Emacs lisp coding convention fixes.
2001-07-14 11:21:08 +00:00
Sam Steingold
847285704d
shell-write-history-on-exit: make sure the error message goes to the right buffer
2001-01-28 03:43:35 +00:00
Eli Zaretskii
f5058b9653
(shell-unquote-argument): If the shell is one of the
...
mentioned in shell-dumb-shell-regexp, don't treat a backslash as a
quote character.
(shell-dumb-shell-regexp): Document that the shells which match
this regexp are supposed to not treat a backslash as a quote
character.
2001-01-27 12:43:56 +00:00
Stefan Monnier
9f299ecba0
(shell-mode): Use define-derived-mode.
2000-11-21 21:33:45 +00:00
Miles Bader
fd1035aaf7
(shell): Add BUFFER argument.
2000-10-27 08:01:52 +00:00
Andrew Innes
4dced92736
(shell-write-history-on-exit): New function.
...
(shell-dumb-shell-regexp): New custom variable.
(shell-mode): Make shell-write-history-on-exit the process
sentinel if shell name matches shell-dumb-shell-regexp.
2000-09-14 21:15:44 +00:00
Miles Bader
cb6e07b14f
(shell-font-lock-keywords): Remove prompt highlighting, since this is
...
now done independently of font-lock mode.
2000-08-22 10:06:55 +00:00
Miles Bader
28bc09d6f8
(shell-prompt-pattern): Doc change.
...
(shell-backward-command): Use line-beginning-position.
2000-08-07 14:51:48 +00:00
Karl Heuer
5762abecd3
Fix maintainer address.
1999-08-16 04:04:27 +00:00
Karl Heuer
5f49d5e88d
(shell-unquote-argument): New function.
...
(shell-directory-tracker): Use shell-unquote-argument.
1999-07-20 04:16:51 +00:00
Karl Heuer
94c34f7a74
Comment fix.
1999-05-17 06:14:44 +00:00
Simon Marshall
8a6387ed6c
* shell.el (shell-dirtrack-verbose): New custom variable.
...
(shell-dirstack-message): Use it.
1999-01-14 10:31:31 +00:00
Richard M. Stallman
fad22e2e9c
(shell-prompt-pattern): Add defcustom.
1998-11-22 15:33:21 +00:00
Richard M. Stallman
362ae0b3f8
(shell-input-autoexpand): Fix customization group.
1998-10-17 15:29:39 +00:00
Andreas Schwab
6f0984e52c
(shell-input-autoexpand): Fix customize type.
1998-09-18 09:20:28 +00:00
Karl Heuer
ad3f2354b6
(shell-file-name-quote-list): Add # to the value.
1998-09-10 15:26:22 +00:00
Richard M. Stallman
a9e73449bf
(shell-copy-environment-variable): Fix doc typo.
1998-06-28 22:43:25 +00:00
Geoff Voelker
4aed037936
(shell-file-name-chars): Add ',' and ':'.
1998-04-17 05:25:04 +00:00
Karl Heuer
2154db49c8
(shell-dirtrack-mode): Renamed from shell-dirtrack-toggle.
...
(dirtrack-mode, shell-dirtrack-toggle): Defined as aliases.
1998-02-25 22:43:03 +00:00
Richard M. Stallman
233f3fb8de
(shell-chdrive-regexp): Likewise.
1997-09-09 02:56:56 +00:00
Richard M. Stallman
c64d8c5548
(shell-snarf-envar, shell-copy-environment-variable): New functions.
1997-08-22 23:37:38 +00:00
Simon Marshall
fdcc1ef736
Make shell-last-dir buffer-local.
1997-08-22 08:08:26 +00:00
Richard M. Stallman
ebe4d555dc
(shell): Doc fix.
1997-08-04 03:06:28 +00:00
Richard M. Stallman
5d9719e6ee
(shell-mode): Do set list-files-directory locally.
1997-07-20 04:13:45 +00:00
Simon Marshall
f8604035c1
change maintainer.
1997-07-15 08:32:51 +00:00
Richard M. Stallman
e9904b596a
(shell-mode): Add a mode-class property.
1997-05-05 00:59:28 +00:00
Simon Marshall
473fbd897f
Use EVAL form for shell-prompt-pattern.
1997-04-17 07:35:38 +00:00
Richard M. Stallman
ed366e8726
Add defgroup's; use defcustom for user vars.
1997-04-13 02:39:56 +00:00
Richard M. Stallman
6414073a99
(shell-mode): Don't set list-buffers-directory.
1997-01-18 06:10:10 +00:00
Richard M. Stallman
fbcb305501
(shell-mode): Don't assume /dev/null is its own truename.
1996-08-26 15:33:13 +00:00
Richard M. Stallman
76f63ea09c
(shell-file-name-chars): Was shell-file-name-regexp.
...
(shell-mode): Set comint-file-name-chars to this variable.
1996-08-01 22:35:03 +00:00
Simon Marshall
39d1a2ce04
Bind shell-file-name-quote-list and shell-file-name-regexp specially for MSDOG.
1996-07-12 07:34:20 +00:00
Richard M. Stallman
32d0121276
(shell-directory-tracker): Use comint-substitute-in-file-name to
...
handle system-specific syntax.
(shell-chdrive-regexp): New variable.
(shell-mode): Update doc string.
(shell-directory-tracker): Detect drive changes.
Update doc string.
1996-06-09 20:31:51 +00:00
Richard M. Stallman
da6a48c9d1
(shell-match-partial-variable): Doc fix.
1996-06-04 15:27:52 +00:00
Simon Marshall
221ca406ba
Resync directories properly for the ksh.
1996-02-03 13:38:32 +00:00
Karl Heuer
6048fac7bf
(shell-dirstack-message): Pass proper format string to message.
1996-01-25 00:57:10 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Karl Heuer
5402169506
(shell-directory-tracker): Check for terminator after
...
cd, pushd, or popd, so that we don't try to do directory tracking
on things like "cdump".
Don't use \\s patterns inside brackets.
1995-06-19 22:54:58 +00:00
Richard M. Stallman
1458efa037
(shell-mode): Make shell-directory-tracker a hook function locally only.
1995-06-14 12:05:55 +00:00
Simon Marshall
525c5be7dd
check comint-input-ring-file-name for the empty string too.
1995-06-13 08:16:08 +00:00