# HG changeset patch # User Luc Teirlinck # Date 1083451167 0 # Node ID d71fb69263a22c9e25d01d5792767ad255e0539b # Parent 56bb135eddf9e2b26788f71861602ca9a35731d0 *** empty log message *** diff -r 56bb135eddf9 -r d71fb69263a2 etc/NEWS --- a/etc/NEWS Sat May 01 22:24:39 2004 +0000 +++ b/etc/NEWS Sat May 01 22:39:27 2004 +0000 @@ -95,16 +95,20 @@ 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 +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.