1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

124 Commits

Author SHA1 Message Date
Karl Heuer
37a9a675f2 (comint-kill-output): Preserve entire partial line at
end, even if it doesn't match comint-prompt-regexp.
1995-07-12 19:18:45 +00:00
Karl Heuer
155fd02785 (comint-mode): Use make-local-hook.
(comint-send-input, comint-output-filter): Use run-hook-with-args.
(comint-dynamic-complete): Use run-hook-with-args-until-success.
1995-06-13 23:31:17 +00:00
Simon Marshall
4288965cef Don't go forward over a word-char if we're at bob, and set match-data. 1995-06-02 07:42:12 +00:00
Richard M. Stallman
af37b2e695 (make-comint): Error, if start-process is not fboundp. 1995-04-08 20:48:07 +00:00
Karl Heuer
732be46569 Update copyright. 1995-04-07 01:20:53 +00:00
Simon Marshall
59f36b0808 Added support for special (quoted) characters in file names:
new functions comint-quote-filename and comint-unquote-filename, using
new variable comint-file-name-quote-list.
Changed comint-word,  comint-match-partial-filename and
comint-dynamic-list-filename-completions to support character quoting.

Made comint-dynamic-complete-as-filename and comint-dynamic-simple-complete use
strings of comint-completion-addsuffix for completion, if a cons pair.
1995-04-03 13:06:25 +00:00
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