Commit graph

318 commits

Author SHA1 Message Date
Karl Heuer
23cb053e99 (comint-read-noecho): Don't log prompt messages. 1995-03-30 23:38:23 +00:00
Karl Heuer
84a99e7344 (comint-read-noecho): Use a format string, in case
PROMPT contains a percent sign.
1995-03-28 22:27:56 +00:00
Simon Marshall
39a185a951 Added comint-buffer-maximum-size and comint-truncate-buffer. 1995-02-25 16:24:51 +00:00
Simon Marshall
81fb2771d9 Let file-name-handler-alist to nil in comint-dynamic-complete-as-filename and
comint-dynamic-list-filename-completions.
1995-02-25 15:22:57 +00:00
Simon Marshall
44a631800a Add % to comint-match-partial-filename. 1995-02-08 12:59:25 +00:00
Richard M. Stallman
38ee91fe29 Comment change. 1995-01-25 01:33:26 +00:00
Simon Marshall
eb6c110ad4 Make sure the event read by comint-dynamic-list-completions isn't
something like a switch-frame event before running
mouse-choose-completion.
1995-01-17 10:33:24 +00:00
Richard M. Stallman
cf7c846398 (comint-mode-map): Treat C-up, C-down like M-p, M-n. 1994-12-07 10:25:44 +00:00
Richard M. Stallman
9dbfa8cfbb (comint-exec-1): Terminate TERMCAP with colon. 1994-11-15 00:06:26 +00:00
Richard M. Stallman
1347899b3c (comint-exec-1): Make sure default-directory is a real dir. 1994-11-09 20:54:45 +00:00
Richard M. Stallman
af171fd0d4 (comint-read-noecho): Use read-char-exclusive' instead of read-char'. 1994-11-01 01:30:16 +00:00
Richard M. Stallman
1a4086d274 (comint-check-proc): Recognise `open'.
(comint-exec): Use open-network-stream if command is a cons pair.
1994-10-07 10:20:37 +00:00
Richard M. Stallman
efcec33fd0 (comint-strip-ctrl-m): Renamed from shell-strip-crtl-m and moved here.
(shell-strip-ctrl-m): Add defalias.
1994-10-03 01:11:15 +00:00
Richard M. Stallman
7df7d5b3fe (comint-input-chunk-size): Variable deleted.
(comint-send-string): Make it an alias for process-send-string.
(comint-send-region): Make it an alias for process-send-region.
1994-09-24 04:58:15 +00:00
Richard M. Stallman
5e778cd16a (comint-arguments): Treat \n and \t like space. 1994-08-27 19:06:19 +00:00
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