Commit graph

23 commits

Author SHA1 Message Date
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