aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2004-02-19 20:25:17 +0000
committerStefan Monnier2004-02-19 20:25:17 +0000
commitb15aa9f9e878c384909910b247da7dc2b3bcc65b (patch)
treeee8f00fa98e604852b0cf161efebfe7b0ddbe4cc
parent507c5deb1e04694ed6c7393c54ebbacafc1062cd (diff)
downloademacs-b15aa9f9e878c384909910b247da7dc2b3bcc65b.tar.gz
emacs-b15aa9f9e878c384909910b247da7dc2b3bcc65b.zip
(union Lisp_Object): Give a more precise type for `type'.
Remove unused `gu' alternative.
-rw-r--r--lisp/ChangeLog36
-rw-r--r--src/ChangeLog13
-rw-r--r--src/lisp.h18
3 files changed, 36 insertions, 31 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5376d1bb2ba..bf4e852c494 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -13,8 +13,8 @@
13 13
14 * calendar/calendar.el (calendar-holidays): Doc fix. 14 * calendar/calendar.el (calendar-holidays): Doc fix.
15 15
16 * calendar/cal-coptic.el (coptic-prompt-for-date): Use 16 * calendar/cal-coptic.el (coptic-prompt-for-date):
17 assoc-string instead of assoc-ignore-case. 17 Use assoc-string instead of assoc-ignore-case.
18 * calendar/cal-french.el (calendar-goto-french-date): Ditto. 18 * calendar/cal-french.el (calendar-goto-french-date): Ditto.
19 * calendar/cal-hebrew.el (calendar-goto-hebrew-date) 19 * calendar/cal-hebrew.el (calendar-goto-hebrew-date)
20 (mark-hebrew-diary-entries, list-yahrzeit-dates): Ditto. 20 (mark-hebrew-diary-entries, list-yahrzeit-dates): Ditto.
@@ -28,8 +28,8 @@
28 28
292004-02-18 Markus Rost <rost@mathematik.uni-bielefeld.de> 292004-02-18 Markus Rost <rost@mathematik.uni-bielefeld.de>
30 30
31 * progmodes/executable.el (executable-command-find-posix-p): Fix 31 * progmodes/executable.el (executable-command-find-posix-p):
32 choice of the directory. 32 Fix choice of the directory.
33 33
342004-02-17 Luc Teirlinck <teirllm@auburn.edu> 342004-02-17 Luc Teirlinck <teirllm@auburn.edu>
35 35
@@ -83,11 +83,11 @@
83 83
84 * rmail-spam-filter.el: (vm-use-spam-filter) 84 * rmail-spam-filter.el: (vm-use-spam-filter)
85 (rsf-min-region-length-added-to-spam-list): New variables. 85 (rsf-min-region-length-added-to-spam-list): New variables.
86 (rsf-bbdb-auto-delete-spam-bbdb-entries): Renamed from 86 (rsf-bbdb-auto-delete-spam-bbdb-entries): Rename from
87 rmail-bbdb-auto-delete-spam-entries. Added cc: to recipients for 87 rmail-bbdb-auto-delete-spam-entries. Added cc: to recipients for
88 spam testing. Don't delete spam message if automatic deletion 88 spam testing. Don't delete spam message if automatic deletion
89 after output via variable rmail-delete-after-output is turned on. 89 after output via variable rmail-delete-after-output is turned on.
90 (rsf-bbdb-dont-create-entries-for-deleted-messages): Renamed from 90 (rsf-bbdb-dont-create-entries-for-deleted-messages): Rename from
91 rsf-bbdb-dont-create-entries-for-spam. 91 rsf-bbdb-dont-create-entries-for-spam.
92 (check-field): New function, extracted from code in 92 (check-field): New function, extracted from code in
93 rmail-spam-filter to ease addition of header fields like 93 rmail-spam-filter to ease addition of header fields like
@@ -97,11 +97,10 @@
97 (rmail-spam-filter): Replace repeated test code for header fields 97 (rmail-spam-filter): Replace repeated test code for header fields
98 by calls to check-field; change the call to 98 by calls to check-field; change the call to
99 rmail-output-to-rmail-file such that rmail-current-message stays 99 rmail-output-to-rmail-file such that rmail-current-message stays
100 the same to avoid wrong deletion of unseen 100 the same to avoid wrong deletion of unseen flags.
101 flags.
102 (rsf-add-contents-type): New function to convert old format 101 (rsf-add-contents-type): New function to convert old format
103 of rmail-spam-definitions-alist into new one. 102 of rmail-spam-definitions-alist into new one.
104 Changed prefixes of all variables and functions from 103 Change prefixes of all variables and functions from
105 rmail-spam-filter- or spam-filter- or rmail-spam- to rsf-. 104 rmail-spam-filter- or spam-filter- or rmail-spam- to rsf-.
106 105
1072004-02-16 Eli Zaretskii <eliz@elta.co.il> 1062004-02-16 Eli Zaretskii <eliz@elta.co.il>
@@ -125,8 +124,8 @@
1252004-02-16 Eli Zaretskii <eliz@elta.co.il> 1242004-02-16 Eli Zaretskii <eliz@elta.co.il>
126 125
127 * emacs-lisp/rx.el (rx-check, rx-check-any, rx-check-not) 126 * emacs-lisp/rx.el (rx-check, rx-check-any, rx-check-not)
128 (rx-repeat, rx-check-backref, rx-syntax, rx-to-string): Use 127 (rx-repeat, rx-check-backref, rx-syntax, rx-to-string):
129 lower-case "rx" in all error message. 128 Use lower-case "rx" in all error message.
130 129
1312004-02-16 Dave Love <fx@gnu.org> 1302004-02-16 Dave Love <fx@gnu.org>
132 131
@@ -153,7 +152,7 @@
153 * autorevert.el (auto-revert-active-p, auto-revert-list-diff) 152 * autorevert.el (auto-revert-active-p, auto-revert-list-diff)
154 (auto-revert-dired-file-list, auto-revert-dired-changed-p) 153 (auto-revert-dired-file-list, auto-revert-dired-changed-p)
155 (auto-revert-handler, auto-revert-active-p): New functions. 154 (auto-revert-handler, auto-revert-active-p): New functions.
156 (auto-revert-buffers): Moved revert logic to `auto-revert-handler' 155 (auto-revert-buffers): Move revert logic to `auto-revert-handler'
157 and `auto-revert-active-p'. 156 and `auto-revert-active-p'.
158 (eval-when-compile): Defvar dired-directory and vc-mode. 157 (eval-when-compile): Defvar dired-directory and vc-mode.
159 (auto-revert-vc-cvs-file-version, auto-revert-vc-buffer-p) 158 (auto-revert-vc-cvs-file-version, auto-revert-vc-buffer-p)
@@ -216,7 +215,7 @@
216 215
2172004-02-14 Martin Stjernholm <bug-cc-mode@gnu.org> 2162004-02-14 Martin Stjernholm <bug-cc-mode@gnu.org>
218 217
219 * Makefile.in: Fixed the CC Mode recompile kludge so it works 218 * Makefile.in: Fix the CC Mode recompile kludge so it works
220 when building in a different directory. 219 when building in a different directory.
221 220
2222004-02-13 Luc Teirlinck <teirllm@auburn.edu> 2212004-02-13 Luc Teirlinck <teirllm@auburn.edu>
@@ -225,6 +224,17 @@
225 224
2262004-02-11 Stefan Monnier <monnier@iro.umontreal.ca> 2252004-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
227 226
227 * diff.el: Don't use compile any more, use diff-mode instead.
228 (diff-regexp-alist, diff-old-file, diff-new-file)
229 (diff-parse-differences, diff-process-setup): Remove.
230 (diff-sentinel): New fun.
231 (diff): Use it. Run the process ourselves.
232 Use diff-mode for the rest of the processing.
233
234 * diff.el (diff): Simplify code handling `switch'.
235
2362004-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
237
228 * pcvs-defs.el (cvs-menu): Add `tag'. 238 * pcvs-defs.el (cvs-menu): Add `tag'.
229 239
2302004-02-11 Luc Teirlinck <teirllm@auburn.edu> 2402004-02-11 Luc Teirlinck <teirllm@auburn.edu>
diff --git a/src/ChangeLog b/src/ChangeLog
index 9d2a88c1dfe..508da2fe482 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12004-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * lisp.h (union Lisp_Object): Give a more precise type for `type'.
4 Remove unused `gu' alternative.
5
12004-02-19 Andreas Schwab <schwab@suse.de> 62004-02-19 Andreas Schwab <schwab@suse.de>
2 7
3 * fringe.c (Fdefine_fringe_bitmap): Use && instead of & to avoid 8 * fringe.c (Fdefine_fringe_bitmap): Use && instead of & to avoid
@@ -49,9 +54,9 @@
49 54
502004-02-15 Stefan Monnier <monnier@iro.umontreal.ca> 552004-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
51 56
52 * data.c (Fbyteorder): 57 * data.c (Fbyteorder):
53 * fringe.c (Fdefine_fringe_bitmap): 58 * fringe.c (Fdefine_fringe_bitmap):
54 * xdisp.c (handle_single_display_prop): 59 * xdisp.c (handle_single_display_prop):
55 * xselect.c (x_handle_dnd_message): Lisp_Object/int mixup. 60 * xselect.c (x_handle_dnd_message): Lisp_Object/int mixup.
56 61
572004-02-16 Jason Rumney <jasonr@gnu.org> 622004-02-16 Jason Rumney <jasonr@gnu.org>
@@ -64,7 +69,7 @@
64 controlling emulation of a three button mouse with option and 69 controlling emulation of a three button mouse with option and
65 command keys. 70 command keys.
66 (Qreverse, mac_get_enumlated_btn): Handle the emulation 71 (Qreverse, mac_get_enumlated_btn): Handle the emulation
67 (mac_event_to_emacs_modifiers, XTread_socket): Ditto 72 (mac_event_to_emacs_modifiers, XTread_socket): Ditto.
68 73
692004-02-15 Kim F. Storm <storm@cua.dk> 742004-02-15 Kim F. Storm <storm@cua.dk>
70 75
diff --git a/src/lisp.h b/src/lisp.h
index 6137182847f..c9eb714be18 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -178,18 +178,13 @@ union Lisp_Object
178 struct 178 struct
179 { 179 {
180 EMACS_INT val : VALBITS; 180 EMACS_INT val : VALBITS;
181 EMACS_UINT type : GCTYPEBITS; 181 enum Lisp_Type type : GCTYPEBITS;
182 } s; 182 } s;
183 struct 183 struct
184 { 184 {
185 EMACS_UINT val : VALBITS; 185 EMACS_UINT val : VALBITS;
186 EMACS_UINT type : GCTYPEBITS; 186 enum Lisp_Type type : GCTYPEBITS;
187 } u; 187 } u;
188 struct
189 {
190 EMACS_UINT val : VALBITS;
191 enum Lisp_Type type : GCTYPEBITS;
192 } gu;
193 } 188 }
194Lisp_Object; 189Lisp_Object;
195 190
@@ -204,19 +199,14 @@ union Lisp_Object
204 199
205 struct 200 struct
206 { 201 {
207 EMACS_UINT type : GCTYPEBITS; 202 enum Lisp_Type type : GCTYPEBITS;
208 EMACS_INT val : VALBITS; 203 EMACS_INT val : VALBITS;
209 } s; 204 } s;
210 struct 205 struct
211 { 206 {
212 EMACS_UINT type : GCTYPEBITS; 207 enum Lisp_Type type : GCTYPEBITS;
213 EMACS_UINT val : VALBITS; 208 EMACS_UINT val : VALBITS;
214 } u; 209 } u;
215 struct
216 {
217 enum Lisp_Type type : GCTYPEBITS;
218 EMACS_UINT val : VALBITS;
219 } gu;
220 } 210 }
221Lisp_Object; 211Lisp_Object;
222 212