1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00
Commit Graph

101 Commits

Author SHA1 Message Date
Richard M. Stallman
5945a1f78f (shell-font-lock-keywords): New variable.
(shell-mode): Set font-lock-keywords locally.
1994-10-07 10:04:06 +00:00
Richard M. Stallman
d87146724c (shell-strip-ctrl-m): Function moved to comint.el and renamed. 1994-10-03 01:10:57 +00:00
Richard M. Stallman
3f9e315acf (shell-mode): Compare the truename with /dev/null. 1994-10-02 20:11:07 +00:00
Richard M. Stallman
1ed30e752a (shell-mode-map): Inherit comint-mode-map, but copy the completion menu. 1994-09-18 20:28:23 +00:00
Richard M. Stallman
a8e0effbfb (shell-command-regexp): Use a simpler faster regexp. 1994-09-03 23:05:04 +00:00
Richard M. Stallman
8137dca99f Comment change. 1994-07-16 21:31:43 +00:00
Richard M. Stallman
3c24374d14 (shell-mode): Don't read history from /dev/null. 1994-07-01 20:45:59 +00:00
Richard M. Stallman
4a02b552f1 (shell-prefixed-directory-name): Do nothing if
comint-file-name-prefix is empty.  Do not inline.
1994-06-23 23:12:13 +00:00
Richard M. Stallman
bb55b64df0 (shell-strip-ctrl-m): Strip multiple ^Ms. 1994-05-22 00:51:36 +00:00
Karl Heuer
19134c18f4 (shell-forward-command, shell-backward-command): Fix regexp. 1994-05-07 01:22:50 +00:00
Richard M. Stallman
c63e83a4ee (shell-dirstack-query): Defaults to nil.
(shell-mode): Guesses shell-dirstack-query based on shell name.
1994-04-24 10:50:41 +00:00
Karl Heuer
5109bfb09f (shell-mode-map): Fix menu bar options.
(shell-replace-by-expanded-directory): Don't print message.
1994-04-14 22:49:23 +00:00
Karl Heuer
7b2db0a013 (shell-dynamic-complete-as-command): Don't match ignored-extensions if it's nil. 1994-04-14 19:19:30 +00:00
Richard M. Stallman
56783585a4 (shell-strip-ctrl-m): New command.
(shell-mode): Doc fix.
(shell-dynamic-complete-as-command): Use comint-dynamic-simple-complete.
1994-03-24 07:51:27 +00:00
Richard M. Stallman
a867a90a32 (shell-dynamic-complete-as-command): Make ignored-extensions
nil if comint-completion-fignore is nil.
1994-03-10 18:54:44 +00:00
Richard M. Stallman
e11284d5d2 (shell-completion-fignore): New variable.
(shell-mode): Use it to set comint-completion-fignore.
(shell-dynamic-complete-as-command): Use it.
1994-03-08 17:43:07 +00:00
Richard M. Stallman
ba02c1673c Rename comint-input-filter-functions and
comint-output-filter-functions.

(shell-mode): Put dir tracker on comint-input-filter-functions,
not ...output...

(shell-directory-tracker, shell-process-popd):
Call just error, not message and error.
1994-03-03 23:57:27 +00:00
Richard M. Stallman
988a4d60ce (shell-dynamic-complete-functions): New variable.
(shell-mode): Use it to set comint-dynamic-complete-functions.

(shell-mode-map): Define menu-bars for command,
variable and directory completion/expansion.

(shell-get-current-command, shell-after-partial-filename): Functions deleted.

(shell-dynamic-complete-environment-variable,
shell-replace-by-expanded-directory): New commands.
(shell-match-partial-variable,
shell-dynamic-complete-as-environment-variable): New functions.
1994-03-03 23:37:27 +00:00
Richard M. Stallman
56eb10608f (shell-delimiter-argument-list): Now has chars, not strings. 1994-03-02 22:02:56 +00:00
Richard M. Stallman
b493a9b2af (shell-dirtrackp): Variable definition added. 1994-03-02 16:55:16 +00:00
Richard M. Stallman
9376442d17 (shell-mode-map): Use copy-keymap. 1994-03-02 16:51:02 +00:00
Richard M. Stallman
8921525e34 (shell-get-current-command): Make regexp more selective. 1994-02-10 08:35:48 +00:00
Richard M. Stallman
4f99443b8e (shell-input-autoexpand): New variable.
(shell-mode): Set comint-input-autoexpand.
(shell-mode): Don't call shell-dirstack-message.
1994-01-09 17:11:57 +00:00
Roland McGrath
3db9a4ebb4 (shell-cd): Function removed.
(shell-prefixed-directory-name): New defsubst.
(shell-process-popd, shell-process-pushd, shell-process-cd,
shell-resync-dirs): Apply it to ARG when it's a directory name.
Use (concat comint-file-name-prefix "~") in place of (getenv "HOME") or "~".
Call cd instead of shell-cd.
1994-01-06 17:02:00 +00:00
Richard M. Stallman
b0f867435d (shell-backward-command): If comint-bol moves forward,
use real beginning of line instead.
Use skip-syntax-backward properly.
If backward search finds a separator, move forward over it.
(shell-forward-command): Call skip-syntax-backward properly.
1993-12-24 05:42:58 +00:00
Richard M. Stallman
f5a131d8fd (shell-mode): Pass t to comint-read-input-ring. 1993-12-23 03:41:22 +00:00
Richard M. Stallman
3bede93e15 Comment change. 1993-11-25 02:37:21 +00:00
Richard M. Stallman
5394cb4470 Doc fixes. 1993-11-08 23:40:37 +00:00
Richard M. Stallman
d76b71afe3 (shell-after-partial-filename): Renamed from
shell-after-partial-pathname.

Commented out shell-load-hooks.

(shell-after-partial-pathname): New subroutine.

Renamed shell-command-execonly to
shell-completion-execonly for consistency.

(shell-read-input-ring, shell-input-ring-file-name):
Moved to, and renamed in, comint.el.

(shell-dynamic-complete-command):  Make sure local
completion-ignore-case is nil.

(shell-mode): Set buffer-local variable paragraph-start
to comint-prompt-regexp so paragraph motion/mark commands work on
output groups.
Set comint-after-partial-pathname to it.
(shell-read-input-ring): Use find-file-noselect.

(shell-match-cmd-w/optional-arg): Removed.

(shell-delimiter-argument-list): New variable.
(shell-input-ring-file-name): New variable.

(shell-mode-map): Changed file name completions listing
binding to new name comint-dynamic-list-filename-completions.

(shell-mode): Call new function shell-read-input-ring
and shell-dirstack on start up.  Doc fix for new functionality.

(shell-mode): Set shell-input-ring-file-name depending
on the command that was invoked for the inferior shell.  Set
comint-delimiter-argument-list to shell-delimiter-argument-list.

(shell-read-input-ring): New function.

(shell-directory-tracker): Use comint-arguments.

(shell-front-match): Removed.
(shell-match-cmd-w/optional-arg): Removed.

(shell-process-popd): Fixed bug when numeric argument
equal to length of stack including current directory.
(shell-process-pushd): Fixed missing ()s in cond.

(shell-dynamic-complete-command): Uses exec-path minus
trailing emacs library path.  Uses "." for nil elements in
exec-path.  Uses string-match rather than funcall to test
candidate extensions.  Uses member on completions list rather than
file-exists-p to test for existence.  Uses file-directory-p rather
than funcall to test for directory.  Uses directories only if in
current directory.  Uses comint-dynamic-list-completions.


(shell-command-regexp, shell-command-execonly)
(shell-pushd-tohome, shell-pushd-dextract)
(shell-pushd-dunique): New variables.

(shell-mode-map): Bound shell-forward/backward-command
to C-c C-f and C-c C-b.

(shell-mode): Set comint variables for which
shells have different values:
comint-get-current-command, comint-dynamic-complete-command.

(shell-directory-tracker): Parse through
command sequences for directory commands.
(shell-process-popd): Signal error if can't
process argument/stack.  Fixed bug when no argument and no stack.
(shell-process-cd): Signal error if can't process argument.
(shell-process-pushd): Signal error if can't
process argument/stack.  Handle shell-pushd-tohome,
shell-pushd-dextract, and shell-pushd-dunique.

(shell-forward-command, shell-backward-command)
(shell-dynamic-complete-command): New commands.
1993-10-22 02:53:24 +00:00
Roland McGrath
94f9dcbecf (shell-dirstack-message): Recognize ~ by matching the expansion of "~" with
comint-filename-prefix prepended.  Strip comint-filename-prefix from elts.
1993-09-08 07:39:14 +00:00
Roland McGrath
9dac043349 (shell-cd): New function, like `cd' but prepend comint-filename-prefix.
(shell-resync-dirs, shell-process-cd, shell-process-pushd,
shell-process-popd): Use shell-cd in place of cd.
1993-09-08 07:06:46 +00:00
Roland McGrath
36df718cbf (shell-resync-dirs, shell-process-cd, shell-process-pushd,
shell-process-popd): Prepend comint-filename-prefix to directory names when
calling cd.
1993-09-08 07:01:42 +00:00
Jim Blandy
ac75ef20d2 * shell.el (shell-process-pushd): Fix syntax error in
condition-case.

	* shell.el (shell-prompt-pattern): Don't match more than one line.
	Doc fix.
1993-07-18 06:20:47 +00:00
Richard M. Stallman
cb96d15d59 (shell-prompt-pattern): Use defvar. 1993-06-01 21:41:11 +00:00
Richard M. Stallman
24fdffaaa0 (shell-prompt-pattern): Undo last change. 1993-04-29 14:23:22 +00:00
Noah Friedman
42d5c01e21 *** empty log message *** 1993-04-24 10:10:19 +00:00
Eric S. Raymond
31e1d9206b All fsets changed to defaliases. 1993-04-23 06:51:44 +00:00
Roland McGrath
8f95f0ced4 (shell-mode): isationization (doc fix). 1993-04-19 21:26:07 +00:00
Roland McGrath
bd5201e334 (shell-mode): Capitalize mode name. 1993-04-19 21:19:44 +00:00
Jim Blandy
b7fc702ec2 Doc fix. 1993-04-07 15:14:21 +00:00
Eric S. Raymond
fa8f1b2563 Brent Benson's patch to support `cd -'. 1993-03-25 01:55:24 +00:00
Richard M. Stallman
62c9fad7e2 (shell): Doc fix. 1993-01-15 07:02:35 +00:00
Richard M. Stallman
fbc270e73a entered into RCS 1992-09-04 07:35:10 +00:00
Richard M. Stallman
5336e82901 *** empty log message *** 1992-08-04 05:07:43 +00:00
Eric S. Raymond
6d74b528d0 *** empty log message *** 1992-07-22 03:58:44 +00:00
Eric S. Raymond
d7b4d18fd4 *** empty log message *** 1992-07-17 20:24:00 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Eric S. Raymond
630cc4634d *** empty log message *** 1992-07-15 21:31:44 +00:00
Eric S. Raymond
c88ab9ce4a *** empty log message *** 1992-05-30 21:11:25 +00:00
Jim Blandy
a9ec2adb9c *** empty log message *** 1991-05-08 07:47:45 +00:00
David Lawrence
be9b65ac33 Initial revision 1990-11-05 10:06:02 +00:00