aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/comint.el
Commit message (Collapse)AuthorAgeFilesLines
* (comint-replace-by-expanded-history-before-point): FixGerd Moellmann2001-01-241-0/+1
| | | | change of 2000-08-03 to move point to the start of the line again.
* (comint-goto-process-mark): Don't print a messageGerd Moellmann2001-01-111-1/+2
| | | | when running in batch mode.
* (comint-input-history-ignore): New variable.Gerd Moellmann2001-01-021-5/+11
| | | | | (comint-read-input-ring): Ignore entries matching comint-input-history-ignore.
* From Markus Rost <[email protected]>:Miles Bader2000-12-221-1/+1
| | | | (comint-password-prompt-regexp): Support CVS.
* (comint-send-string, comint-send-region): Also accept a buffer, buffer-name,Miles Bader2000-12-151-2/+10
| | | | or nil for PROCESS, for compatibility with process-send-string/region.
* (comint-mode): Don't both with make-local-hook.Stefan Monnier2000-11-031-1/+0
|
* Capital in last change.Dave Love2000-11-031-1/+1
|
* (comint-completion-addsuffix): Fix custom type.Dave Love2000-11-031-1/+5
|
* (comint-add-to-input-history): New function.Eric M. Ludlam2000-11-021-7/+11
| | | | (comint-send-input): Use `comint-add-to-input-history'.
* (comint-get-old-input-default): Reword error message.Miles Bader2000-10-301-1/+1
|
* (comint-replace-by-expanded-history): Don't useMiles Bader2000-10-301-6/+9
| | | | | | 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.
* (comint-highlight-prompt): Add :type.Miles Bader2000-10-291-0/+1
|
* (make-comint-in-buffer): New function.Miles Bader2000-10-271-10/+23
| | | | (make-comint): Use it.
* (comint-mode): Locally set `next-line-add-newlines' to nil.Miles Bader2000-10-261-3/+13
| | | | | | | (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.
* (comint-output-filter, comint-send-input):Miles Bader2000-10-251-10/+5
| | | | | Don't bother adding stickiness fields to overlays to fool the field code, since it should notice the overlay insertion-types now.
* (comint-highlight-input, comint-highlight-prompt):Miles Bader2000-10-221-7/+6
| | | | | | Renamed, `-face' at end removed. (comint-send-input, comint-output-filter): Use renamed faces.
* (comint-write-output): Add APPEND argument. Rework interactive spec.Miles Bader2000-10-191-20/+20
| | | | (comint-append-output-to-file): Function removed.
* (comint-mode-map): Bind `C-c C-s' to comint-write-output.Miles Bader2000-10-191-0/+1
|
* (comint-write-output, comint-append-output-to-file): New functions.Miles Bader2000-10-191-1/+32
| | | | (comint-mode-map): Add them to the menu.
* (comint-read-input-ring): Bugfix such that the firstGerd Moellmann2000-10-181-16/+15
| | | | and the last entry of the input ring file are not lost.
* (comint-delete-output): Renamed from `comint-kill-output'.Miles Bader2000-10-181-7/+9
| | | | | | (comint-kill-output): Changed into an alias for `comint-delete-output', and made obsolete. (comint-mode-map): Rename references to comint-kill-output.
* (comint-output-filter):Miles Bader2000-10-181-4/+7
| | | | | | | | 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.
* Cleanup whitespace.Miles Bader2000-10-091-135/+135
|
* (comint-watch-for-password-prompt): Use STRING as a prompt.Miles Bader2000-10-061-2/+3
|
* (comint-mode-hook): Docstring fix.Stefan Monnier2000-09-291-32/+20
| | | | | | | | (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.
* (comint-output-filter):Miles Bader2000-09-131-9/+47
| | | | | | | | | 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.
* (comint-send-input):Miles Bader2000-08-291-2/+2
| | | | Create overlays using the proper front/read-advance arguments.
* (comint-output-filter):Miles Bader2000-08-221-1/+4
| | | | | | 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.
* (comint-output-filter):Miles Bader2000-08-191-1/+1
| | | | Save the point with a marker, not just a buffer position.
* (comint-output-filter): Remove ad-hoc saving of restriction, and justMiles Bader2000-08-191-75/+62
| | | | | | | 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?
* (comint-bol): Use `forward-line 0' instead of calling beginning-of-lineMiles Bader2000-08-141-3/+2
| | | | with inhibit-field-text-motion bound.
* (comint-output-filter): Don't bother frobbing window-start, it doesn'tMiles Bader2000-08-121-6/+3
| | | | seem to be necessary.
* (comint-send-string, comint-send-region): Make into real functions.Miles Bader2000-08-111-2/+11
| | | | Snapshot the prompt before sending.
* (comint-output-filter): Doc fixes & misc code cleanup.Miles Bader2000-08-101-70/+76
|
* (comint-send-input): Make the newline boundary overlay rear-nonsticky.Miles Bader2000-08-101-5/+11
| | | | | | | 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-highlight-prompt, comint-highlight-prompt-face)Miles Bader2000-08-101-5/+52
| | | | | | | | | | | | | (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.
* (comint-output-filter): Properly handle the case where the textMiles Bader2000-08-081-2/+2
| | | | surrounded by comint-last-output-overlay was deleted.
* (comint-use-prompt-regexp-instead-of-fields): New variable.Miles Bader2000-08-071-60/+199
| | | | | | | | | | | | | | | | | | | | (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.
* (comint-highlight-input, comint-highlight-face):Gerd Moellmann2000-07-191-2/+55
| | | | | | | | 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.
* (comint-substitute-in-file-name): Call replace-matchGerd Moellmann2000-06-231-1/+1
| | | | with second and third arg t.
* Add to debug-ignored-errors.Dave Love2000-05-221-0/+7
|
* (comint-read-input-ring): Move reference toGerd Moellmann2000-05-111-5/+6
| | | | | comint-input-ring-size outside of the save-excursion. It was causing the default value to be the only one ever seen.
* (comint-exec-1): Add the current-dir to the exec-path whenStefan Monnier2000-03-081-3/+6
| | | | | the command has a directory component (such as "./testml"). Also fix a typo in the comment.
* (comint-redirect-results-list)Gerd Moellmann1999-12-061-2/+0
| | | | | (comint-redirect-results-list-from-process): Remove interactive spec.
* Fix last change.Dave Love1999-11-261-3/+2
|
* (comint-preoutput-filter-functions): Doc fix.Richard M. Stallman1999-11-261-3/+11
|
* Add redirection.from active comint buffers intoGerd Moellmann1999-11-231-0/+346
| | | | another buffer. Written by Peter Breton.
* (comint-output-filter): Make the Comint buffer currentGerd Moellmann1999-10-251-11/+9
| | | | for the comint-preoutput-filter-functions.
* (comint-input-ring-separator): New variable.Richard M. Stallman1999-08-291-10/+20
| | | | | | (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.
* Fix maintainer address.Karl Heuer1999-08-161-2/+2
|