diff options
| author | Gerd Moellmann | 1999-10-17 12:57:38 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-10-17 12:57:38 +0000 |
| commit | cd876a9126ff47d5057cf896df5d9e3732979099 (patch) | |
| tree | d96ee24fd552adf8846555656f60d72608f7d9ba /src | |
| parent | b8855607a01da68a6974416add4cbf02784229df (diff) | |
| download | emacs-cd876a9126ff47d5057cf896df5d9e3732979099.tar.gz emacs-cd876a9126ff47d5057cf896df5d9e3732979099.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5a166a3234a..4ce465572b9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,96 @@ | |||
| 1 | 1999-10-17 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * editfns.c: Doc fix. | ||
| 4 | |||
| 5 | 1999-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 | |||
| 12 | 1999-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 | |||
| 27 | 1999-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 | |||
| 50 | 1999-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 | |||
| 59 | 1999-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 | |||
| 1 | 1999-10-16 Gerd Moellmann <gerd@gnu.org> | 94 | 1999-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. |