diff options
| author | Gerd Moellmann | 2001-10-05 10:13:12 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-10-05 10:13:12 +0000 |
| commit | c89e4bc57feca4a91bb53cbb5c9a57e05904062a (patch) | |
| tree | d6f70ee39ceb7f18b919253761ee68c45b6ea868 /src/ChangeLog | |
| parent | c4ab9c7c528a7a4e8ebadf6cc302eaf06bc62a30 (diff) | |
| download | emacs-c89e4bc57feca4a91bb53cbb5c9a57e05904062a.tar.gz emacs-c89e4bc57feca4a91bb53cbb5c9a57e05904062a.zip | |
*** empty log message ***
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 90ef210a154..a741c9f7e52 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -14,6 +14,134 @@ | |||
| 14 | prefix from charset. | 14 | prefix from charset. |
| 15 | (w32_list_synthesized_fonts): Fix argument to alloca. | 15 | (w32_list_synthesized_fonts): Fix argument to alloca. |
| 16 | 16 | ||
| 17 | 2001-10-04 Stefan Monnier <monnier@cs.yale.edu> | ||
| 18 | |||
| 19 | * window.h (MINI_WINDOW_P): Use NILP. | ||
| 20 | |||
| 21 | * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT. | ||
| 22 | |||
| 23 | * termhooks.h (struct input_event): Use proper type for `kind'. | ||
| 24 | |||
| 25 | 2001-10-04 Gerd Moellmann <gerd@gnu.org> | ||
| 26 | |||
| 27 | This handles unknown keysyms better than before. For example, | ||
| 28 | after `xmodmap -e 'keysym F5 = ccaron' in a Latin-1 environment, | ||
| 29 | Emacs formerly completely ignored F5. With the change, it derives | ||
| 30 | a key symbol from the name of the X keysym, `ccaron' in this case. | ||
| 31 | Reported by Martin Buchholz. | ||
| 32 | |||
| 33 | * xterm.c (XTread_socket): Return a non_ascii_keystroke for | ||
| 34 | unknown keysyms. | ||
| 35 | |||
| 36 | * keyboard.c (make_lispy_event) [HAVE_X_WINDOWS]: If we know | ||
| 37 | that EVENT->code isn't a function key, use the keysym's name. | ||
| 38 | |||
| 39 | 2001-10-04 Gerd Moellmann <gerd@gnu.org> | ||
| 40 | |||
| 41 | FOREACH is a macro that should make it easier to loop over Lisp | ||
| 42 | lists with checks for cycles and proper lists. | ||
| 43 | |||
| 44 | * lisp.h (LIST_END_P, FOREACH): New macros. | ||
| 45 | |||
| 46 | 2001-10-04 Gerd Moellmann <gerd@gnu.org> | ||
| 47 | |||
| 48 | On some systems, XtCloseDisplay seems to cause a SIGSEGV when | ||
| 49 | called for a lost connection. Prevent dumping core in this case. | ||
| 50 | Instead print the X error, and exit. On user request. | ||
| 51 | |||
| 52 | * xterm.c (error_msg): New variable. | ||
| 53 | (x_fatal_error_signal): New function. | ||
| 54 | (x_connection_closed): Set error_msg. Install x_fatal_error_signal | ||
| 55 | as fatal_error_signal_hook around the call to XtCloseDisplay. | ||
| 56 | |||
| 57 | * emacs.c (fatal_error_signal_hook): New variable. | ||
| 58 | (fatal_error_signal): Call that function. | ||
| 59 | |||
| 60 | 2001-10-04 Gerd Moellmann <gerd@gnu.org> | ||
| 61 | |||
| 62 | With this, Emacs prints how much pure storage it will | ||
| 63 | approximately need in case pure storage overflows while dumping. | ||
| 64 | |||
| 65 | * alloc.c (purebeg, pure_size, pure_bytes_used_before_overflow): | ||
| 66 | New variables. | ||
| 67 | (init_alloc_once): Initialize new variables. | ||
| 68 | (PURE_POINTER_P): Use new variables. | ||
| 69 | (pure_alloc): If pure storage overflows, allocate from the heap. | ||
| 70 | (check_pure_size): New function. | ||
| 71 | (Fgarbage_collect): Don't GC if pure storage has overflowed. | ||
| 72 | |||
| 73 | * lisp.h (pure_size) [HAVE_SHM]: Declare extern size_t. | ||
| 74 | (check_pure_size): Add prototype. | ||
| 75 | |||
| 76 | * emacs.c (Fdump_emacs_data, Fdump_emacs): Call check_pure_size. | ||
| 77 | |||
| 78 | 2001-10-04 Gerd Moellmann <gerd@gnu.org> | ||
| 79 | |||
| 80 | This adds a post-gc-hook that's run with GC inhibited. | ||
| 81 | Requested by Francois Pinard. XEmacs has it. Added to NEWS. | ||
| 82 | |||
| 83 | * alloc.c (Vpost_gc_hook, Qpost_gc_hook): New variables. | ||
| 84 | (syms_of_alloc): DEFVAR_LISP post-gc-hook, initialize Qpost_gc_hook. | ||
| 85 | (Fgarbage_collect): Run post-gc-hook. | ||
| 86 | |||
| 87 | 2001-10-04 Gerd Moellmann <gerd@gnu.org> | ||
| 88 | |||
| 89 | This adds `defvaralias' and `indirect-variable'. Changes not | ||
| 90 | directly related to this feature are there to gain the same | ||
| 91 | performance again as before variable aliases. | ||
| 92 | |||
| 93 | You must use the SYMBOL_VALUE and SET_SYMBOL_VALUE macros in C | ||
| 94 | code to get and set symbol values, to take defvaralias into account. | ||
| 95 | |||
| 96 | (Note: the new `constant' bit-flag in symbols would make it | ||
| 97 | possible to define arbitrary read-only variables, e.g. with | ||
| 98 | `defconst'.) | ||
| 99 | |||
| 100 | Documentation is in lispref/variables.texi. Added to NEWS. | ||
| 101 | |||
| 102 | * lisp.h (enum symbol_interned): New enumeration. | ||
| 103 | (struct Lisp_Symbol): Remove member `obarray', add | ||
| 104 | `indirect_variable', `constant', and `interned'. | ||
| 105 | (SYMBOL_INTERNED_P, SYMBOL_INTERNED_IN_INITIAL_OBARRAY_P) | ||
| 106 | (SYMBOL_CONSTANT_P, SYMBOL_VALUE, SET_SYMBOL_VALUE): New macros. | ||
| 107 | (indirect_variable): Add prototype. | ||
| 108 | |||
| 109 | * print.c (print_preprocess, print_object): Test internedness of | ||
| 110 | symbols differently. | ||
| 111 | |||
| 112 | * lread.c (Fintern, Funintern): Set symbol's interned and constant | ||
| 113 | bit-fields. | ||
| 114 | (init_obarray): Likewise for t and nil. | ||
| 115 | |||
| 116 | * eval.c Use SYMBOL_VALUE/SET_SYMBOL_VALUE. | ||
| 117 | (Fdefvaralias): New function. | ||
| 118 | (specbind): Simplify the test if symbol is a constant. | ||
| 119 | (syms_of_eval): Defsubr Fdefvaralias. | ||
| 120 | |||
| 121 | * data.c: Use SYMBOL_VALUE/SET_SYMBOL_VALUE. | ||
| 122 | (Qcyclic_variable_indirection): New variable. | ||
| 123 | (Fkeywordp): Check for internedness differently. | ||
| 124 | (Fmakunbound): Simplify the test if symbol is a constant. | ||
| 125 | (indirect_variable, Findirect_variable): New functions. | ||
| 126 | (swap_in_symval_forwarding): If SYMBOL is an alias, use the | ||
| 127 | aliased symbol. | ||
| 128 | (let_shadows_buffer_binding_p): Check for variable aliases. | ||
| 129 | (set_internal): Simplify the test if SYMBOL is a constant. | ||
| 130 | If SYMBOL has a buffer-local value and is an alias, use the aliased | ||
| 131 | symbol instead. | ||
| 132 | (syms_of_data): Initialize Qcyclic_variable_indirection and defsubr | ||
| 133 | Sindirect_variable. | ||
| 134 | |||
| 135 | * bytecode.c (Fbyte_code) <varref>: Use SYMBOL_VALUE. | ||
| 136 | (Fbyte_code) <varset>: Simplify the test if symbol's value can be | ||
| 137 | set directly. | ||
| 138 | |||
| 139 | * alloc.c (Fmake_symbol): Adapt to changes of struct Lisp_Symbol. | ||
| 140 | |||
| 141 | * abbrev.c, buffer.c, coding.c, fns.c, frame.c, keyboard.c: | ||
| 142 | * minibuf.c, sunfns.c, w16select.c: Use SYMBOL_VALUE/ | ||
| 143 | SET_SYMBOL_VALUE macros instead of accessing symbol values directly. | ||
| 144 | |||
| 17 | 2001-10-03 Miles Bader <miles@gnu.org> | 145 | 2001-10-03 Miles Bader <miles@gnu.org> |
| 18 | 146 | ||
| 19 | * callproc.c (syms_of_callproc): Explicitly state in the | 147 | * callproc.c (syms_of_callproc): Explicitly state in the |