]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorLuc Teirlinck <teirllm@auburn.edu>
Sat, 1 May 2004 22:24:39 +0000 (22:24 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Sat, 1 May 2004 22:24:39 +0000 (22:24 +0000)
etc/NEWS

index 5c81d1e726f5e9ae0a0be0e3bd28c4807126706d..54cd79bcd8651f35372c60ef103709b519901977 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -91,8 +91,22 @@ types any more.  Add -DUSE_LISP_UNION_TYPE if you want union types.
 * Changes in Emacs 21.4
 
 ---
-** The IELM prompt is now, by default, read-only.  This can be
-controlled with the new user option `ielm-prompt-read-only'.
+** The comint prompt can now be made read-only, using the new user
+option `comint-prompt-read-only'.  This is not enabled by default,
+except in IELM buffers.  The read-only status of IELM prompts can be
+controlled with the new user option `ielm-prompt-read-only', which
+overrides `comint-prompt-read-only'.  The new commands
+`comint-kill-whole-line' and `comint-kill-region' support editing
+comint buffers with read-only prompts.  `comint-kill-whole-line' is
+like `kill-whole-line', but ignores both read-only and field
+properties.  Hence, it will always kill entire lines, including any
+prompts.  `comint-kill-region' is like `kill-region', except that it
+ignores read-only properties, if it is safe to do so.  This means that
+if any part of a prompt is deleted, then the entire prompt must be
+deleted and that all prompts must stay at the beginning of a line.  If
+this is not the case, then `comint-kill-region' behaves just like
+`kill-region' if read-only are involved: it copies the text to the
+kill-ring, but does not delete it.
 
 ** You can now use next-error (C-x `) and previous-error to advance to
 the next/previous matching line found by M-x occur.