| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
change of 2000-08-03 to move point to the start of the line again.
|
|
|
|
| |
when running in batch mode.
|
|
|
|
|
| |
(comint-read-input-ring): Ignore entries matching
comint-input-history-ignore.
|
|
|
|
| |
(comint-password-prompt-regexp): Support CVS.
|
|
|
|
| |
or nil for PROCESS, for compatibility with process-send-string/region.
|
| |
|
| |
|
| |
|
|
|
|
| |
(comint-send-input): Use `comint-add-to-input-history'.
|
| |
|
|
|
|
|
|
| |
comint-get-old-input (we're not looking at *old* input).
(comint-get-old-input-default): If using fields, signal an error
when the point is not in an input field.
|
| |
|
|
|
|
| |
(make-comint): Use it.
|
|
|
|
|
|
|
| |
(comint-mode-map): Reverse order of `comint-write-output' and
`comint-append-output-to-file'.
(comint-append-output-to-file): Reinstate this function, for the
benefit of the menu.
|
|
|
|
|
| |
Don't bother adding stickiness fields to overlays to fool the field
code, since it should notice the overlay insertion-types now.
|
|
|
|
|
|
| |
Renamed, `-face' at end removed.
(comint-send-input, comint-output-filter):
Use renamed faces.
|
|
|
|
| |
(comint-append-output-to-file): Function removed.
|
| |
|
|
|
|
| |
(comint-mode-map): Add them to the menu.
|
|
|
|
| |
and the last entry of the input ring file are not lost.
|
|
|
|
|
|
| |
(comint-kill-output): Changed into an alias for `comint-delete-output',
and made obsolete.
(comint-mode-map): Rename references to comint-kill-output.
|
|
|
|
|
|
|
|
| |
Fixup comint-last-input-end too.
Remove commented-out call to force-mode-line-update.
(comint-kill-output):
Use `forward-line 0' instead of beginning-of-line to make sure we get
past the prompt.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(comint-mode): Use define-derived-mode.
(comint-mode-map): Remove obsolete comment.
(make-comint): Minor stylistic change.
(comint-insert-clicked-input): Be more careful to find the overlay.
Use this-command-keys rather than hardcoding mouse-2.
|
|
|
|
|
|
|
|
|
| |
Revert to using `insert-before-markers'.
Add bletcherous hack to undo damage caused by `insert-before-markers'.
Put `front-sticky' property on overlays created here so that the field code
understands how the overlay works.
Use a let when making comint-last-prompt-overlay, so that the code is
easier to read.
|
|
|
|
| |
Create overlays using the proper front/read-advance arguments.
|
|
|
|
|
|
| |
Compare end of comint-last-output-overlay with the start of the newly
inserted text, not the end, when deciding whether to extend it.
Set saved-point's insertion type to advance after insertion.
|
|
|
|
| |
Save the point with a marker, not just a buffer position.
|
|
|
|
|
|
|
| |
use save-restriction, now that it works correctly. Don't adjust
comint-last-input-start to account for our insertion; it shouldn't have
moved because we don't use insert-before-markers anymore. Comment out
call to `force-mode-line-update'; why is it here?
|
|
|
|
| |
with inhibit-field-text-motion bound.
|
|
|
|
| |
seem to be necessary.
|
|
|
|
| |
Snapshot the prompt before sending.
|
| |
|
|
|
|
|
|
|
| |
Use `insert' instead of `insert-before-markers'.
(comint-output-filter): Use `insert' instead of `insert-before-markers'.
Extend comint-last-output-overlay when necessary since we can't rely on
insert-before-markers to do it.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(comint-last-prompt-overlay): New variables.
(comint-output-filter): Implement prompt highlighting.
(comint-snapshot-last-prompt): New function.
(comint-send-input): Snapshot the last prompt.
Use comint-highlight-input-face.
(comint-highlight-input-face): Renamed from `comint-highlight-face'.
Use defface instead of defcustom.
(send-invisible, comint-send-eof): Snapshot the last prompt.
(comint-delchar-or-maybe-eof): Use comint-send-eof.
(comint-mode): Make `comint-last-prompt-overlay' buffer-local.
|
|
|
|
| |
surrounded by comint-last-output-overlay was deleted.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(comint-prompt-regexp, comint-get-old-input): Document dependence on
comint-use-prompt-regexp-instead-of-fields.
(comint-send-input): Add `input' field property to stuff we send to
the process, if comint-use-prompt-regexp-instead-of-fields is nil.
(comint-output-filter): Add `output' field property to process
output, if comint-use-prompt-regexp-instead-of-fields is nil.
(comint-replace-by-expanded-history)
(comint-get-old-input-default, comint-show-output)
(comint-backward-matching-input, comint-forward-matching-input)
(comint-next-prompt, comint-previous-prompt): Use field
properties if comint-use-prompt-regexp-instead-of-fields is nil.
(comint-line-beginning-position): New function.
(comint-bol): Use comint-line-beginning-position. Make ARG optional.
(comint-replace-by-expanded-history-before-point): Use
comint-line-beginning-position and line-end-position.
(comint-last-output-overlay): New variable.
(comint-mode): Make `comint-last-output-overlay' buffer-local.
|
|
|
|
|
|
|
|
| |
New user options.
(comint-input-ring-file-name): Change custom type.
(comint-mode-map): Bind mouse-2.
(comint-insert-clicked-input): New function.
(comint-send-input): Handle input highlighting.
|
|
|
|
| |
with second and third arg t.
|
| |
|
|
|
|
|
| |
comint-input-ring-size outside of the save-excursion. It was
causing the default value to be the only one ever seen.
|
|
|
|
|
| |
the command has a directory component (such as "./testml").
Also fix a typo in the comment.
|
|
|
|
|
| |
(comint-redirect-results-list-from-process): Remove interactive
spec.
|
| |
|
| |
|
|
|
|
| |
another buffer. Written by Peter Breton.
|
|
|
|
| |
for the comint-preoutput-filter-functions.
|
|
|
|
|
|
| |
(comint-read-input-ring): Doc change; use
comint-input-ring-separator when reading file.
(comint-write-input-ring): Use comint-input-ring-separator when writing file.
|
| |
|