aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann1999-10-17 12:57:38 +0000
committerGerd Moellmann1999-10-17 12:57:38 +0000
commitcd876a9126ff47d5057cf896df5d9e3732979099 (patch)
treed96ee24fd552adf8846555656f60d72608f7d9ba
parentb8855607a01da68a6974416add4cbf02784229df (diff)
downloademacs-cd876a9126ff47d5057cf896df5d9e3732979099.tar.gz
emacs-cd876a9126ff47d5057cf896df5d9e3732979099.zip
*** empty log message ***
-rw-r--r--lisp/ChangeLog48
-rw-r--r--src/ChangeLog93
2 files changed, 141 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e377509053f..7a3631e1771 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,51 @@
11999-10-17 Miles Bader <miles@gnu.org>
2
3 * simple.el: Doc fixes.
4
51999-10-17 Miles Bader <miles@gnu.org>
6
7 * simple.el (previous-matching-history-element, next-history-element):
8 Change to work correctly even if the point is in the prompt.
9 (choose-completion-string): Likewise.
10 (minibuffer-prompt-width): New function (compatibility with old subr).
11
12 * textmodes/paragraphs.el (forward-sentence, forward-paragraph):
13 When constraining the final position to the current field,
14 don't use the ONLY-IN-LINE mode of constrain-to-field.
15
161999-10-17 Miles Bader <miles@gnu.org>
17
18 * simple.el (line-move): Supply new ESCAPE-FROM-EDGE argument to
19 constrain-to-field.
20 * textmodes/paragraphs.el (forward-sentence): Likewise.
21
221999-10-17 Miles Bader <miles@gnu.org>
23
24 * simple.el (line-move): Use constrain-to-field to avoid
25 moving into a prompt.
26 (previous-complete-history-element): Clarify doc string.
27 (next-complete-history-element): Likewise.
28 Use field-beginning instead of point-min.
29 (next-matching-history-element): Use field-beginning and
30 erase-field instead of point-min and erase-buffer.
31 * textmodes/paragraphs.el
32 (forward-paragraph, forward-sentence): Likewise.
33 (backward-kill-paragraph, backward-kill-sentence): Remove code to
34 constrain the kill to an field, as the movement commands now
35 do this.
36
371999-10-17 Miles Bader <miles@gnu.org>
38
39 * simple.el (previous-matching-history-element): Get the
40 minibuffer input with field-string instead of buffer-string.
41 (choose-completion-string): Likewise.
42 (next-history-element): Likewise.
43 Erase the minibuffer input with erase-field, not erase-buffer.
44 Use field-beginning to find the beginning of the input.
45 * textmodes/paragraphs.el (backward-kill-sentence):
46 Remove minibuffer-prompt hack.
47 Constrain to any input field.
48
11999-10-17 Sam Steingold <sds@ksp.com> 491999-10-17 Sam Steingold <sds@ksp.com>
2 50
3 * bindings.el (completion-ignored-extensions): Added ".sparcf" 51 * bindings.el (completion-ignored-extensions): Added ".sparcf"
diff --git a/src/ChangeLog b/src/ChangeLog
index 5a166a3234a..4ce465572b9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,96 @@
11999-10-17 Miles Bader <miles@gnu.org>
2
3 * editfns.c: Doc fix.
4
51999-10-17 Miles Bader <miles@gnu.org>
6
7 * editfns.c (Fconstrain_to_field): Make sure we don't violate the
8 argument preconditions of find_before_next_newline in the case
9 where both ONLY_IN_LINE and ESCAPE_FROM_EDGE are set and OLD_POS
10 was indeed at the edge.
11
121999-10-17 Miles Bader <miles@gnu.org>
13
14 * minibuf.c (Fminibuffer_complete_and_exit): Supply value for new
15 ESCAPE_FROM_EDGE parameter to Ffield_beginning.
16
17 * editfns.c (text_property_eq, text_property_stickiness): Don't
18 use initializers for auto variables of type Lisp_Object.
19 (find_field): Likewise. Use braces around nested ifs.
20 (Fline_end_position): Store the raw eol in a variable, so that the
21 final expression doesn't look so ugly.
22 (Fconstrain_to_field): Doc fix.
23 (preceding_pos): Renamed from `preceeding_pos'.
24 (text_property_stickiness, find_field): Call preceding_pos,
25 not preceeding_pos.
26
271999-10-17 Miles Bader <miles@gnu.org>
28
29 * editfns.c (Ffield_string_no_properties): New function.
30 (text_property_stickiness, preceeding_pos): New functions.
31 (Ffield_string): Remove PROPS parameter.
32 (find_field): Add MERGE_AT_BOUNDARY parameter.
33 Rewrite to use stickiness of `field' property to resolve
34 ambiguous cases.
35 (Ffield_beginning, Ffield_end): Add ESCAPE_FROM_EDGE parameter.
36 (Fconstrain_to_field): Likewise.
37 (syms_of_editfns): Init Sfield_string_no_properties.
38 (Ffield_string, Ferase_field, Ffield_end):
39 Supply new MERGE_AT_BOUNDARY argument to find_field.
40 (Fline_beginning_position, Fline_end_position): Supply new
41 ESCAPE_FROM_EDGE parameter to Fconstrain_to_field.
42 Pass a value of Qt for the ONLY_IN_LINE argument to
43 Fconstrain_to_field (only matters if N != 1).
44 * syntax.c (Fforward_word): Supply new ESCAPE_FROM_EDGE parameter
45 to Fconstrain_to_field.
46
47 * minibuf.c (Fminibuffer_complete_word): Use
48 Ffield_beginning to find the prompt end.
49
501999-10-17 Miles Bader <miles@gnu.org>
51
52 * editfns.c (Fconstrain_to_field): Add get/set-current-point
53 behavior when NEW_POS is nil.
54 (find_field): Use XSETFASTINT instead of make_number.
55 * minibuf.c (Fminibuffer_complete_and_exit): Test for an empty
56 input string by seeing where the field begins, instead of
57 looking at text-properties.
58
591999-10-17 Miles Bader <miles@gnu.org>
60
61 * editfns.c (Qfield): New variable.
62 (find_field, Ferase_field, Ffield_string,
63 Ffield_beginning, Ffield_end, Fconstrain_to_field): New functions.
64 (Fline_beginning_position, Fline_end_position): Constrain to any field.
65 (make_buffer_string_both): Remove minibuffer-prompt hack.
66 (syms_of_editfns): Initialize Qfield, and subr entries for
67 field functions above.
68 * minibuf.c (read_minibuf): Don't save minibuffer prompt length on
69 minibuf_save_list.
70 Don't initialize minibuffer prompt length.
71 Wrap prompt text-properties around the entire prompt.
72 Add 'prompt text-property to prompt.
73 Get final value with Ffield_string instead of make_buffer_string.
74 (read_minibuf_unwind): Don't restore minibuffer prompt length from
75 minibuf_save_list.
76 (do_completion): Get minibuffer input with Ffield_string
77 instead of Fbuffer_string.
78 Erase minibuffer input with Ferase_field instead of erase_buffer.
79 (Fminibuffer_complete_and_exit): Likewise.
80 Test whether buffer is empty by looking for the 'prompt text
81 property at the end.
82 Set prompt length by looking for the end of the prompt text property,
83 and save prompt length for later use (since there is no longer a
84 buffer variable to get it from).
85 (Fminibuffer_prompt_width, Fminibuffer_prompt_end): Functions removed.
86 (syms_of_minibuf): Remove initializations of
87 Sminibuffer_prompt_width and Sminibuffer_prompt_end.
88 * buffer.h (struct buffer): Remove prompt_end_charpos field.
89 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer, Fkill_buffer):
90 Don't initialize prompt_end_charpos field.
91 * syntax.c (Fforward_word): Likewise.
92 Constrain to any field.
93
11999-10-16 Gerd Moellmann <gerd@gnu.org> 941999-10-16 Gerd Moellmann <gerd@gnu.org>
2 95
3 * window.c (enum save_restore_action): New. 96 * window.c (enum save_restore_action): New.