1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-21 21:20:44 -08:00
Commit graph

153 commits

Author SHA1 Message Date
Richard M. Stallman
d91f490d2b (comint-arguments): Rewrite for speed.
Don't keep parsing once we have enough args.
1994-08-24 23:31:55 +00:00
Richard M. Stallman
7782a0c643 (comint-password-prompt-regexp): Handle PGP prompt. 1994-07-31 20:47:15 +00:00
Richard M. Stallman
2b5a5ed300 (comint-dynamic-list-completions): Listify the key
sequence to be put back.
1994-07-25 21:10:10 +00:00
Richard M. Stallman
a77db92ba6 Comment change.
(comint-bol): Doc fix.
1994-07-16 21:31:11 +00:00
Richard M. Stallman
5bd436259d (comint-mode-map): Move comint-bol to C-c C-a. 1994-07-16 21:28:30 +00:00
Noah Friedman
654d89d78e comint-password-prompt-regexp: New variable.
comint-watch-for-password-prompt: Use it.
1994-06-29 18:21:34 +00:00
Richard M. Stallman
dcdc526cc3 (comint-send-input): Update markers before actually sending the input. 1994-06-25 22:27:06 +00:00
Richard M. Stallman
dc0825dbe3 (comint-read-input-ring): Use ring-insert-at-beginning.
Insert most recent string first and only as many as we need.
Don't visit the file, just read it.
1994-06-23 23:11:23 +00:00
Richard M. Stallman
dd3038f6b2 (comint-dynamic-list-completions): No space in *Completions*. 1994-06-10 23:02:04 +00:00
Richard M. Stallman
22f33dd9d2 (comint-dynamic-complete-as-filename)
(comint-dynamic-complete-filename): Suppress most messages
when completing in the minibuffer.
1994-06-02 16:29:05 +00:00
Richard M. Stallman
e485515b07 (comint-read-input-ring): Make regexp stricter. 1994-05-30 12:23:10 +00:00
Richard M. Stallman
a4ab7e6973 Comment change. 1994-05-05 03:58:49 +00:00
Richard M. Stallman
baae3c4ef0 (comint-mode): Remove space after `:' in mode-line-process. 1994-04-24 08:14:46 +00:00
Richard M. Stallman
4bec19b298 (comint-mode-map): comint-dynamic-list-input-ring now on C-c C-l. 1994-04-23 06:52:33 +00:00
Richard M. Stallman
a9a6f83ff3 (comint-mode): Set comint-last-input-start and
comint-last-input-end to valid markers.

(comint-send-input): Use comint-output-filter to run
functions on comint-output-filter-functions.

(comint-kill-output): Use delete-region to remove, and
comint-output-filter to insert.
1994-04-21 06:42:24 +00:00
Karl Heuer
8d3d2a0cdd (comint-replace-by-expanded-history): Expand only at prompt.
Pass SILENT flag to comint-replace-by-expanded-history-before-point.
1994-04-19 00:51:24 +00:00
Karl Heuer
63ab7e8f1a Doc fix. 1994-04-15 19:25:34 +00:00
Karl Heuer
5a336c131f (comint-replace-by-expanded-history-before-point): Advance point
unconditionally.
1994-04-14 20:16:54 +00:00
Karl Heuer
f79f58bc29 (comint-dynamic-complete-as-filename): Simplify. 1994-04-13 16:18:35 +00:00
Karl Heuer
ca60072272 (comint-dynamic-complete-as-filename): Save end of match before calling other
functions.  Handle non-match too.
1994-04-11 20:30:44 +00:00
Karl Heuer
1f9e761d20 (comint-exec-1): Handle both termcap and terminfo. 1994-04-08 06:57:27 +00:00
Richard M. Stallman
21d9bf27d7 (comint-run): New command.
(comint-watch-for-password-prompt): New function.
(comint-mode, comint-show-output): Doc fix.

(comint-replace-by-expanded-history): Add enable property.
1994-03-24 07:50:47 +00:00
Richard M. Stallman
497513adfb (comint-completion-fignore): New variable.
(comint-dynamic-complete-as-filename): Use it.
1994-03-08 17:43:37 +00:00
Karl Heuer
acdf173af7 Comment fix. 1994-03-07 20:21:56 +00:00
Richard M. Stallman
fb9ab28af0 (comint-input-filter-functions)
(comint-output-filter-functions):
Renamed from ...-sentinel-functions.
1994-03-03 23:53:46 +00:00
Richard M. Stallman
1b4218268d (comint-after-partial-filename-command,
comint-dynamic-complete-filename-command,
comint-dynamic-complete-command-command,
comint-get-current-command): Deleted.

(comint-input-sentinel-functions): Replaces comint-input-sentinel.
(comint-input-sentinel): Deleted.
(comint-send-input): Run hooks on comint-input-sentinel-functions.
(comint-output-sentinel-functions): Rename from comint-output-filter-functions.

(comint-dynamic-complete-functions): New variable.

(comint-mode-map): Removed menu-bar for command and variable completion.

(comint-exec-1): Add to environment by hand; avoids using setenv.

(comint-replace-by-expanded-history-before-point):
Renamed from comint-replace-by-expanded-history.
(comint-replace-by-expanded-history): New wrapper definition.

(comint-word): New function.
(comint-match-partial-filename): Use it.
(comint-after-partial-filename, comint-match-partial-variable,
comint-dynamic-complete-variable): Deleted.

(comint-dynamic-complete): Run hooks on comint-dynamic-complete-functions.

(comint-dynamic-complete-as-filename): Renamed from
function comint-dynamic-complete-filename.
(comint-dynamic-complete-filename): New wrapper definition.

(comint-dynamic-simple-complete): Return a symbol representing completion.
1994-03-03 23:30:57 +00:00
Richard M. Stallman
3f4b7c3602 (comint-arguments): Use just one regexp to find end of arg
and detect whether it has any quotes.
(comint-delim-arg): Don't check for quotes.  Use loop, not regexps.
(comint-delimiter-argument-list): List now has chars, not strings.
1994-03-02 22:00:24 +00:00
Richard M. Stallman
5c07a9505f (full-copy-sparse-keymap): Function deleted.
(comint-mode-map): Rename `input' to `inout' as menu key.
Don't put `output' in menu-bar-final-items.
1994-03-02 16:45:12 +00:00
Karl Heuer
e009771e2e (comint-exec-1): Force a local copy of the environment. 1994-02-26 02:24:51 +00:00
Richard M. Stallman
815c1a208b (comint-show-output): Leave point at start of output, but push the mark. 1994-01-15 13:02:16 +00:00
Richard M. Stallman
94bd657324 (comint-input-autoexpand): Make default nil. 1994-01-09 17:12:18 +00:00
Roland McGrath
424532459b (comint-show-output): Use (point-max) rather than erring when the
comint-last-input-end marker points nowhere.
1994-01-06 20:24:06 +00:00
Richard M. Stallman
7d5d472e5c (comint-last-output-start): Add defvar.
(comint-dynamic-list-completions): Use read-key-sequence.
Special handling for mouse-choose-completion.
1994-01-03 10:46:53 +00:00
Richard M. Stallman
3f849529a6 (comint-next-matching-input-from-input): Doc fix. 1993-12-24 02:40:33 +00:00
Richard M. Stallman
d637fa5679 (comint-read-input-ring): New arg SILENT.
(comint-replace-by-expanded-history): New arg SILENT.
(comint-send-input): Pass t as new arg.

(comint-mode-map): Put comint-show-output on C-M-l.

(comint-preinput-scroll-to-bottom): Removed calls to
window-minibuffer-p and 'not-minibuf arg to walk-windows.
Removed mouse-yank-at-click from command list and doc string.
Removed duplicate test for comint-scroll-to-bottom-on-input (scroll).
Removed test for 'this within walk-windows code.

(comint-postoutput-scroll-to-bottom):
Don't select a different buffer permanently.

(comint-prompt-regexp): Fixed documentation.

(comint-replace-by-expanded-history):
Use skip-chars-forward to advance in main loop.
1993-12-23 03:39:27 +00:00
Richard M. Stallman
5f46b51a31 (comint-send-input): Don't call comint-arguments
to set HISTORY, even if comint-input-autoexpand is not `history'.
When comint-input-autoexpand is `history', undo part of prev change:
do put INPUT back in the buffer in place of expanded hist.
1993-11-25 04:14:10 +00:00
Richard M. Stallman
33956d30b7 (comint-send-input): Don't call comint-arguments while
computing the value for history.
(comint-delim-arg): Treat quoted delim chars as non-delims.
1993-11-24 05:12:36 +00:00
Richard M. Stallman
0744bf6404 (comint-preinput-scroll-to-bottom): If SCROLL is `this',
don't bother with walk-windows; just hack the selected window.
1993-11-23 07:52:33 +00:00
Richard M. Stallman
c541b39e04 (comint-scroll-show-maximum-output): Make default nil. 1993-11-17 14:20:31 +00:00
Richard M. Stallman
669a535c93 (comint-send-input): Run comint-output-filter-functions
only if process is using comint-output-filter as its filter.
1993-11-16 09:29:01 +00:00
Richard M. Stallman
07ccf0bc94 (comint-read-input-ring, comint-write-input-ring):
Treat "" like nil in comint-input-ring-file-name.
1993-11-15 05:18:33 +00:00
Richard M. Stallman
1ae2f9fe09 (comint-match-partial-filename): Consider +@: part of
filenames; don't consider parens as part of them.
1993-11-13 00:02:20 +00:00
Richard M. Stallman
d55d5ec215 Comment change. 1993-11-11 10:05:51 +00:00
Richard M. Stallman
b5e59c0380 (comint-postoutput-scroll-to-bottom):
Don't treat minibuffer window specially.
1993-11-10 07:10:58 +00:00
Richard M. Stallman
0613507b4f (comint-postoutput-scroll-to-bottom):
Don't alter point in a window if it's after the process-mark.
1993-11-10 00:38:47 +00:00
Richard M. Stallman
91d752825d (comint-preinput-scroll-to-bottom): Added
comint-magic-space to list of commands recognised as inserting.

(comint-output-filter): Corrected check for killed buffer.
1993-11-08 23:55:50 +00:00
Richard M. Stallman
03b6cf414b (comint-postoutput-scroll-to-bottom):
Walk the windows even if scroll is nil.
1993-11-08 12:44:18 +00:00
Richard M. Stallman
fdb7791dfa (comint-postoutput-scroll-to-bottom):
Always keep point at end in all buffers if was at end.
comint-scroll-to-bottom-on-output controls what to do
if point was not already at the end.
1993-11-07 10:43:36 +00:00
Richard M. Stallman
dcab7fbdad (comint-mode-map): Merge menu bar item Output into Input.
Rename Completion to Complete.
1993-10-27 03:32:10 +00:00
Richard M. Stallman
c1da5c031f (comint-scroll-to-bottom-on-input): Default to nil.
(comint-mode): Use pre-command-hook, not before-change-function.
(comint-preinput-scroll-to-bottom): Take no arguments.
(comint-output-filter-functions): Renamed from comint-output-filter-hook.
(comint-output-filter): Pass STRING as arg to output hook functions.
(comint-preinput-scroll-to-bottom): Take an arg.
Move point to new process mark if it was at the old one.
Scroll so only if point is at or after the process mark.
When scrolling, put end of text on bottom line, regardless of point.
1993-10-25 20:01:29 +00:00