diff options
| -rw-r--r-- | etc/NEWS | 24 |
1 files changed, 14 insertions, 10 deletions
| @@ -95,16 +95,20 @@ types any more. Add -DUSE_LISP_UNION_TYPE if you want union types. | |||
| 95 | option `comint-prompt-read-only'. This is not enabled by default, | 95 | option `comint-prompt-read-only'. This is not enabled by default, |
| 96 | except in IELM buffers. The read-only status of IELM prompts can be | 96 | except in IELM buffers. The read-only status of IELM prompts can be |
| 97 | controlled with the new user option `ielm-prompt-read-only', which | 97 | controlled with the new user option `ielm-prompt-read-only', which |
| 98 | overrides `comint-prompt-read-only'. The new commands | 98 | overrides `comint-prompt-read-only'. |
| 99 | `comint-kill-whole-line' and `comint-kill-region' support editing | 99 | |
| 100 | comint buffers with read-only prompts. `comint-kill-whole-line' is | 100 | The new commands `comint-kill-whole-line' and `comint-kill-region' |
| 101 | like `kill-whole-line', but ignores both read-only and field | 101 | support editing comint buffers with read-only prompts. |
| 102 | properties. Hence, it will always kill entire lines, including any | 102 | |
| 103 | prompts. `comint-kill-region' is like `kill-region', except that it | 103 | `comint-kill-whole-line' is like `kill-whole-line', but ignores both |
| 104 | ignores read-only properties, if it is safe to do so. This means that | 104 | read-only and field properties. Hence, it will always kill entire |
| 105 | if any part of a prompt is deleted, then the entire prompt must be | 105 | lines, including any prompts. |
| 106 | deleted and that all prompts must stay at the beginning of a line. If | 106 | |
| 107 | this is not the case, then `comint-kill-region' behaves just like | 107 | `comint-kill-region' is like `kill-region', except that it ignores |
| 108 | read-only properties, if it is safe to do so. This means that if any | ||
| 109 | part of a prompt is deleted, then the entire prompt must be deleted | ||
| 110 | and that all prompts must stay at the beginning of a line. If this is | ||
| 111 | not the case, then `comint-kill-region' behaves just like | ||
| 108 | `kill-region' if read-only are involved: it copies the text to the | 112 | `kill-region' if read-only are involved: it copies the text to the |
| 109 | kill-ring, but does not delete it. | 113 | kill-ring, but does not delete it. |
| 110 | 114 | ||