aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/shell.el
Commit message (Collapse)AuthorAgeFilesLines
* (shell): If we create a new shell buffer,Richard M. Stallman1995-01-271-2/+3
| | | | select that buffer even if it has been renamed.
* Doc fixes (simon's email address and shell-mode)Simon Marshall1995-01-101-7/+10
|
* Comment change.Richard M. Stallman1994-11-191-32/+0
|
* * shell.el: (shell-font-lock-keywords): Add `\n' to [^] regexps.Simon Marshall1994-10-121-3/+4
| | | | (shell-mode): Set font-lock-defaults.
* (shell-font-lock-keywords): New variable.Richard M. Stallman1994-10-071-0/+8
| | | | (shell-mode): Set font-lock-keywords locally.
* (shell-strip-ctrl-m): Function moved to comint.el and renamed.Richard M. Stallman1994-10-031-14/+0
|
* (shell-mode): Compare the truename with /dev/null.Richard M. Stallman1994-10-021-1/+1
|
* (shell-mode-map): Inherit comint-mode-map, but copy the completion menu.Richard M. Stallman1994-09-181-1/+3
|
* (shell-command-regexp): Use a simpler faster regexp.Richard M. Stallman1994-09-031-4/+3
|
* Comment change.Richard M. Stallman1994-07-161-1/+1
|
* (shell-mode): Don't read history from /dev/null.Richard M. Stallman1994-07-011-0/+2
|
* (shell-prefixed-directory-name): Do nothing ifRichard M. Stallman1994-06-231-6/+8
| | | | comint-file-name-prefix is empty. Do not inline.
* (shell-strip-ctrl-m): Strip multiple ^Ms.Richard M. Stallman1994-05-221-3/+2
|
* (shell-forward-command, shell-backward-command): Fix regexp.Karl Heuer1994-05-071-2/+2
|
* (shell-dirstack-query): Defaults to nil.Richard M. Stallman1994-04-241-6/+8
| | | | (shell-mode): Guesses shell-dirstack-query based on shell name.
* (shell-mode-map): Fix menu bar options.Karl Heuer1994-04-141-27/+22
| | | | (shell-replace-by-expanded-directory): Don't print message.
* (shell-dynamic-complete-as-command): Don't match ignored-extensions if it's nil.Karl Heuer1994-04-141-1/+2
|
* (shell-strip-ctrl-m): New command.Richard M. Stallman1994-03-241-37/+24
| | | | | (shell-mode): Doc fix. (shell-dynamic-complete-as-command): Use comint-dynamic-simple-complete.
* (shell-dynamic-complete-as-command): Make ignored-extensionsRichard M. Stallman1994-03-101-2/+3
| | | | nil if comint-completion-fignore is nil.
* (shell-completion-fignore): New variable.Richard M. Stallman1994-03-081-6/+17
| | | | | (shell-mode): Use it to set comint-completion-fignore. (shell-dynamic-complete-as-command): Use it.
* Rename comint-input-filter-functions andRichard M. Stallman1994-03-031-8/+8
| | | | | | | | | | 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.
* (shell-dynamic-complete-functions): New variable.Richard M. Stallman1994-03-031-73/+172
| | | | | | | | | | | | | | (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.
* (shell-delimiter-argument-list): Now has chars, not strings.Richard M. Stallman1994-03-021-4/+3
|
* (shell-dirtrackp): Variable definition added.Richard M. Stallman1994-03-021-3/+3
|
* (shell-mode-map): Use copy-keymap.Richard M. Stallman1994-03-021-2/+2
|
* (shell-get-current-command): Make regexp more selective.Richard M. Stallman1994-02-101-1/+1
|
* (shell-input-autoexpand): New variable.Richard M. Stallman1994-01-091-2/+14
| | | | | (shell-mode): Set comint-input-autoexpand. (shell-mode): Don't call shell-dirstack-message.
* (shell-cd): Function removed.Roland McGrath1994-01-061-18/+22
| | | | | | | | (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.
* (shell-backward-command): If comint-bol moves forward,Richard M. Stallman1993-12-241-3/+5
| | | | | | | 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.
* (shell-mode): Pass t to comint-read-input-ring.Richard M. Stallman1993-12-231-2/+2
|
* Comment change.Richard M. Stallman1993-11-251-10/+1
|
* Doc fixes.Richard M. Stallman1993-11-081-12/+12
|
* (shell-after-partial-filename): Renamed fromRichard M. Stallman1993-10-221-190/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (shell-dirstack-message): Recognize ~ by matching the expansion of "~" withRoland McGrath1993-09-081-4/+13
| | | | comint-filename-prefix prepended. Strip comint-filename-prefix from elts.
* (shell-cd): New function, like `cd' but prepend comint-filename-prefix.Roland McGrath1993-09-081-8/+12
| | | | | (shell-resync-dirs, shell-process-cd, shell-process-pushd, shell-process-popd): Use shell-cd in place of cd.
* (shell-resync-dirs, shell-process-cd, shell-process-pushd,Roland McGrath1993-09-081-6/+8
| | | | | shell-process-popd): Prepend comint-filename-prefix to directory names when calling cd.
* * shell.el (shell-process-pushd): Fix syntax error inJim Blandy1993-07-181-3/+8
| | | | | | | condition-case. * shell.el (shell-prompt-pattern): Don't match more than one line. Doc fix.
* (shell-prompt-pattern): Use defvar.Richard M. Stallman1993-06-011-1/+1
|
* (shell-prompt-pattern): Undo last change.Richard M. Stallman1993-04-291-83/+14
|
* *** empty log message ***Noah Friedman1993-04-241-1/+1
|
* All fsets changed to defaliases.Eric S. Raymond1993-04-231-2/+2
|
* (shell-mode): isationization (doc fix).Roland McGrath1993-04-191-3/+3
|
* (shell-mode): Capitalize mode name.Roland McGrath1993-04-191-1/+1
|
* Doc fix.Jim Blandy1993-04-071-1/+1
|
* Brent Benson's patch to support `cd -'.Eric S. Raymond1993-03-251-11/+23
|
* (shell): Doc fix.Richard M. Stallman1993-01-151-1/+1
|
* entered into RCSRichard M. Stallman1992-09-041-5/+5
|
* *** empty log message ***Richard M. Stallman1992-08-041-3/+2
|
* *** empty log message ***Eric S. Raymond1992-07-221-3/+2
|
* *** empty log message ***Eric S. Raymond1992-07-171-0/+1
|