aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-05 10:13:12 +0000
committerGerd Moellmann2001-10-05 10:13:12 +0000
commitc89e4bc57feca4a91bb53cbb5c9a57e05904062a (patch)
treed6f70ee39ceb7f18b919253761ee68c45b6ea868
parentc4ab9c7c528a7a4e8ebadf6cc302eaf06bc62a30 (diff)
downloademacs-c89e4bc57feca4a91bb53cbb5c9a57e05904062a.tar.gz
emacs-c89e4bc57feca4a91bb53cbb5c9a57e05904062a.zip
*** empty log message ***
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/windmove.el6
-rw-r--r--lispref/ChangeLog4
-rw-r--r--src/ChangeLog128
4 files changed, 140 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cc3827e2714..d0486dea5ae 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12001-10-05 Gerd Moellmann <gerd@gnu.org>
2
3 * bindings.el: Remove no-byte-compile from file local variables
4 to enable bootstrapping.
5
12001-10-04 Andrew Innes <andrewi@gnu.org> 62001-10-04 Andrew Innes <andrewi@gnu.org>
2 7
3 * faces.el (face-font-registry-alternatives) [windows-nt]: Make 8 * faces.el (face-font-registry-alternatives) [windows-nt]: Make
diff --git a/lisp/windmove.el b/lisp/windmove.el
index e7c6b3daaae..0320fd0aaef 100644
--- a/lisp/windmove.el
+++ b/lisp/windmove.el
@@ -310,7 +310,7 @@ MIN-N."
310(defun windmove-frame-edges (window) 310(defun windmove-frame-edges (window)
311 "Return (X-MIN Y-MIN X-MAX Y-MAX) for the frame containing WINDOW. 311 "Return (X-MIN Y-MIN X-MAX Y-MAX) for the frame containing WINDOW.
312If WINDOW is nil, return the edges for the selected frame. 312If WINDOW is nil, return the edges for the selected frame.
313(X-MIN, Y-MIN) is the zero-based coordinate of the top-left corner 313\(X-MIN, Y-MIN) is the zero-based coordinate of the top-left corner
314of the frame; (X-MAX, Y-MAX) is the zero-based coordinate of the 314of the frame; (X-MAX, Y-MAX) is the zero-based coordinate of the
315bottom-right corner of the frame. 315bottom-right corner of the frame.
316For example, if a frame has 76 rows and 181 columns, the return value 316For example, if a frame has 76 rows and 181 columns, the return value
@@ -543,7 +543,7 @@ If no window is at direction DIR, an error is signaled."
543With no prefix argument, or with prefix argument equal to zero, 543With no prefix argument, or with prefix argument equal to zero,
544\"left\" is relative to the position of point in the window; otherwise 544\"left\" is relative to the position of point in the window; otherwise
545it is relative to the top edge (for positive ARG) or the bottom edge 545it is relative to the top edge (for positive ARG) or the bottom edge
546(for negative ARG) of the current window. 546\(for negative ARG) of the current window.
547If no window is at the desired location, an error is signaled." 547If no window is at the desired location, an error is signaled."
548 (interactive "P") 548 (interactive "P")
549 (windmove-do-window-select 'left arg)) 549 (windmove-do-window-select 'left arg))
@@ -576,7 +576,7 @@ If no window is at the desired location, an error is signaled."
576With no prefix argument, or with prefix argument equal to zero, 576With no prefix argument, or with prefix argument equal to zero,
577\"down\" is relative to the position of point in the window; otherwise 577\"down\" is relative to the position of point in the window; otherwise
578it is relative to the left edge (for positive ARG) or the right edge 578it is relative to the left edge (for positive ARG) or the right edge
579(for negative ARG) of the current window. 579\(for negative ARG) of the current window.
580If no window is at the desired location, an error is signaled." 580If no window is at the desired location, an error is signaled."
581 (interactive "P") 581 (interactive "P")
582 (windmove-do-window-select 'down arg)) 582 (windmove-do-window-select 'down arg))
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 6061a9fa20e..37bb1c93af1 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,7 @@
12001-10-04 Gerd Moellmann <gerd@gnu.org>
2
3 * variables.texi (Variable Aliases): New node.
4
12001-10-02 Miles Bader <miles@gnu.org> 52001-10-02 Miles Bader <miles@gnu.org>
2 6
3 * minibuf.texi (Minibuffer Misc): Add entries for 7 * minibuf.texi (Minibuffer Misc): Add entries for
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
172001-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
252001-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
392001-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
462001-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
602001-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
782001-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
872001-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
172001-10-03 Miles Bader <miles@gnu.org> 1452001-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