1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00
Commit Graph

284 Commits

Author SHA1 Message Date
Richard M. Stallman
3dd4c1c5af (comint-mode): Add font-lock-defontify to change-major-mode-hook. 2002-09-10 16:44:58 +00:00
Miles Bader
dd77cb223b (comint-carriage-motion): Start at START. 2002-08-28 04:40:42 +00:00
Miles Bader
8cda277d9f [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
(comint-inhibit-carriage-motion): New variable.
(comint-carriage-motion): Argument STRING removed.  New arguments
START and END; interpret characters between START and END rather
than using special comint state.
(comint-output-filter): Call `comint-carriage-motion'.
(comint-output-filter-functions): Don't add `comint-carriage-motion'.
2002-08-19 05:03:21 +00:00
Miles Bader
66f12dcd3c (comint-dynamic-list-completions): Sort COMPLETIONS before first use. 2002-07-08 08:45:12 +00:00
Miles Bader
9669f2d6d5 (comint-displayed-dynamic-completions): New variable.
(comint-dynamic-list-completions): Be more careful about choosing
when to scroll an existing completions window.
2002-07-04 06:44:45 +00:00
Miles Bader
3848dd73d7 (comint-get-old-input-default): Strip text properties for fields too.
(comint-output-filter): Run output-filter functions before setting up
the prompt.
2002-06-20 07:30:16 +00:00
Juanma Barranquero
4d17edb136 (comint-next-prompt, comint-previous-prompt): Fix typos. 2002-06-18 14:36:07 +00:00
Miles Bader
35068823ae (comint-insert-clicked-input): Insert clicked-on previous input without
properties.  Patch from John Paul Wallington <jpw@shootybangbang.com>.
2002-06-17 08:10:37 +00:00
Richard M. Stallman
3fdbf63223 (comint-skip-input): New function.
(comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
(comint-stop-subjob): Use comint-skip-input.
2002-06-15 14:26:06 +00:00
Juanma Barranquero
5dee02a3fb (comint-snapshot-last-prompt): Bind `inhibit-read-only' to t to support
read-only prompts.
(comint-output-filter): Likewise.
2002-06-14 09:41:35 +00:00
Miles Bader
fcc6fa5153 (comint-mode): Don't set `font-lock-defaults'.
(comint-mode-hook): Turn on font-lock by default.
2002-06-13 09:28:48 +00:00
Miles Bader
1b55e3016d (comint-send-input): Properly handle empty and no-newline input regions. 2002-06-12 09:18:26 +00:00
Miles Bader
3238a55c37 Make comint use text properties for highlighting instead of overlays:
(comint-last-output-overlay): Variable removed.
(comint-send-input, comint-output-filter): Use text properties instead
of overlays.
(comint-insert-clicked-input): Rewrite to work with text properties as
well as overlays.
(comint-snapshot-last-prompt): Snapshot using text properties.
(comint-get-old-input-default, comint-extract-string): Don't copy text
properties.
2002-06-10 08:14:59 +00:00
Miles Bader
8b1d2946a2 (comint-send-input, comint-output-filter): Use the `font-lock-face'
property instead of `face'.  Don't check the highlight-enabling
variables anymore.
(comint-highlight-input, comint-highlight-prompt): Variables removed.
2002-06-10 06:20:33 +00:00
Francesco Potortì
ccb6090a07 (comint-watch-for-password-prompt): Remove whitespace
at the beginning of password prompts.
2002-04-18 19:41:57 +00:00
Francesco Potortì
c759aa1887 (comint-password-prompt-regexp): Match "Repeat passphrase". 2002-04-17 08:04:38 +00:00
Francesco Potortì
c0eb1d62af (comint-password-prompt-regexp): Match" SMB password". 2002-04-12 07:57:56 +00:00
Colin Walters
22c663ed24 Remove documentation on setting up pcomplete. 2002-03-11 21:12:49 +00:00
Richard M. Stallman
458a481004 (comint-preoutput-filter-functions): Doc fix.
(comint-output-filter-functions, comint-input-filter-functions)
(comint-redirect-filter-functions): Likewise.

(comint-redirect-preoutput-filter): Do the local-hook
handling of t when running comint-redirect-filter-functions.
(comint-output-filter): Likewise for comint-preoutput-filter-functions.
2002-02-27 19:32:12 +00:00
Kim F. Storm
bb671f9ece (comint-replace-by-expanded-filename): Do nothing if
comint-match-partial-filename returns nil.
2002-02-25 21:07:37 +00:00
Colin Walters
5a2ef230ef Document how use new pcomplete completion facility. 2002-02-23 21:34:25 +00:00
Richard M. Stallman
f3ea9e4ffe (comint-scroll-show-maximum-output): Default is t. 2002-02-01 04:15:14 +00:00
Richard M. Stallman
fdb38f1bf5 Comment change. 2002-01-21 22:49:43 +00:00
Richard M. Stallman
98bd0dd38c (comint-redirect-send-command-to-process): Restore previous current buffer. 2002-01-18 23:25:34 +00:00
Richard M. Stallman
18e84493fa (comint-simple-send): Fix previous change. 2002-01-17 01:41:11 +00:00
Pavel Janík
110c171f4d Fix typo. 2002-01-13 10:09:20 +00:00
Richard M. Stallman
004a541d3a (comint-input-sender): Doc fix.
(comint-input-sender-no-newline): New variable.
(comint-simple-send): If comint-input-sender-no-newline,
don't output newline, but maybe send eof.
(comint-send-input): New arg NO-NEWLINE.
(comint-send-eof): Call comint-send-eof with NO-NEWLINE.
2002-01-13 04:43:12 +00:00
Richard M. Stallman
40e0410be9 (comint-dynamic-list-completions): Repeating the command
after displaying a completion list scrolls the list.
2002-01-12 06:59:02 +00:00
Richard M. Stallman
10eb744903 (comint-highlight-input): Use :weight, not :bold. 2001-12-31 20:18:09 +00:00
Richard M. Stallman
62728cf048 Comment change. 2001-12-26 21:27:54 +00:00
Pavel Janík
0ff9b955fe Doc fixes. 2001-12-20 18:59:32 +00:00
Richard M. Stallman
f05db6f6ad (comint-dynamic-list-input-ring-select): New function.
Switches back to the old window configuration.
(comint-dynamic-list-input-ring): Bind RET to that function.
(comint-dynamic-list-input-ring-window-conf): New variable.
2001-12-18 04:14:20 +00:00
Richard M. Stallman
502f25360d (comint-password-prompt-regexp): Match "UNIX Password". 2001-12-11 06:03:46 +00:00
Stefan Monnier
038eed72fd (comint-mode): Simplify.
(make-comint-in-buffer): Run `comint-mode' only if necessary.
2001-11-16 14:22:03 +00:00
Miles Bader
41e88a97ad (comint-send-input): Fix description of `comint-process-echoes' in the
doc-string.
2001-11-08 11:54:06 +00:00
Francesco Potortì
5889cc202a (comint-password-prompt-regexp): Make it less restrictive, letting
comint recognise OpenSSH2 passphrase prompts.
2001-10-17 15:38:45 +00:00
Miles Bader
a277229e6b (comint-insert-previous-argument): New function.
(comint-mode-map): Bind `C-c .' to `comint-input-previous-argument'.
(comint-insert-previous-argument-last-start-pos)
(comint-insert-previous-argument-last-index): New variables.
2001-10-09 02:26:00 +00:00
Miles Bader
4e1513b594 (comint-send-input): When waiting for echoed input, don't save the
expected end position in `echo-end', so that things work properly even
if the buffer is modified elsewhere at the same time [this happens if
`comint-truncate-buffer' is used].
2001-09-11 08:43:02 +00:00
Gerd Moellmann
c9e74cd4be (comint-send-input): Handle comint-process-echoes
differently.
2001-09-07 13:30:50 +00:00
Gerd Moellmann
8d4f05f8e7 (comint-send-input): Change help-echo.
From "Dr Francis J. Wright" <F.J.Wright@qmw.ac.uk>.
2001-09-04 13:20:45 +00:00
Gerd Moellmann
c8dd66e195 (comint-insert-clicked-input): Goto point-max before
deleting previous input.  From "Dr Francis J. Wright"
<F.J.Wright@qmw.ac.uk>.
2001-09-04 12:45:13 +00:00
Miles Bader
f900ec3114 (comint-next-prompt): Don't loop infinitely if
{next,previous}-single-char-property-change returns its input position
when the search fails.
2001-08-27 18:13:39 +00:00
Miles Bader
d3b98912ef (comint-get-old-input-default): Don't signal an error if point is not on
an input field; instead, return the current line (using `comint-bol' to
skip any prompt, in case we're not using fields at all).
2001-08-27 13:03:53 +00:00
Miles Bader
8c24e65bee (comint-send-input): Add `inhibit-line-move-field-capture' property to
input-terminating `boundary' overlays to avoid line-move wierdness.
2001-08-16 14:52:16 +00:00
Pavel Janík
1cd7adc68a Emacs lisp coding convention fixes. 2001-07-14 11:21:08 +00:00
Eli Zaretskii
e20e70c3b3 (comint-send-input): Add help-echo to mouse-highlighted text. 2001-06-17 11:17:17 +00:00
Miles Bader
8e3f37811a (comint-carriage-motion): Doc-string tweaks. 2001-05-28 15:09:44 +00:00
Gerd Moellmann
3db6f8cad4 (comint-carriage-motion): Renamed from
`comint-cr-magic'.  Operate on the buffer instead of the string
(for use as a comint post-output filter, instead of as a
pre-output filter).  Handle backspaces too.  Add to the
`comint-output-filter-functions' hook instead of
`comint-preoutput-filter-functions'.
2001-05-28 13:01:24 +00:00
Gerd Moellmann
ccc5e35ff2 Comment fix. 2001-05-16 11:12:57 +00:00
Gerd Moellmann
80c40c6fbc (comint-cr-magic): New function.
(toplevel): Add it to comint-preoutput-filter-functions.
2001-04-18 14:18:44 +00:00