From: Miles Bader Date: Sun, 22 Oct 2000 10:20:30 +0000 (+0000) Subject: Clean up comint entries a bit. X-Git-Tag: emacs-pretest-21.0.90~687 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=988cded7c012d7bf8585f55afa961b34269ddcf6;p=emacs.git Clean up comint entries a bit. --- diff --git a/etc/NEWS b/etc/NEWS index d83e7d8994a..3dbf3a3af0f 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -861,19 +861,22 @@ mode. ** Comint (subshell) changes -By default, comint no longer uses the variable `comint-prompt-regexp' to -distinguish prompts from user-input. Instead, it notices which parts of -the text were output by the process, and which entered by the user, and -attaches `field' properties to allow emacs commands to use this information. -Common movement commands, notably beginning-of-line, respect field -boundaries in a fairly natural manner. -To disable this feature, and use the old behavior, set the variable -`comint-use-prompt-regexp-instead-of-fields' to a non-nil value. - -Comint now includes new features to send commands to running processes +These changes generally affect all modes derived from comint mode, which +include shell-mode, gdb-mode, scheme-interaction-mode, etc. + +*** By default, comint no longer uses the variable `comint-prompt-regexp' +to distinguish prompts from user-input. Instead, it notices which +parts of the text were output by the process, and which entered by the +user, and attaches `field' properties to allow emacs commands to use +this information. Common movement commands, notably beginning-of-line, +respect field boundaries in a fairly natural manner. To disable this +feature, and use the old behavior, customize the user option +`comint-use-prompt-regexp-instead-of-fields'. + +*** Comint now includes new features to send commands to running processes and redirect the output to a designated buffer or buffers. -The command M-x comint-redirect-send-command reads a command and +*** The command M-x comint-redirect-send-command reads a command and buffer name from the mini-buffer. The command is sent to the current buffer's process, and its output is inserted into the specified buffer. @@ -881,16 +884,15 @@ The command M-x comint-redirect-send-command-to-process acts like M-x comint-redirect-send-command but additionally reads the name of the buffer whose process should be used from the mini-buffer. -Packages based on comint.el like shell-mode, and scheme-interaction-mode -now highlight user input and program prompts, and support choosing -previous input with mouse-2. To control these feature, see the -user-options `comint-highlight-input' and `comint-highlight-prompt'. +*** Packages based on comint now highlight user input and program prompts, +and support choosing previous input with mouse-2. To control these features, +see the user-options `comint-highlight-input' and `comint-highlight-prompt'. -The new command `comint-write-output' (usually bound to `C-c C-s') +*** The new command `comint-write-output' (usually bound to `C-c C-s') saves the output from the most recent command to a file. With a prefix argument, it appends to the file. -The command `comint-kill-output' has been renamed `comint-delete-output' +*** The command `comint-kill-output' has been renamed `comint-delete-output' (usually bound to `C-c C-o'); the old name is aliased to it for compatibility.