aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann1999-10-17 12:58:58 +0000
committerGerd Moellmann1999-10-17 12:58:58 +0000
commit463cac2d1f5900abff072f928782f66a22bfc79a (patch)
tree914b9b94b3cfb09d3c45d42e9386696646091084
parentcd876a9126ff47d5057cf896df5d9e3732979099 (diff)
downloademacs-463cac2d1f5900abff072f928782f66a22bfc79a.tar.gz
emacs-463cac2d1f5900abff072f928782f66a22bfc79a.zip
Add Miles Bader's description of fields.
-rw-r--r--etc/NEWS27
1 files changed, 20 insertions, 7 deletions
diff --git a/etc/NEWS b/etc/NEWS
index f7a946ed698..107ec30c4aa 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1196,19 +1196,32 @@ used to clear the mapping table.
1196 1196
1197+++ 1197+++
1198** The minibuffer prompt is now actually inserted in the minibuffer. 1198** The minibuffer prompt is now actually inserted in the minibuffer.
1199This makes it possible to scroll through the prompt, if you want to.
1200 1199
1201A number of functions such as forward-word, forward-sentence, 1200This makes it possible to scroll through the prompt, if you want to.
1202forward-paragraph, and beginning-of-line, stop moving when they
1203come to the boundary between the prompt and the actual contents.
1204The function erase-buffer does not delete the prompt.
1205 1201
1206The function minubuffer-prompt-end returns the current position of the 1202The function minubuffer-prompt-end returns the current position of the
1207end of the minibuffer prompt, if the minibuffer is current. 1203end of the minibuffer prompt, if the minibuffer is current.
1208Otherwise, it returns zero. 1204Otherwise, it returns zero.
1209 1205
1210The function buffer-string does not return the portion of the 1206** New `field' abstraction in buffers.
1211mini-buffer belonging to the prompt; buffer-substring does. 1207
1208There is now code to support an abstraction called `fields' in emacs
1209buffers. A field is a contiguous region of text with the same `field'
1210text-property.
1211
1212Certain functions, such as forward-word, forward-sentence,
1213forward-paragraph, beginning-of-line, etc., stop moving when they come
1214to the boundary between fields (beginning-of-line and end-of-line will
1215not let the point move past the field boundary, but other movement
1216commands continue into the next field if repeated).
1217
1218The new function constrain-to-field may be used to achieve similar
1219behavior; other new field functions include field-beginning, field-end,
1220erase-field, and field-string.
1221
1222Now that the minibuffer prompt is inserted into the minibuffer, it is in
1223a separate field from the user-input part of the buffer, so that many
1224editing commands treat the user's text separately from the prompt.
1212 1225
1213+++ 1226+++
1214** Image support. 1227** Image support.