comparison lisp/ChangeLog @ 4800:b828e06dbe38

New (Common Lisp) function get-propertie
author Didier Verna <didier@xemacs.org>
date Wed, 06 Jan 2010 13:48:25 +0100
parents 8484c6c76837
children 980575c76541
comparison
equal deleted inserted replaced
4798:ea7a6c12df45 4800:b828e06dbe38
1 2010-01-06 Didier Verna <didier@xemacs.org>
2
3 * cl-extra.el (get-properties): New.
4
1 2009-12-31 Aidan Kehoe <kehoea@parhasard.net> 5 2009-12-31 Aidan Kehoe <kehoea@parhasard.net>
2 6
3 * list-mode.el (next-list-mode-item, switch-to-completions): Use 7 * list-mode.el (next-list-mode-item, switch-to-completions): Use
4 next-single-char-property-change, 8 next-single-char-property-change,
5 previous-single-char-property-change now 9 previous-single-char-property-change now
19 dk.xemacs.org from list of package download sites. 23 dk.xemacs.org from list of package download sites.
20 * package-get.el (package-get-pre-release-download-sites): Ditto. 24 * package-get.el (package-get-pre-release-download-sites): Ditto.
21 25
22 2009-12-21 Aidan Kehoe <kehoea@parhasard.net> 26 2009-12-21 Aidan Kehoe <kehoea@parhasard.net>
23 27
24 * mule/arabic.el (arabic-iso8859-6): 28 * mule/arabic.el (arabic-iso8859-6):
25 Move the creation of this character set to this (dumped) file, 29 Move the creation of this character set to this (dumped) file,
26 since it's needed for input on X11. 30 since it's needed for input on X11.
27 * mule/iso-with-esc.el: 31 * mule/iso-with-esc.el:
28 Remove arabic-iso8859-6 and its Unicode map from this file. 32 Remove arabic-iso8859-6 and its Unicode map from this file.
29 * unicode.el (load-unicode-tables): 33 * unicode.el (load-unicode-tables):
30 Load arabic-iso8859-6 on startup again. 34 Load arabic-iso8859-6 on startup again.
31 35
32 2009-12-19 Aidan Kehoe <kehoea@parhasard.net> 36 2009-12-19 Aidan Kehoe <kehoea@parhasard.net>
33 37
34 * cl-macs.el (cl-do-arglist): 38 * cl-macs.el (cl-do-arglist):
36 Remove support in our generated code for emacs versions where 40 Remove support in our generated code for emacs versions where
37 keywords are not self-quoting. 41 keywords are not self-quoting.
38 42
39 2009-12-18 Aidan Kehoe <kehoea@parhasard.net> 43 2009-12-18 Aidan Kehoe <kehoea@parhasard.net>
40 44
41 * alist.el (modify-alist): 45 * alist.el (modify-alist):
42 * autoload.el (update-autoload-files, autoload-print-form): 46 * autoload.el (update-autoload-files, autoload-print-form):
43 * bytecomp.el (batch-byte-compile-1) 47 * bytecomp.el (batch-byte-compile-1)
44 (byte-compile-multiple-value-call, byte-compile-funcall) 48 (byte-compile-multiple-value-call, byte-compile-funcall)
45 (byte-compile-insert, byte-compile-concat, byte-compile-list) 49 (byte-compile-insert, byte-compile-concat, byte-compile-list)
46 (byte-compile-normal-call, byte-compile-flush-pending): 50 (byte-compile-normal-call, byte-compile-flush-pending):
47 * cl-macs.el (letf): 51 * cl-macs.el (letf):
48 * cl.el: 52 * cl.el:
49 * disass.el (disassemble-1): 53 * disass.el (disassemble-1):
50 * easy-mmode.el (easy-mmode-define-syntax): 54 * easy-mmode.el (easy-mmode-define-syntax):
51 * faces.el (set-face-parent): 55 * faces.el (set-face-parent):
52 * files.el (cd): 56 * files.el (cd):
53 * finder.el (finder-list-matches, finder-list-keywords) 57 * finder.el (finder-list-matches, finder-list-keywords)
54 (finder-compile-keywords): 58 (finder-compile-keywords):
55 * frame.el (frame-notice-user-settings) 59 * frame.el (frame-notice-user-settings)
56 (frame-remove-geometry-props): 60 (frame-remove-geometry-props):
57 * ldap.el (ldap-delete-entries, ldap-modify-entries) 61 * ldap.el (ldap-delete-entries, ldap-modify-entries)
58 (ldap-add-entries): 62 (ldap-add-entries):
59 * loadhist.el (unload-feature): 63 * loadhist.el (unload-feature):
60 * map-ynp.el (map-y-or-n-p): 64 * map-ynp.el (map-y-or-n-p):
61 * menubar-items.el (default-menubar): 65 * menubar-items.el (default-menubar):
62 * mouse.el (default-mouse-track-next-move-rect) 66 * mouse.el (default-mouse-track-next-move-rect)
63 (default-mouse-track-next-move-rect) 67 (default-mouse-track-next-move-rect)
64 (default-mouse-track-cleanup-hook) 68 (default-mouse-track-cleanup-hook)
65 (default-mouse-track-cleanup-extent): 69 (default-mouse-track-cleanup-extent):
66 * mule/ethio-util.el (ethio-fidel-to-sera-buffer) 70 * mule/ethio-util.el (ethio-fidel-to-sera-buffer)
67 (ethio-modify-vowel): 71 (ethio-modify-vowel):
68 * obsolete.el: 72 * obsolete.el:
69 * package-get.el (package-get-update-all): 73 * package-get.el (package-get-update-all):
70 * package-ui.el (pui-list-packages) 74 * package-ui.el (pui-list-packages)
71 (pui-install-selected-packages, pui-install-selected-packages): 75 (pui-install-selected-packages, pui-install-selected-packages):
72 * select.el (select-make-extent-for-selection) 76 * select.el (select-make-extent-for-selection)
73 (dehilight-selection): 77 (dehilight-selection):
74 * simple.el (clone-buffer): 78 * simple.el (clone-buffer):
75 * term/tvi970.el: 79 * term/tvi970.el:
76 * term/wyse50.el: 80 * term/wyse50.el:
77 * unicode.el: 81 * unicode.el:
78 (load-unicode-tables): 82 (load-unicode-tables):
79 * x-font-menu.el (fc-make-font-menu-entry) 83 * x-font-menu.el (fc-make-font-menu-entry)
80 (x-reset-device-font-menus-xft): 84 (x-reset-device-font-menus-xft):
81 * x-misc.el (x-init-specifier-from-resources): 85 * x-misc.el (x-init-specifier-from-resources):
82 Eliminate byte-compile warnings, with the exception of Stephen's 86 Eliminate byte-compile warnings, with the exception of Stephen's
83 various non-defined fontconfig functions, as I don't know if he 87 various non-defined fontconfig functions, as I don't know if he
84 plans to add them and is keeping the warnings around as a 88 plans to add them and is keeping the warnings around as a
85 reminder. The warnings actually eliminated involve i) using mapcar 89 reminder. The warnings actually eliminated involve i) using mapcar
86 instead of mapc where the result is discarded and ii) using a 90 instead of mapc where the result is discarded and ii) using a
87 lambda quoted as data in a context where it is unequivocally used 91 lambda quoted as data in a context where it is unequivocally used
88 as a function. 92 as a function.
89 93
90 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> 94 2009-12-17 Aidan Kehoe <kehoea@parhasard.net>
91 95
92 * mule/make-coding-system.el 96 * mule/make-coding-system.el
93 (fixed-width-create-decode-encode-tables): 97 (fixed-width-create-decode-encode-tables):
117 but still look in standard paths for mh. Also remove support for old 121 but still look in standard paths for mh. Also remove support for old
118 SCO Unix, Bull DPX/2, Data General Unix, RTU, and Unisoft Unix. 122 SCO Unix, Bull DPX/2, Data General Unix, RTU, and Unisoft Unix.
119 123
120 2009-11-15 Aidan Kehoe <kehoea@parhasard.net> 124 2009-11-15 Aidan Kehoe <kehoea@parhasard.net>
121 125
122 * custom.el (custom-quote): 126 * custom.el (custom-quote):
123 Define this as an alias for `quote-maybe', which is in C and more 127 Define this as an alias for `quote-maybe', which is in C and more
124 comprehensive; packages still use this name in places. 128 comprehensive; packages still use this name in places.
125 (customize-mark-to-save, customize-mark-as-set): Use 129 (customize-mark-to-save, customize-mark-as-set): Use
126 `quote-maybe', not `custom-quote'. 130 `quote-maybe', not `custom-quote'.
127 * cus-edit.el (customize-set-variable, customize-save-variable) 131 * cus-edit.el (customize-set-variable, customize-save-variable)
128 (custom-variable-value-create, custom-variable-set) 132 (custom-variable-value-create, custom-variable-set)
129 (custom-variable-pre-save): 133 (custom-variable-pre-save):
130 Remove a version of `custom-quote' specific to this file; use 134 Remove a version of `custom-quote' specific to this file; use
131 `quote-maybe' universally instead. 135 `quote-maybe' universally instead.
132 136
133 2009-11-14 Aidan Kehoe <kehoea@parhasard.net> 137 2009-11-14 Aidan Kehoe <kehoea@parhasard.net>
134 138
135 * bytecomp.el (byte-compile-funarg-n): 139 * bytecomp.el (byte-compile-funarg-n):
136 New macro, used to create the various byte-compile-funarg 140 New macro, used to create the various byte-compile-funarg
137 functions, which check for quoted lambdas in given positions. 141 functions, which check for quoted lambdas in given positions.
138 (byte-compile-funarg, byte-compile-funarg-2) 142 (byte-compile-funarg, byte-compile-funarg-2)
139 (byte-compile-funarg-4, byte-compile-funarg-1-2): Use 143 (byte-compile-funarg-4, byte-compile-funarg-1-2): Use
140 byte-compile-funarg-n in implementing these functions. 144 byte-compile-funarg-n in implementing these functions.
141 (byte-compile-maybe-mapc): Add some commentary on GNU's approach 145 (byte-compile-maybe-mapc): Add some commentary on GNU's approach
142 to this problem. 146 to this problem.
143 Be much more comprehensive in the functions that we use 147 Be much more comprehensive in the functions that we use
144 byte-compile-funarg and related function to compile, especially 148 byte-compile-funarg and related function to compile, especially
145 including functions from cl-seq.el. 149 including functions from cl-seq.el.
146 150
147 2009-11-14 Aidan Kehoe <kehoea@parhasard.net> 151 2009-11-14 Aidan Kehoe <kehoea@parhasard.net>
148 152
149 * cl-macs.el (letf): 153 * cl-macs.el (letf):
150 Check whether arguments to #'values are bound, and make them 154 Check whether arguments to #'values are bound, and make them
151 unbound after evaluating BODY; document the limitations of this 155 unbound after evaluating BODY; document the limitations of this
152 macro. 156 macro.
153 157
154 2009-11-14 Aidan Kehoe <kehoea@parhasard.net> 158 2009-11-14 Aidan Kehoe <kehoea@parhasard.net>
155 159
156 * faces.el (init-other-random-faces): 160 * faces.el (init-other-random-faces):
157 If the modeline face is using its fallbacks, avoid that, specify 161 If the modeline face is using its fallbacks, avoid that, specify
158 the corresponding problems instead. Fixes problems described in 162 the corresponding problems instead. Fixes problems described in
159 http://mid.gmane.org/3ggprc2diyt.wl_Ron.Isaacson@morganstanley.com 163 http://mid.gmane.org/3ggprc2diyt.wl_Ron.Isaacson@morganstanley.com
160 164
161 2009-11-09 Didier Verna <didier@xemacs.org> 165 2009-11-09 Didier Verna <didier@xemacs.org>
162 166
163 * minibuf.el (read-buffer): New optional argument 'exclude' for 167 * minibuf.el (read-buffer): New optional argument 'exclude' for
164 excluding buffers from the completion list. 168 excluding buffers from the completion list.
165 * buffer.el (switch-to-buffer): Don't offer the current buffer in 169 * buffer.el (switch-to-buffer): Don't offer the current buffer in
166 the completion list. 170 the completion list.
167 171
168 2009-11-08 Aidan Kehoe <kehoea@parhasard.net> 172 2009-11-08 Aidan Kehoe <kehoea@parhasard.net>
169 173
170 * bytecomp.el (save-window-excursion): 174 * bytecomp.el (save-window-excursion):
171 Remove the compiler form for this bytecode, we no longer generate 175 Remove the compiler form for this bytecode, we no longer generate
172 calls to it. Keep the information about the bytecode's numeric 176 calls to it. Keep the information about the bytecode's numeric
173 value, we want that for disassembling code. 177 value, we want that for disassembling code.
174 178
175 2009-11-08 Aidan Kehoe <kehoea@parhasard.net> 179 2009-11-08 Aidan Kehoe <kehoea@parhasard.net>
176 180
177 * cl-extra.el (cl-string-vector-equalp) 181 * cl-extra.el (cl-string-vector-equalp)
178 (cl-bit-vector-vector-equalp, cl-vector-array-equalp) 182 (cl-bit-vector-vector-equalp, cl-vector-array-equalp)
179 (cl-hash-table-contents-equalp): New functions, to implement 183 (cl-hash-table-contents-equalp): New functions, to implement
180 equalp treating arrays with identical contents as equivalent, as 184 equalp treating arrays with identical contents as equivalent, as
181 specified by Common Lisp. 185 specified by Common Lisp.
182 (equalp): Revise this function to implement array equivalence, 186 (equalp): Revise this function to implement array equivalence,
183 and the hash-table equalp behaviour specified by CL. 187 and the hash-table equalp behaviour specified by CL.
184 * cl-macs.el (equalp): Add a compiler macro for this function, 188 * cl-macs.el (equalp): Add a compiler macro for this function,
185 used when one of the arguments is constant, and as such, its type 189 used when one of the arguments is constant, and as such, its type
186 is known at compile time. 190 is known at compile time.
187 191
188 2009-11-01 Aidan Kehoe <kehoea@parhasard.net> 192 2009-11-01 Aidan Kehoe <kehoea@parhasard.net>
189 193
190 * cl-extra.el (equalp): 194 * cl-extra.el (equalp):
191 Don't error if handed a string and a non-string. 195 Don't error if handed a string and a non-string.
192 196
193 2009-11-01 Stephen Turnbull <stephen@xemacs.org> 197 2009-11-01 Stephen Turnbull <stephen@xemacs.org>
194 198
195 * font.el (font-combine-fonts-internal): 199 * font.el (font-combine-fonts-internal):
241 (end-of-defun): 245 (end-of-defun):
242 Make docstrings stop lying. 246 Make docstrings stop lying.
243 247
244 2009-10-30 Aidan Kehoe <kehoea@parhasard.net> 248 2009-10-30 Aidan Kehoe <kehoea@parhasard.net>
245 249
246 * cl-macs.el (regexp-quote): 250 * cl-macs.el (regexp-quote):
247 If STRING is constant, call regexp-quote at compile time. 251 If STRING is constant, call regexp-quote at compile time.
248 252
249 2009-10-24 Aidan Kehoe <kehoea@parhasard.net> 253 2009-10-24 Aidan Kehoe <kehoea@parhasard.net>
250 254
251 * files.el (default-file-system-ignore-case): New variable. 255 * files.el (default-file-system-ignore-case): New variable.
252 (file-system-case-alist): New variable. 256 (file-system-case-alist): New variable.
253 (file-system-ignore-case-p): 257 (file-system-ignore-case-p):
254 New function; return t if file names under PATH should be treated 258 New function; return t if file names under PATH should be treated
255 case-insensitively. 259 case-insensitively.
256 * minibuf.el (read-file-name-1, read-file-name-internal-1) 260 * minibuf.el (read-file-name-1, read-file-name-internal-1)
257 (read-file-name-internal-1): 261 (read-file-name-internal-1):
258 * package-admin.el (package-admin-check-manifest): 262 * package-admin.el (package-admin-check-manifest):
259 Use file-system-ignore-case-p instead of checking system-type 263 Use file-system-ignore-case-p instead of checking system-type
260 directly in these functions. (Even though minibuf.el is dumped 264 directly in these functions. (Even though minibuf.el is dumped
261 before files.el, the function is only called in interactive usage, 265 before files.el, the function is only called in interactive usage,
262 there's no dump time order dependency here.) 266 there's no dump time order dependency here.)
263 267
264 2009-10-19 Aidan Kehoe <kehoea@parhasard.net> 268 2009-10-19 Aidan Kehoe <kehoea@parhasard.net>
265 269
266 * bytecomp.el (byte-compile-default-warnings): 270 * bytecomp.el (byte-compile-default-warnings):
267 Add two new warning types, discarded-consing (basically use of 271 Add two new warning types, discarded-consing (basically use of
268 mapcar instead of mapc where its result is discarded) and 272 mapcar instead of mapc where its result is discarded) and
269 quoted-lambda (use of a lambda expression quoted as data in a 273 quoted-lambda (use of a lambda expression quoted as data in a
270 function context). 274 function context).
271 (byte-compile-warnings): Document the new warnings. 275 (byte-compile-warnings): Document the new warnings.
272 (byte-compile-fset, byte-compile-funarg): Implement the 276 (byte-compile-fset, byte-compile-funarg): Implement the
273 quoted-lambda warning option. 277 quoted-lambda warning option.
274 (byte-compile-mapcar): Renamed to byte-compile-maybe-mapc. 278 (byte-compile-mapcar): Renamed to byte-compile-maybe-mapc.
275 (byte-compile-maybe-mapc, byte-compile-maplist): 279 (byte-compile-maybe-mapc, byte-compile-maplist):
276 Implement the discarded-consing warning option. 280 Implement the discarded-consing warning option.
277 Add more functions that should be compiled using 281 Add more functions that should be compiled using
278 byte-compile-funarg, notably mapvector, mapc-internal, 282 byte-compile-funarg, notably mapvector, mapc-internal,
279 map-char-table. 283 map-char-table.
280 * cl-macs.el (mapcar*): 284 * cl-macs.el (mapcar*):
281 If we know at compile time that there are no CL options being 285 If we know at compile time that there are no CL options being
282 used, use the mapcar subr, not the byte-coded function. 286 used, use the mapcar subr, not the byte-coded function.
283 287
284 2009-10-12 Aidan Kehoe <kehoea@parhasard.net> 288 2009-10-12 Aidan Kehoe <kehoea@parhasard.net>
285 289
286 * cl-macs.el (mapc): 290 * cl-macs.el (mapc):
287 New compiler macro, use mapc-internal at 291 New compiler macro, use mapc-internal at
289 * bytecomp.el (byte-compile-mapcar, byte-compile-maplist): New. 293 * bytecomp.el (byte-compile-mapcar, byte-compile-maplist): New.
290 If the return value of mapcar is being discarded, compile it to a 294 If the return value of mapcar is being discarded, compile it to a
291 mapc-internal call instead, and warn, because the programmer 295 mapc-internal call instead, and warn, because the programmer
292 probably can't rely on always being compiled by an XEmacs that 296 probably can't rely on always being compiled by an XEmacs that
293 does this. Similarly for maplist and mapl; and use 297 does this. Similarly for maplist and mapl; and use
294 byte-compile-funarg for map, mapl, mapcan, mapcon. 298 byte-compile-funarg for map, mapl, mapcan, mapcon.
295 299
296 2009-10-12 Aidan Kehoe <kehoea@parhasard.net> 300 2009-10-12 Aidan Kehoe <kehoea@parhasard.net>
297 301
298 * cl-macs.el (delete-duplicates): 302 * cl-macs.el (delete-duplicates):
299 Fix another bug in the delete-duplicates compiler macro, thank you 303 Fix another bug in the delete-duplicates compiler macro, thank you
300 the byte compiler. 304 the byte compiler.
301 305
302 2009-10-07 Andreas Roehler <andreas.roehler@online.de> 306 2009-10-07 Andreas Roehler <andreas.roehler@online.de>
303 307
304 * lisp.el (beginning-of-defun-function): 308 * lisp.el (beginning-of-defun-function):
305 make variable buffer local 309 make variable buffer local
332 * etags.el (find-tag-default): 336 * etags.el (find-tag-default):
333 Correct :operation arguments in `with-trapping-errors'. 337 Correct :operation arguments in `with-trapping-errors'.
334 338
335 2009-10-03 Aidan Kehoe <kehoea@parhasard.net> 339 2009-10-03 Aidan Kehoe <kehoea@parhasard.net>
336 340
337 * cl-macs.el (delete-duplicates): 341 * cl-macs.el (delete-duplicates):
338 Make this compiler macro aware that CL-SEQ is a sequence, which 342 Make this compiler macro aware that CL-SEQ is a sequence, which
339 may not necessarily be a list. 343 may not necessarily be a list.
340 344
341 2009-09-30 Mike Sperber <mike@xemacs.org> 345 2009-09-30 Mike Sperber <mike@xemacs.org>
342 346
350 354
351 * cl-macs.el (cl-function-arglist): Add autoload; used in autoload.el. 355 * cl-macs.el (cl-function-arglist): Add autoload; used in autoload.el.
352 356
353 2009-09-27 Aidan Kehoe <kehoea@parhasard.net> 357 2009-09-27 Aidan Kehoe <kehoea@parhasard.net>
354 358
355 * cus-edit.el (custom-variable-prompt): 359 * cus-edit.el (custom-variable-prompt):
356 nil is a symbol, check that variable-at-point is non-nil before 360 nil is a symbol, check that variable-at-point is non-nil before
357 checking if it's a symbol when deciding on the prompt used in this 361 checking if it's a symbol when deciding on the prompt used in this
358 function. 362 function.
359 363
360 2009-09-22 Andreas Roehler <andreas.roehler@online.de> 364 2009-09-22 Andreas Roehler <andreas.roehler@online.de>
361 365
362 * lisp.el (beginning-of-defun-raw): 366 * lisp.el (beginning-of-defun-raw):
363 new variable: beginning-of-defun-function, 367 new variable: beginning-of-defun-function,
364 beginning-of-defun may call FUNCTION determining start position 368 beginning-of-defun may call FUNCTION determining start position
365 * lisp.el (end-of-defun): 369 * lisp.el (end-of-defun):
366 new variable: end-of-defun-function, 370 new variable: end-of-defun-function,
367 end-of-defun may call FUNCTION determining the end position 371 end-of-defun may call FUNCTION determining the end position
368 372
369 2009-09-20 Aidan Kehoe <kehoea@parhasard.net> 373 2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
370 374
371 Add arglist information to docstrings for autoloaded functions and 375 Add arglist information to docstrings for autoloaded functions and
372 macros. 376 macros.
373 * hyper-apropos.el (hyper-apropos-get-doc): 377 * hyper-apropos.el (hyper-apropos-get-doc):
374 Treat autoload docstrings like subr docstrings; correct the regexp 378 Treat autoload docstrings like subr docstrings; correct the regexp
375 used. 379 used.
376 * help.el (describe-function-show-arglist): 380 * help.el (describe-function-show-arglist):
377 This no longer treats autoloads specially. 381 This no longer treats autoloads specially.
378 (function-arglist): Treat autoload docstrings like subr docstrings. 382 (function-arglist): Treat autoload docstrings like subr docstrings.
379 (function-documentation): Treat documentation strings that are 383 (function-documentation): Treat documentation strings that are
380 zero-length after the arglist has been removed as indicating a 384 zero-length after the arglist has been removed as indicating a
381 lack of documentation. 385 lack of documentation.
382 * cl-macs.el (case): 386 * cl-macs.el (case):
383 (ecase): 387 (ecase):
384 (typecase): 388 (typecase):
385 (etypecase): 389 (etypecase):
386 (block): 390 (block):
387 (return): 391 (return):
388 (return-from): 392 (return-from):
389 (progv): 393 (progv):
390 (lexical-let): 394 (lexical-let):
391 (lexical-let*): 395 (lexical-let*):
392 (remf): 396 (remf):
393 (callf): 397 (callf):
394 (callf2): 398 (callf2):
395 (define-modify-macro): 399 (define-modify-macro):
396 (deftype): 400 (deftype):
397 (define-compiler-macro): 401 (define-compiler-macro):
398 Rely on the autoload code to always show an arglist for these 402 Rely on the autoload code to always show an arglist for these
399 functions, don't supply an ad-hoc one in the docstring. 403 functions, don't supply an ad-hoc one in the docstring.
400 These changes are for the most obvious functions; there are some 404 These changes are for the most obvious functions; there are some
401 missed that would require changing argument names in the docstring 405 missed that would require changing argument names in the docstring
402 or in the function bodies. 406 or in the function bodies.
403 * autoload.el (make-autoload): 407 * autoload.el (make-autoload):
404 Add arg list information to the doc string, using the same 408 Add arg list information to the doc string, using the same
405 approach as for subrs. 409 approach as for subrs.
406 410
407 2009-09-20 Aidan Kehoe <kehoea@parhasard.net> 411 2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
408 412
409 * help.el (function-arglist): 413 * help.el (function-arglist):
410 Show the double-quotes in the sample output, correctly. 414 Show the double-quotes in the sample output, correctly.
411 Bind print-gensym to nil, now we're using uninterned symbols. 415 Bind print-gensym to nil, now we're using uninterned symbols.
412 Don't #'mapcar + #'intern to create uppercase symbols, use #'loop 416 Don't #'mapcar + #'intern to create uppercase symbols, use #'loop
413 and #'make-symbol instead. 417 and #'make-symbol instead.
414 * cl-macs.el (cl-upcase-arg): 418 * cl-macs.el (cl-upcase-arg):
415 Don't intern the upcased symbols we're using for cosmetic reasons. 419 Don't intern the upcased symbols we're using for cosmetic reasons.
416 Trust #'true-list-p in #'cl-function-arglist to detect 420 Trust #'true-list-p in #'cl-function-arglist to detect
417 circularity. 421 circularity.
418 (cl-function-arglist): Bind print-gensym to nil, now we're 422 (cl-function-arglist): Bind print-gensym to nil, now we're
419 printing uninterned symbols and would prefer to avoid the gensym 423 printing uninterned symbols and would prefer to avoid the gensym
422 argument information when that differs frmo the normal argument 426 argument information when that differs frmo the normal argument
423 information. 427 information.
424 428
425 2009-09-20 Aidan Kehoe <kehoea@parhasard.net> 429 2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
426 430
427 * mule/make-coding-system.el (make-coding-system): 431 * mule/make-coding-system.el (make-coding-system):
428 Require a minimum of two, not four, arguments; thank you for the 432 Require a minimum of two, not four, arguments; thank you for the
429 problem report, Adam Sjøgren! 433 problem report, Adam Sjøgren!
430 434
431 2009-09-19 Aidan Kehoe <kehoea@parhasard.net> 435 2009-09-19 Aidan Kehoe <kehoea@parhasard.net>
432 436
433 Move the #'query-coding-region implementation to C. 437 Move the #'query-coding-region implementation to C.
434 * coding.el: 438 * coding.el:
435 Consolidate code that depends on the presence or absence of Mule 439 Consolidate code that depends on the presence or absence of Mule
436 at the end of this file. 440 at the end of this file.
437 (default-query-coding-region, query-coding-region): 441 (default-query-coding-region, query-coding-region):
438 Move these functions to C. 442 Move these functions to C.
439 (default-query-coding-region-safe-charset-skip-chars-map): 443 (default-query-coding-region-safe-charset-skip-chars-map):
440 Remove this variable, the corresponding C variable is 444 Remove this variable, the corresponding C variable is
441 Vdefault_query_coding_region_chartab_cache in file-coding.c. 445 Vdefault_query_coding_region_chartab_cache in file-coding.c.
442 (query-coding-string): Update docstring to reflect actual multiple 446 (query-coding-string): Update docstring to reflect actual multiple
443 values, be more careful about not modifying a range table that 447 values, be more careful about not modifying a range table that
444 we're currently mapping over. 448 we're currently mapping over.
445 (encode-coding-char): Make the implementation of this simpler. 449 (encode-coding-char): Make the implementation of this simpler.
446 (featurep 'mule): Autoload #'make-coding-system from 450 (featurep 'mule): Autoload #'make-coding-system from
447 mule/make-coding-system.el if we're a mule build; provide an 451 mule/make-coding-system.el if we're a mule build; provide an
448 appropriate compiler macro. 452 appropriate compiler macro.
449 Do various non-mule compatibility things if we're not a mule 453 Do various non-mule compatibility things if we're not a mule
450 build. 454 build.
451 * update-elc.el (additional-dump-dependencies): 455 * update-elc.el (additional-dump-dependencies):
452 Add mule/make-coding-system as a dump time dependency if we're a 456 Add mule/make-coding-system as a dump time dependency if we're a
453 mule build. 457 mule build.
454 * unicode.el (ccl-encode-to-ucs-2): 458 * unicode.el (ccl-encode-to-ucs-2):
455 (decode-char): 459 (decode-char):
456 (encode-char): 460 (encode-char):
457 Move these earlier in the file, for the sake of some byte compile 461 Move these earlier in the file, for the sake of some byte compile
458 warnings. 462 warnings.
459 (unicode-query-coding-region): 463 (unicode-query-coding-region):
460 Move this to unicode.c 464 Move this to unicode.c
461 * mule/make-coding-system.el: 465 * mule/make-coding-system.el:
462 New file, not dumped. Contains the functionality to rework the 466 New file, not dumped. Contains the functionality to rework the
463 arguments necessary for fixed-width coding systems, and contains 467 arguments necessary for fixed-width coding systems, and contains
464 the implementation of #'make-coding-system, which now calls 468 the implementation of #'make-coding-system, which now calls
465 #'make-coding-system-internal. 469 #'make-coding-system-internal.
466 * mule/vietnamese.el (viscii): 470 * mule/vietnamese.el (viscii):
467 * mule/latin.el (iso-8859-2): 471 * mule/latin.el (iso-8859-2):
468 (windows-1250): 472 (windows-1250):
469 (iso-8859-3): 473 (iso-8859-3):
470 (iso-8859-4): 474 (iso-8859-4):
471 (iso-8859-14): 475 (iso-8859-14):
472 (iso-8859-15): 476 (iso-8859-15):
473 (iso-8859-16): 477 (iso-8859-16):
474 (iso-8859-9): 478 (iso-8859-9):
475 (macintosh): 479 (macintosh):
476 (windows-1252): 480 (windows-1252):
477 * mule/hebrew.el (iso-8859-8): 481 * mule/hebrew.el (iso-8859-8):
478 * mule/greek.el (iso-8859-7): 482 * mule/greek.el (iso-8859-7):
479 (windows-1253): 483 (windows-1253):
480 * mule/cyrillic.el (iso-8859-5): 484 * mule/cyrillic.el (iso-8859-5):
481 (koi8-r): 485 (koi8-r):
482 (koi8-u): 486 (koi8-u):
483 (windows-1251): 487 (windows-1251):
484 (alternativnyj): 488 (alternativnyj):
485 (koi8-ru): 489 (koi8-ru):
486 (koi8-t): 490 (koi8-t):
487 (koi8-c): 491 (koi8-c):
488 (koi8-o): 492 (koi8-o):
489 * mule/arabic.el (iso-8859-6): 493 * mule/arabic.el (iso-8859-6):
490 (windows-1256): 494 (windows-1256):
491 Move all these coding systems to being of type fixed-width, not of 495 Move all these coding systems to being of type fixed-width, not of
492 type CCL. This allows the distinct query-coding-region for them to 496 type CCL. This allows the distinct query-coding-region for them to
493 be in C, something which will eventually allow us to implement 497 be in C, something which will eventually allow us to implement
494 query-coding-region for the mswindows-multibyte coding systems. 498 query-coding-region for the mswindows-multibyte coding systems.
495 * mule/general-late.el (posix-charset-to-coding-system-hash): 499 * mule/general-late.el (posix-charset-to-coding-system-hash):
496 Document why we're pre-emptively persuading the byte compiler that 500 Document why we're pre-emptively persuading the byte compiler that
497 the ELC for this file needs to be written using escape-quoted. 501 the ELC for this file needs to be written using escape-quoted.
498 Call #'set-unicode-query-skip-chars-args, now the Unicode 502 Call #'set-unicode-query-skip-chars-args, now the Unicode
499 query-coding-region implementation is in C. 503 query-coding-region implementation is in C.
500 * mule/thai-xtis.el (tis-620): 504 * mule/thai-xtis.el (tis-620):
501 Don't bother checking whether we're XEmacs or not here. 505 Don't bother checking whether we're XEmacs or not here.
502 * mule/mule-coding.el: 506 * mule/mule-coding.el:
503 Move the eight bit fixed-width functionality from this file to 507 Move the eight bit fixed-width functionality from this file to
504 make-coding-system.el. 508 make-coding-system.el.
505 509
506 2009-09-14 Michael Sperber <mike@xemacs.org> 510 2009-09-14 Michael Sperber <mike@xemacs.org>
507 511
512 2009-09-06 Aidan Kehoe <kehoea@parhasard.net> 516 2009-09-06 Aidan Kehoe <kehoea@parhasard.net>
513 517
514 * simple.el (handle-pre-motion-command-current-command-is-motion): 518 * simple.el (handle-pre-motion-command-current-command-is-motion):
515 If KEY is a character, ascertain that once, not every iteration of 519 If KEY is a character, ascertain that once, not every iteration of
516 the loop. 520 the loop.
517 * mule/mule-cmds.el (finish-set-language-environment): 521 * mule/mule-cmds.el (finish-set-language-environment):
518 Don't call #'string-match on a one-character string, use functions 522 Don't call #'string-match on a one-character string, use functions
519 that have bytecodes instead, since this is called so often on 523 that have bytecodes instead, since this is called so often on
520 startup. 524 startup.
521 525
522 2009-08-31 Aidan Kehoe <kehoea@parhasard.net> 526 2009-08-31 Aidan Kehoe <kehoea@parhasard.net>
523 527
524 * byte-optimize.el (byte-optimize-form-code-walker): 528 * byte-optimize.el (byte-optimize-form-code-walker):
525 Be careful about discarding multiple values when optimising 529 Be careful about discarding multiple values when optimising
526 #'prog1 calls. 530 #'prog1 calls.
527 (byte-optimize-or): 531 (byte-optimize-or):
528 Preserve any trailing nil, as this is a supported way to 532 Preserve any trailing nil, as this is a supported way to
529 explicitly discard multiple values. 533 explicitly discard multiple values.
530 (byte-optimize-cond-1): 534 (byte-optimize-cond-1):
531 Discard multiple values with a singleton followed by no more 535 Discard multiple values with a singleton followed by no more
532 clauses. 536 clauses.
533 * bytecomp.el (progn): 537 * bytecomp.el (progn):
534 (prog1): 538 (prog1):
535 (prog2): 539 (prog2):
536 Be careful about discarding multiple values in the byte-hunk 540 Be careful about discarding multiple values in the byte-hunk
537 handler of these three forms. 541 handler of these three forms.
538 * bytecomp.el (byte-compile-prog1, byte-compile-prog2): 542 * bytecomp.el (byte-compile-prog1, byte-compile-prog2):
539 Don't call #'values explicitly, use `(or ,(pop form) nil) instead, 543 Don't call #'values explicitly, use `(or ,(pop form) nil) instead,
540 since that compiles to bytecode, not a funcall. 544 since that compiles to bytecode, not a funcall.
541 * bytecomp.el (byte-compile-values): 545 * bytecomp.el (byte-compile-values):
542 With one non-const argument, byte-compile to `(or ,(second form) 546 With one non-const argument, byte-compile to `(or ,(second form)
543 nil), not an explicit #'values call. 547 nil), not an explicit #'values call.
544 * bytecomp.el (byte-compile-insert-header): 548 * bytecomp.el (byte-compile-insert-header):
545 Be nicer in the error message to emacs versions that don't 549 Be nicer in the error message to emacs versions that don't
546 understand our bytecode. 550 understand our bytecode.
547 551
548 2009-08-27 Aidan Kehoe <kehoea@parhasard.net> 552 2009-08-27 Aidan Kehoe <kehoea@parhasard.net>
549 553
550 * cl.el (bytecomp-load-hook): New. 554 * cl.el (bytecomp-load-hook): New.
551 * bytecomp.el (bytecomp-load-hook): Use id. 555 * bytecomp.el (bytecomp-load-hook): Use id.
552 Merge Dave Love's 2000-02-02 GNU (GPLv2) change, forcing the 556 Merge Dave Love's 2000-02-02 GNU (GPLv2) change, forcing the
553 byte-compiler to be more consistent about loading cl-macs at 557 byte-compiler to be more consistent about loading cl-macs at
554 compile time. 558 compile time.
555 559
556 2009-08-19 Malcolm Purvis <malcolmp@xemacs.org> 560 2009-08-19 Malcolm Purvis <malcolmp@xemacs.org>
557 561
558 * simple.el: 562 * simple.el:
559 * simple.el (turn-off-auto-fill): Sync from FSF 21.4. 563 * simple.el (turn-off-auto-fill): Sync from FSF 21.4.
564 Replace mapc + #'(lambda ...) with dolist, eliminating 781 568 Replace mapc + #'(lambda ...) with dolist, eliminating 781
565 funcalls at XEmacs startup and decreasing GC a little. 569 funcalls at XEmacs startup and decreasing GC a little.
566 570
567 2009-08-16 Aidan Kehoe <kehoea@parhasard.net> 571 2009-08-16 Aidan Kehoe <kehoea@parhasard.net>
568 572
569 * faces.el (xpm-color-symbols): 573 * faces.el (xpm-color-symbols):
570 Call (featurep 'x) when faces.elc is dumped, not repeatedly 574 Call (featurep 'x) when faces.elc is dumped, not repeatedly
571 (myriad times) at image instantiation time. 575 (myriad times) at image instantiation time.
572 576
573 2009-08-15 It's me FKtPp ;) <m_pupil@yahoo.com.cn> 577 2009-08-15 It's me FKtPp ;) <m_pupil@yahoo.com.cn>
574 578
575 * gnuserv.el (gnuserv-edit-files): Don't run goto line if the 579 * gnuserv.el (gnuserv-edit-files): Don't run goto line if the
576 gnuclient request to open a file only (a linenumber of nil). 580 gnuclient request to open a file only (a linenumber of nil).
577 581
578 2009-08-14 Aidan Kehoe <kehoea@parhasard.net> 582 2009-08-14 Aidan Kehoe <kehoea@parhasard.net>
579 583
580 * minibuf.el (read-from-minibuffer): 584 * minibuf.el (read-from-minibuffer):
581 Use buffer (format " *Minibuf-%d*" (minibuffer-depth)), regardless 585 Use buffer (format " *Minibuf-%d*" (minibuffer-depth)), regardless
582 of depth. 586 of depth.
583 587
584 2009-08-11 Aidan Kehoe <kehoea@parhasard.net> 588 2009-08-11 Aidan Kehoe <kehoea@parhasard.net>
585 589
586 * cl-extra.el (ceiling*, floor*, round*, truncate*): 590 * cl-extra.el (ceiling*, floor*, round*, truncate*):
587 Implement these in terms of the C functions; mark them as 591 Implement these in terms of the C functions; mark them as
588 obsolete. 592 obsolete.
589 (mod*, rem*): Use #'nth-value with the C functions, not #'nth with 593 (mod*, rem*): Use #'nth-value with the C functions, not #'nth with
590 the CL emulation functions. 594 the CL emulation functions.
591 595
592 2009-08-11 Aidan Kehoe <kehoea@parhasard.net> 596 2009-08-11 Aidan Kehoe <kehoea@parhasard.net>
593 597
594 * bytecomp.el : 598 * bytecomp.el :
595 Update this file to support full C-level multiple values. This 599 Update this file to support full C-level multiple values. This
596 involves: 600 involves:
597 -- Four new bytecodes, and special compiler functions to compile 601 -- Four new bytecodes, and special compiler functions to compile
598 multiple-value-call, multiple-value-list-internal, values, 602 multiple-value-call, multiple-value-list-internal, values,
599 values-list, and, since it now needs to pass back multiple values 603 values-list, and, since it now needs to pass back multiple values
600 and is a special form, throw. 604 and is a special form, throw.
601 -- There's a new compiler variable, byte-compile-checks-on-load, 605 -- There's a new compiler variable, byte-compile-checks-on-load,
602 which is a list of forms that are evaluated at the very start of a 606 which is a list of forms that are evaluated at the very start of a
603 file, with an error thrown if any of them give nil. 607 file, with an error thrown if any of them give nil.
604 -- The header is now inserted *after* compilation, giving a chance 608 -- The header is now inserted *after* compilation, giving a chance
605 for the compilation process to influence what those checks 609 for the compilation process to influence what those checks
606 are. There is still a check done before compilation for non-ASCII 610 are. There is still a check done before compilation for non-ASCII
607 characters, to try to turn off dynamic docstrings if appopriate, 611 characters, to try to turn off dynamic docstrings if appopriate,
608 in `byte-compile-maybe-reset-coding'. 612 in `byte-compile-maybe-reset-coding'.
609 Space is reserved for checks; comments describing the version of 613 Space is reserved for checks; comments describing the version of
610 the byte compiler generating the file are inserted if space 614 the byte compiler generating the file are inserted if space
611 remains for them. 615 remains for them.
612 * bytecomp.el (byte-compile-version): 616 * bytecomp.el (byte-compile-version):
613 Update this, we're a newer version of the byte compiler. 617 Update this, we're a newer version of the byte compiler.
614 * byte-optimize.el (byte-optimize-funcall): 618 * byte-optimize.el (byte-optimize-funcall):
615 Correct a comment. 619 Correct a comment.
616 * bytecomp.el (byte-compile-lapcode): 620 * bytecomp.el (byte-compile-lapcode):
617 Discard the arg with byte-multiple-value-call. 621 Discard the arg with byte-multiple-value-call.
618 * bytecomp.el (byte-compile-checks-and-comments-space): 622 * bytecomp.el (byte-compile-checks-and-comments-space):
619 New variable, describe how many octets to reserve for checks at 623 New variable, describe how many octets to reserve for checks at
620 the start of byte-compiled files. 624 the start of byte-compiled files.
621 * cl-compat.el: 625 * cl-compat.el:
622 Remove the fake multiple-value implementation. Have the functions 626 Remove the fake multiple-value implementation. Have the functions
623 that use it use the real multiple-value implementation instead. 627 that use it use the real multiple-value implementation instead.
624 * cl-macs.el (cl-block-wrapper, cl-block-throw): 628 * cl-macs.el (cl-block-wrapper, cl-block-throw):
625 Revise the byte-compile properties of these symbols to work now 629 Revise the byte-compile properties of these symbols to work now
626 we've made throw into a special form; keep the byte-compile 630 we've made throw into a special form; keep the byte-compile
627 properties as anonymous lambdas, since we don't have docstrings 631 properties as anonymous lambdas, since we don't have docstrings
628 for them. 632 for them.
629 * cl-macs.el (multiple-value-bind, multiple-value-setq) 633 * cl-macs.el (multiple-value-bind, multiple-value-setq)
630 (multiple-value-list, nth-value): 634 (multiple-value-list, nth-value):
631 Update these functions to work with the C support for multiple 635 Update these functions to work with the C support for multiple
632 values. 636 values.
633 * cl-macs.el (values): 637 * cl-macs.el (values):
634 Modify the setf handler for this to call 638 Modify the setf handler for this to call
635 #'multiple-value-list-internal appropriately. 639 #'multiple-value-list-internal appropriately.
636 * cl-macs.el (cl-setf-do-store): 640 * cl-macs.el (cl-setf-do-store):
637 If the store form is a cons, treat it specially as wrapping the 641 If the store form is a cons, treat it specially as wrapping the
638 store value. 642 store value.
639 * cl.el (cl-block-wrapper): 643 * cl.el (cl-block-wrapper):
640 Make this an alias of #'and, not #'identity, since it needs to 644 Make this an alias of #'and, not #'identity, since it needs to
641 pass back multiple values. 645 pass back multiple values.
642 * cl.el (multiple-value-apply): 646 * cl.el (multiple-value-apply):
643 We no longer support this, mark it obsolete. 647 We no longer support this, mark it obsolete.
644 * lisp-mode.el (eval-interactive-verbose): 648 * lisp-mode.el (eval-interactive-verbose):
645 Remove a useless space in the docstring. 649 Remove a useless space in the docstring.
646 * lisp-mode.el (eval-interactive): 650 * lisp-mode.el (eval-interactive):
647 Update this function and its docstring. It now passes back a list, 651 Update this function and its docstring. It now passes back a list,
648 basically wrapping any eval calls with multiple-value-list. This 652 basically wrapping any eval calls with multiple-value-list. This
649 allows multiple values to be printed by default in *scratch*. 653 allows multiple values to be printed by default in *scratch*.
650 * lisp-mode.el (prin1-list-as-multiple-values): 654 * lisp-mode.el (prin1-list-as-multiple-values):
651 New function, printing a list as multiple values in the manner of 655 New function, printing a list as multiple values in the manner of
652 Bruno Haible's clisp, separating each entry with " ;\n". 656 Bruno Haible's clisp, separating each entry with " ;\n".
653 * lisp-mode.el (eval-last-sexp): 657 * lisp-mode.el (eval-last-sexp):
654 Call #'prin1-list-as-multiple-values on the return value of 658 Call #'prin1-list-as-multiple-values on the return value of
655 #'eval-interactive. 659 #'eval-interactive.
656 * lisp-mode.el (eval-defun): 660 * lisp-mode.el (eval-defun):
657 Call #'prin1-list-as-multiple-values on the return value of 661 Call #'prin1-list-as-multiple-values on the return value of
658 #'eval-interactive. 662 #'eval-interactive.
659 * mouse.el (mouse-eval-sexp): 663 * mouse.el (mouse-eval-sexp):
660 Deal with lists corresponding to multiple values from 664 Deal with lists corresponding to multiple values from
661 #'eval-interactive. Call #'cl-prettyprint, which is always 665 #'eval-interactive. Call #'cl-prettyprint, which is always
662 available, instead of sometimes calling #'pprint and sometimes 666 available, instead of sometimes calling #'pprint and sometimes
663 falling back to prin1. 667 falling back to prin1.
664 * obsolete.el (obsolete-throw): 668 * obsolete.el (obsolete-throw):
665 New function, called from eval.c when #'funcall encounters an 669 New function, called from eval.c when #'funcall encounters an
666 attempt to call #'throw (now a special form) as a function. Only 670 attempt to call #'throw (now a special form) as a function. Only
667 needed for compatibility with 21.4 byte-code. 671 needed for compatibility with 21.4 byte-code.
668 672
669 2009-08-10 Aidan Kehoe <kehoea@parhasard.net> 673 2009-08-10 Aidan Kehoe <kehoea@parhasard.net>
670 674
671 * help.el (function-arglist, function-documentation): 675 * help.el (function-arglist, function-documentation):
672 Deal more gracefully with tabs in the function arglist; in 676 Deal more gracefully with tabs in the function arglist; in
673 function-documentation, when stripping the arglist, pay attention 677 function-documentation, when stripping the arglist, pay attention
674 to the fact that they may span multiple lines. 678 to the fact that they may span multiple lines.
675 679
676 2009-08-09 Aidan Kehoe <kehoea@parhasard.net> 680 2009-08-09 Aidan Kehoe <kehoea@parhasard.net>
677 681
678 * faces.el (set-face-background-pixmap-file): 682 * faces.el (set-face-background-pixmap-file):
679 Remove some extra parentheses revealed by change set 7757334005ae. 683 Remove some extra parentheses revealed by change set 7757334005ae.
680 684
681 2009-08-07 Mike Sperber <mike@xemacs.org> 685 2009-08-07 Mike Sperber <mike@xemacs.org>
682 686
683 * window-xemacs.el (set-window-configuration): Add optional 687 * window-xemacs.el (set-window-configuration): Add optional
701 * startup.el (startup-setup-paths): Print a few more variables 705 * startup.el (startup-setup-paths): Print a few more variables
702 upon --debug-paths. 706 upon --debug-paths.
703 707
704 2009-07-18 Aidan Kehoe <kehoea@parhasard.net> 708 2009-07-18 Aidan Kehoe <kehoea@parhasard.net>
705 709
706 * files.el (find-file-create-switch-thunk): 710 * files.el (find-file-create-switch-thunk):
707 Check that #'buffer-file-name gives non-nil before trying to 711 Check that #'buffer-file-name gives non-nil before trying to
708 determine whether that file exists; avoids problems in 712 determine whether that file exists; avoids problems in
709 dired. Thank you Mats Lidell! 713 dired. Thank you Mats Lidell!
710 714
711 2009-07-13 Aidan Kehoe <kehoea@parhasard.net> 715 2009-07-13 Aidan Kehoe <kehoea@parhasard.net>
712 716
713 * code-files.el (insert-file-contents): 717 * code-files.el (insert-file-contents):
714 Set the buffer coding system even on error; especially important 718 Set the buffer coding system even on error; especially important
715 when dealing with nonexistent files. 719 when dealing with nonexistent files.
716 If the `coding-system' property of an undecided coding system is 720 If the `coding-system' property of an undecided coding system is
717 itself undecided, don't use that as a value for 721 itself undecided, don't use that as a value for
718 buffer-file-coding-system. 722 buffer-file-coding-system.
719 723
720 2009-07-12 Aidan Kehoe <kehoea@parhasard.net> 724 2009-07-12 Aidan Kehoe <kehoea@parhasard.net>
721 725
722 * files.el (after-find-file): 726 * files.el (after-find-file):
723 If the answer to "The directory containing %s does not exist. 727 If the answer to "The directory containing %s does not exist.
724 Create?" is no, kill the current buffer, since the user probably 728 Create?" is no, kill the current buffer, since the user probably
725 just misspelled the directory name. Thank you Rodney Sparapani! 729 just misspelled the directory name. Thank you Rodney Sparapani!
726 730
727 2009-07-12 Aidan Kehoe <kehoea@parhasard.net> 731 2009-07-12 Aidan Kehoe <kehoea@parhasard.net>
728 732
729 * files.el (find-file-create-switch-thunk): 733 * files.el (find-file-create-switch-thunk):
730 New macro, used to mark buffers created within #'find-file (and 734 New macro, used to mark buffers created within #'find-file (and
731 related) modified if the associated file doesn't exist. 735 related) modified if the associated file doesn't exist.
732 (find-alternate-file-other-window): 736 (find-alternate-file-other-window):
733 Correct this, pass CODESYS to find-file-other-window. 737 Correct this, pass CODESYS to find-file-other-window.
734 (find-file-read-only): 738 (find-file-read-only):
735 Correct behaviour of this function in the presence of wildcards. 739 Correct behaviour of this function in the presence of wildcards.
736 (find-file): 740 (find-file):
737 (find-file-other-window): 741 (find-file-other-window):
738 (find-file-other-frame): 742 (find-file-other-frame):
739 (find-file-read-only-other-window): 743 (find-file-read-only-other-window):
740 (find-file-read-only-other-frame): 744 (find-file-read-only-other-frame):
741 (find-alternate-file): 745 (find-alternate-file):
742 Simplify these functions, use #'find-file-create-switch-thunk' 746 Simplify these functions, use #'find-file-create-switch-thunk'
743 instead of explicit #'switch-to-buffer calls. 747 instead of explicit #'switch-to-buffer calls.
744 748
745 2009-07-11 Aidan Kehoe <kehoea@parhasard.net> 749 2009-07-11 Aidan Kehoe <kehoea@parhasard.net>
746 750
747 * code-files.el (insert-file-contents): 751 * code-files.el (insert-file-contents):
748 Take advantage of more sensible behaviour from 752 Take advantage of more sensible behaviour from
749 #'insert-file-contents-internal, allowing us to actually follow 753 #'insert-file-contents-internal, allowing us to actually follow
750 the documented coding system behaviour for nonexistent files (that 754 the documented coding system behaviour for nonexistent files (that
751 is, buffer-file-coding-system reflects coding-system-for-read &c., 755 is, buffer-file-coding-system reflects coding-system-for-read &c.,
752 not becoming undecided for either zero-length or nonexistent 756 not becoming undecided for either zero-length or nonexistent
756 * files.el (cd): Do not #'split-path on nil #'getenv result; Make 760 * files.el (cd): Do not #'split-path on nil #'getenv result; Make
757 sure the cd-path value is a list. 761 sure the cd-path value is a list.
758 762
759 2009-06-14 Aidan Kehoe <kehoea@parhasard.net> 763 2009-06-14 Aidan Kehoe <kehoea@parhasard.net>
760 764
761 * help.el (describe-function-1): 765 * help.el (describe-function-1):
762 Check macro-p, not macrop, when describing whether a symbol has an 766 Check macro-p, not macrop, when describing whether a symbol has an
763 associated macro or an associated function. Relevant with 767 associated macro or an associated function. Relevant with
764 autoloaded macros. 768 autoloaded macros.
765 (function-arglist): 769 (function-arglist):
766 Accept multi-line arglists in built-in functions, as found in 770 Accept multi-line arglists in built-in functions, as found in
767 #'write-region-internal. #'dontusethis-set-symbol-value-handler 771 #'write-region-internal. #'dontusethis-set-symbol-value-handler
768 is still broken for other reasons. 772 is still broken for other reasons.
769 773
770 2009-06-07 Aidan Kehoe <kehoea@parhasard.net> 774 2009-06-07 Aidan Kehoe <kehoea@parhasard.net>
771 775
772 * code-files.el (insert-file-contents): 776 * code-files.el (insert-file-contents):
773 Autodetection may return undecided as a coding system. If the file 777 Autodetection may return undecided as a coding system. If the file
774 was zero-length, this is kosher, and we should set 778 was zero-length, this is kosher, and we should set
775 buffer-file-coding-system to its default; if it is not 779 buffer-file-coding-system to its default; if it is not
776 zero-length, we still need to set b-f-c-s, but we warn that the 780 zero-length, we still need to set b-f-c-s, but we warn that the
777 autodetection fails. (Ignoring that for the user, autodetection 781 autodetection fails. (Ignoring that for the user, autodetection
778 failing is something very distinct from what we use it to mean 782 failing is something very distinct from what we use it to mean
779 here.) See 783 here.) See
780 http://mid.gmane.org/18986.53111.800393.660612@parhasard.net and 784 http://mid.gmane.org/18986.53111.800393.660612@parhasard.net and
781 the related thread. 785 the related thread.
782 786
783 2009-06-06 Aidan Kehoe <kehoea@parhasard.net> 787 2009-06-06 Aidan Kehoe <kehoea@parhasard.net>
784 788
785 * files.el (cd): 789 * files.el (cd):
786 Make CDPATH handling portable, accept entries without trailing 790 Make CDPATH handling portable, accept entries without trailing
787 slashes within it. Some style corrections from Stephen Turnbull, 791 slashes within it. Some style corrections from Stephen Turnbull,
788 thank you Stephen. 792 thank you Stephen.
789 793
790 2009-05-29 Aidan Kehoe <kehoea@parhasard.net> 794 2009-05-29 Aidan Kehoe <kehoea@parhasard.net>
791 795
792 * bytecomp.el (byte-compile-lambda): 796 * bytecomp.el (byte-compile-lambda):
793 Even if we are going to store uncompiled interactive forms in the 797 Even if we are going to store uncompiled interactive forms in the
794 compiled-function object, byte compile (and discard) the code, for 798 compiled-function object, byte compile (and discard) the code, for
795 the sake of the warnings generated. 799 the sake of the warnings generated.
796 800
797 2009-05-18 Stephen J. Turnbull <stephen@xemacs.org> 801 2009-05-18 Stephen J. Turnbull <stephen@xemacs.org>
798 802
799 * XEmacs 21.5.29 "garbanzo" is released. 803 * XEmacs 21.5.29 "garbanzo" is released.
800 804
814 * cus-edit.el (custom-face-prompt): Fix typo and improve 818 * cus-edit.el (custom-face-prompt): Fix typo and improve
815 readability in comment. 819 readability in comment.
816 820
817 2009-03-01 Aidan Kehoe <kehoea@parhasard.net> 821 2009-03-01 Aidan Kehoe <kehoea@parhasard.net>
818 822
819 * x-compose.el: 823 * x-compose.el:
820 Document an XIM bug, and how one might work around it. 824 Document an XIM bug, and how one might work around it.
821 (define-compose-map): 825 (define-compose-map):
822 Revise this macro, call it with compose-caron-map, 826 Revise this macro, call it with compose-caron-map,
823 compose-macron-map, compose-breve-map, compose-dot-map, 827 compose-macron-map, compose-breve-map, compose-dot-map,
824 compose-doubleacute-map, compose-ogonek-map, compose-hook-map, 828 compose-doubleacute-map, compose-ogonek-map, compose-hook-map,
825 compose-horn-map as well as the previous existing maps. 829 compose-horn-map as well as the previous existing maps.
826 (compose-map): 830 (compose-map):
827 Add entries for caron, macron, doubleacute, ogonek, breve and 831 Add entries for caron, macron, doubleacute, ogonek, breve and
828 abovedot to this map. 832 abovedot to this map.
829 Add an assert, this code assumes that a non-Mule build has no 833 Add an assert, this code assumes that a non-Mule build has no
830 character codes above U+00FF. 834 character codes above U+00FF.
831 Incorporate all the precomposed Latin characters in 835 Incorporate all the precomposed Latin characters in
832 UnicodeData.txt that we can into the maps, deciding at runtime on 836 UnicodeData.txt that we can into the maps, deciding at runtime on
833 which exactly depending on whether this is a non-Mule or a Mule 837 which exactly depending on whether this is a non-Mule or a Mule
834 build. 838 build.
835 Remove a commented-out old X11 bug workaround. 839 Remove a commented-out old X11 bug workaround.
836 Use #'flet instead of defun + unintern for 840 Use #'flet instead of defun + unintern for
837 #'alias-colon-to-doublequote. 841 #'alias-colon-to-doublequote.
838 Correct #'electric-diacritic to work with the keyboard macro 842 Correct #'electric-diacritic to work with the keyboard macro
839 versions of the maps. 843 versions of the maps.
840 (compose-help): 844 (compose-help):
841 This has been turned off since 1994; no-one appears to have 845 This has been turned off since 1994; no-one appears to have
842 noticed, since the normal help mechanism offers similar 846 noticed, since the normal help mechanism offers similar
843 functionality and is actually maintained. Removed entirely. 847 functionality and is actually maintained. Removed entirely.
844 Remove a superflous setting of a default value for ctl-arrow. 848 Remove a superflous setting of a default value for ctl-arrow.
845 * x-init.el (x-initialize-compose): 849 * x-init.el (x-initialize-compose):
846 Support the new dead key maps we just added to x-compose.el with 850 Support the new dead key maps we just added to x-compose.el with
847 autoloads here. 851 autoloads here.
848 852
849 2009-02-22 Aidan Kehoe <kehoea@parhasard.net> 853 2009-02-22 Aidan Kehoe <kehoea@parhasard.net>
850 854
851 * bytecomp.el (byte-compile-force-escape-quoted): New variable, 855 * bytecomp.el (byte-compile-force-escape-quoted): New variable,
852 used to force `byte-compile-insert-header' to treat the output as 856 used to force `byte-compile-insert-header' to treat the output as
853 having characters above ?\xFF. 857 having characters above ?\xFF.
854 (byte-compile-from-buffer): 858 (byte-compile-from-buffer):
855 If the compiled output contains characters above ?\xFF, and 859 If the compiled output contains characters above ?\xFF, and
856 byte-compile-dynamic-docstrings or byte-compile-dynamic is non-nil 860 byte-compile-dynamic-docstrings or byte-compile-dynamic is non-nil
857 (or we're using an inappropriate coding system) recompile the 861 (or we're using an inappropriate coding system) recompile the
858 file, turning off the dynamic features and using a more 862 file, turning off the dynamic features and using a more
859 appropriate header. 863 appropriate header.
860 (byte-compile-insert-header): Pay attention to 864 (byte-compile-insert-header): Pay attention to
861 byte-compile-force-escape-quoted. 865 byte-compile-force-escape-quoted.
862 866
863 2009-02-18 Aidan Kehoe <kehoea@parhasard.net> 867 2009-02-18 Aidan Kehoe <kehoea@parhasard.net>
864 868
865 * coding.el (check-coding-systems-region): 869 * coding.el (check-coding-systems-region):
866 Return null on success, not t. See 870 Return null on success, not t. See
867 http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1723 871 http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1723
868 872
869 2009-02-17 Aidan Kehoe <kehoea@parhasard.net> 873 2009-02-17 Aidan Kehoe <kehoea@parhasard.net>
870 874
871 * mule/mule-cmds.el (finish-set-language-environment): 875 * mule/mule-cmds.el (finish-set-language-environment):
872 Correct this function, don't try to format non-control characters 876 Correct this function, don't try to format non-control characters
873 with ^ followed by their value plus (char-int ?@). 877 with ^ followed by their value plus (char-int ?@).
874 878
875 2009-02-17 Aidan Kehoe <kehoea@parhasard.net> 879 2009-02-17 Aidan Kehoe <kehoea@parhasard.net>
876 880
877 * unicode.el (unicode-query-coding-region): 881 * unicode.el (unicode-query-coding-region):
878 Avoid eval-when-compile where that gives incorrect results when 882 Avoid eval-when-compile where that gives incorrect results when
879 compiled on a non-Mule XEmacs but run on a Mule XEmacs. Fixes 883 compiled on a non-Mule XEmacs but run on a Mule XEmacs. Fixes
880 problems seen by 884 problems seen by
881 20a807210902131835o2f25930apaffabb6b62a95e5f@mail.gmail.com , 885 20a807210902131835o2f25930apaffabb6b62a95e5f@mail.gmail.com ,
882 thank you Vin! 886 thank you Vin!
883 (An equivalent way to get the efficiency of the eval-when-compile 887 (An equivalent way to get the efficiency of the eval-when-compile
884 would be to provide two defvars, evaluated at dump time, but this 888 would be to provide two defvars, evaluated at dump time, but this
885 code will be in C soon enough, and we can use the relevant 889 code will be in C soon enough, and we can use the relevant
886 preprocessor constants there.) 890 preprocessor constants there.)
887 891
888 2009-02-02 Aidan Kehoe <kehoea@parhasard.net> 892 2009-02-02 Aidan Kehoe <kehoea@parhasard.net>
889 893
890 * descr-text.el (describe-char-unicodedata-file): 894 * descr-text.el (describe-char-unicodedata-file):
891 Back out Stephen's change of 2009-01-01, 16c9098dd3d2; do a 895 Back out Stephen's change of 2009-01-01, 16c9098dd3d2; do a
892 Mercurial merge, add this ChangeLog entry. 896 Mercurial merge, add this ChangeLog entry.
893 See also http://mid.gmane.org/8763jbsyr7.fsf@xemacs.org . 897 See also http://mid.gmane.org/8763jbsyr7.fsf@xemacs.org .
894 898
895 2009-02-02 Aidan Kehoe <kehoea@parhasard.net> 899 2009-02-02 Aidan Kehoe <kehoea@parhasard.net>
896 900
897 * mule/latin.el (macintosh): 901 * mule/latin.el (macintosh):
898 Add GNU Emacs' name for this coding system as an alias. 902 Add GNU Emacs' name for this coding system as an alias.
899 903
900 2009-02-13 Aidan Kehoe <kehoea@parhasard.net> 904 2009-02-13 Aidan Kehoe <kehoea@parhasard.net>
901 905
902 * mule/mule-cmds.el (init-mule-at-startup): 906 * mule/mule-cmds.el (init-mule-at-startup):
903 Actually use leim-list-file-name, don't load a hardcoded 907 Actually use leim-list-file-name, don't load a hardcoded
904 leim-list.el in this function. 908 leim-list.el in this function.
905 909
906 2009-02-11 Aidan Kehoe <kehoea@parhasard.net> 910 2009-02-11 Aidan Kehoe <kehoea@parhasard.net>
907 911
908 * coding.el (query-coding-string): 912 * coding.el (query-coding-string):
909 Correct the order of arguments passed to #'query-coding-region. 913 Correct the order of arguments passed to #'query-coding-region.
910 (unencodable-char-position): 914 (unencodable-char-position):
911 Handle string offsets correctly, they're one less than buffer 915 Handle string offsets correctly, they're one less than buffer
912 offsets. Handle START and END correctly if passed a string. 916 offsets. Handle START and END correctly if passed a string.
913 917
914 2009-02-08 Aidan Kehoe <kehoea@parhasard.net> 918 2009-02-08 Aidan Kehoe <kehoea@parhasard.net>
915 919
916 * cl-macs.el (delete-duplicates): 920 * cl-macs.el (delete-duplicates):
917 Add a new compiler macro, inlining this function if it's called 921 Add a new compiler macro, inlining this function if it's called
918 with a literal #'eq or #'equal test arguments and no other 922 with a literal #'eq or #'equal test arguments and no other
919 keywords. 923 keywords.
920 * font-lock.el (font-lock-unique): 924 * font-lock.el (font-lock-unique):
921 Remove this function. 925 Remove this function.
922 * font-lock.el (font-lock-prepend-text-property): 926 * font-lock.el (font-lock-prepend-text-property):
923 (font-lock-append-text-property): 927 (font-lock-append-text-property):
924 Use #'delete-duplicates instead of #'font-lock-unique. 928 Use #'delete-duplicates instead of #'font-lock-unique.
925 * font.el (font-unique): 929 * font.el (font-unique):
926 Remove this function. 930 Remove this function.
927 * font.el (font-combine-fonts-internal): 931 * font.el (font-combine-fonts-internal):
928 (x-font-families-for-device): 932 (x-font-families-for-device):
929 (xft-font-families-for-device): 933 (xft-font-families-for-device):
930 (ns-font-families-for-device): 934 (ns-font-families-for-device):
931 Use #'delete-duplicates instead of #'font-unique. 935 Use #'delete-duplicates instead of #'font-unique.
932 * fontconfig.el (fc-delete-duplicates): 936 * fontconfig.el (fc-delete-duplicates):
933 * fontconfig.el (fc-filter): 937 * fontconfig.el (fc-filter):
934 Remove these functions. 938 Remove these functions.
935 * fontconfig.el (fc-find-available-font-families): 939 * fontconfig.el (fc-find-available-font-families):
936 Replace #'fc-delete-duplicates with #'delete-duplicates, 940 Replace #'fc-delete-duplicates with #'delete-duplicates,
937 #'fc-filter with #'delete-if-not. 941 #'fc-filter with #'delete-if-not.
938 * format.el (format-make-relatively-unique): 942 * format.el (format-make-relatively-unique):
939 Document that this is equivalent to #'nset-exclusive-or with a 943 Document that this is equivalent to #'nset-exclusive-or with a
940 test of #'equal. 944 test of #'equal.
941 945
942 2009-02-07 Aidan Kehoe <kehoea@parhasard.net> 946 2009-02-07 Aidan Kehoe <kehoea@parhasard.net>
943 947
944 * descr-text.el (describe-text-sexp): 948 * descr-text.el (describe-text-sexp):
945 pp is in packages, use cl-prettyprint instead. 949 pp is in packages, use cl-prettyprint instead.
946 * mule/mule-coding.el (make-8-bit-generate-helper): 950 * mule/mule-coding.el (make-8-bit-generate-helper):
947 Don't uselessly bind args-out-of-range, thank you the byte 951 Don't uselessly bind args-out-of-range, thank you the byte
948 compiler. 952 compiler.
949 * mule/mule-coding.el (8-bit-fixed-query-coding-region): 953 * mule/mule-coding.el (8-bit-fixed-query-coding-region):
950 Don't uselessly bind previous-fail, thank you the byte compiler. 954 Don't uselessly bind previous-fail, thank you the byte compiler.
951 * tty-init.el (make-device-early-tty-entry-point): 955 * tty-init.el (make-device-early-tty-entry-point):
952 Set make-device-early-tty-entry-point-called-p, not 956 Set make-device-early-tty-entry-point-called-p, not
953 pre-tty-win-initted, thank you the byte compiler. 957 pre-tty-win-initted, thank you the byte compiler.
954 * unicode.el (unicode-query-coding-region): 958 * unicode.el (unicode-query-coding-region):
955 Don't uselessly bind invalid-sequence-p, thank you the 959 Don't uselessly bind invalid-sequence-p, thank you the
956 byte-compiler. 960 byte-compiler.
957 961
958 2009-02-07 Aidan Kehoe <kehoea@parhasard.net> 962 2009-02-07 Aidan Kehoe <kehoea@parhasard.net>
959 963
960 * coding.el (query-coding-clear-highlights): 964 * coding.el (query-coding-clear-highlights):
961 Rename the BUFFER argument to BUFFER-OR-STRING, describe it as 965 Rename the BUFFER argument to BUFFER-OR-STRING, describe it as
962 possibly being a string in its documentation. 966 possibly being a string in its documentation.
963 (default-query-coding-region): 967 (default-query-coding-region):
964 Add a new IGNORE-INVALID-SEQUENCESP argument, document that this 968 Add a new IGNORE-INVALID-SEQUENCESP argument, document that this
965 function does not support it. 969 function does not support it.
966 Bind case-fold-search to nil, we don't want this to influence what the 970 Bind case-fold-search to nil, we don't want this to influence what the
967 function thinks is encodable or not. 971 function thinks is encodable or not.
968 (query-coding-region): 972 (query-coding-region):
969 Add a new IGNORE-INVALID-SEQUENCESP argument, document what it 973 Add a new IGNORE-INVALID-SEQUENCESP argument, document what it
970 does; reflect this new argument in the associated compiler macro. 974 does; reflect this new argument in the associated compiler macro.
971 (query-coding-string): 975 (query-coding-string):
972 Add a new IGNORE-INVALID-SEQUENCESP argument, document what it 976 Add a new IGNORE-INVALID-SEQUENCESP argument, document what it
973 does. Support the HIGHLIGHT argument correctly. 977 does. Support the HIGHLIGHT argument correctly.
974 * unicode.el (unicode-query-coding-region): 978 * unicode.el (unicode-query-coding-region):
975 Add a new IGNORE-INVALID-SEQUENCESP argument, document what it 979 Add a new IGNORE-INVALID-SEQUENCESP argument, document what it
976 does, implement this. Document a potential problem. 980 does, implement this. Document a potential problem.
977 Use #'query-coding-clear-highlights instead of reimplementing it 981 Use #'query-coding-clear-highlights instead of reimplementing it
978 ourselves. 982 ourselves.
979 Remove some debugging messages. 983 Remove some debugging messages.
980 * mule/arabic.el (iso-8859-6): 984 * mule/arabic.el (iso-8859-6):
981 * mule/cyrillic.el (iso-8859-5): 985 * mule/cyrillic.el (iso-8859-5):
982 * mule/greek.el (iso-8859-7): 986 * mule/greek.el (iso-8859-7):
983 * mule/hebrew.el (iso-8859-8): 987 * mule/hebrew.el (iso-8859-8):
984 * mule/latin.el (iso-8859-2): 988 * mule/latin.el (iso-8859-2):
985 * mule/latin.el (iso-8859-3): 989 * mule/latin.el (iso-8859-3):
986 * mule/latin.el (iso-8859-4): 990 * mule/latin.el (iso-8859-4):
987 * mule/latin.el (iso-8859-14): 991 * mule/latin.el (iso-8859-14):
988 * mule/latin.el (iso-8859-15): 992 * mule/latin.el (iso-8859-15):
989 * mule/latin.el (iso-8859-16): 993 * mule/latin.el (iso-8859-16):
990 * mule/latin.el (iso-8859-9): 994 * mule/latin.el (iso-8859-9):
991 * mule/latin.el (windows-1252): 995 * mule/latin.el (windows-1252):
992 * mule/mule-coding.el (iso-8859-1): 996 * mule/mule-coding.el (iso-8859-1):
993 Avoid the assumption that characters not given an explicit mapping 997 Avoid the assumption that characters not given an explicit mapping
994 in these coding systems map to the ISO 8859-1 characters 998 in these coding systems map to the ISO 8859-1 characters
995 corresponding to the octets on disk; this makes it much more 999 corresponding to the octets on disk; this makes it much more
996 reasonable to implement the IGNORE-INVALID-SEQUENCESP argument to 1000 reasonable to implement the IGNORE-INVALID-SEQUENCESP argument to
997 query-coding-region. 1001 query-coding-region.
998 * mule/mule-cmds.el (set-language-info): 1002 * mule/mule-cmds.el (set-language-info):
999 Correct the docstring. 1003 Correct the docstring.
1000 * mule/mule-cmds.el (finish-set-language-environment): 1004 * mule/mule-cmds.el (finish-set-language-environment):
1001 Treat invalid Unicode sequences produced from 1005 Treat invalid Unicode sequences produced from
1002 invalid-sequence-coding-system and corresponding to control 1006 invalid-sequence-coding-system and corresponding to control
1003 characters the same as control characters in redisplay. 1007 characters the same as control characters in redisplay.
1004 * mule/mule-cmds.el: 1008 * mule/mule-cmds.el:
1005 Document that encode-coding-char is available in coding.el 1009 Document that encode-coding-char is available in coding.el
1006 * mule/mule-coding.el (make-8-bit-generate-helper): 1010 * mule/mule-coding.el (make-8-bit-generate-helper):
1007 Change to return the both the encode-program generated and the 1011 Change to return the both the encode-program generated and the
1008 relevant non-ASCII charset; update the docstring to reflect this. 1012 relevant non-ASCII charset; update the docstring to reflect this.
1009 * mule/mule-coding.el 1013 * mule/mule-coding.el
1010 (make-8-bit-generate-encode-program-and-skip-chars-strings): 1014 (make-8-bit-generate-encode-program-and-skip-chars-strings):
1011 Rename this function; have it return skip-chars-strings as well as 1015 Rename this function; have it return skip-chars-strings as well as
1012 the encode program. Have these skip-chars-strings use ranges for 1016 the encode program. Have these skip-chars-strings use ranges for
1013 charsets, where possible. 1017 charsets, where possible.
1014 * mule/mule-coding.el (make-8-bit-create-decode-encode-tables): 1018 * mule/mule-coding.el (make-8-bit-create-decode-encode-tables):
1015 Revise this to allow people to specify explicitly characters that 1019 Revise this to allow people to specify explicitly characters that
1016 should be undefined (= corresponding to keys in 1020 should be undefined (= corresponding to keys in
1017 unicode-error-default-translation-table), and treating unspecified 1021 unicode-error-default-translation-table), and treating unspecified
1018 octets above #x7f as undefined by default. 1022 octets above #x7f as undefined by default.
1019 * mule/mule-coding.el (8-bit-fixed-query-coding-region): 1023 * mule/mule-coding.el (8-bit-fixed-query-coding-region):
1020 Add a new IGNORE-INVALID-SEQUENCESP argument, implement support 1024 Add a new IGNORE-INVALID-SEQUENCESP argument, implement support
1021 for it using the 8-bit-fixed-invalid-sequences-skip-chars coding 1025 for it using the 8-bit-fixed-invalid-sequences-skip-chars coding
1022 system property; remove some debugging messages. 1026 system property; remove some debugging messages.
1023 * mule/mule-coding.el (make-8-bit-coding-system): 1027 * mule/mule-coding.el (make-8-bit-coding-system):
1024 This function is dumped, autoloading it makes no sense. 1028 This function is dumped, autoloading it makes no sense.
1025 Document what happens when characters above #x7f are not 1029 Document what happens when characters above #x7f are not
1026 specified, implement this. 1030 specified, implement this.
1027 * mule/vietnamese.el: 1031 * mule/vietnamese.el:
1028 Correct spelling. 1032 Correct spelling.
1029 1033
1030 2009-02-04 Aidan Kehoe <kehoea@parhasard.net> 1034 2009-02-04 Aidan Kehoe <kehoea@parhasard.net>
1031 1035
1032 * help.el: 1036 * help.el:
1033 (describe-function-1): 1037 (describe-function-1):
1034 * byte-optimize.el: 1038 * byte-optimize.el:
1035 Remove any reference to mocklisp as an active technology. 1039 Remove any reference to mocklisp as an active technology.
1036 1040
1037 2009-02-04 Aidan Kehoe <kehoea@parhasard.net> 1041 2009-02-04 Aidan Kehoe <kehoea@parhasard.net>
1038 1042
1039 * mule/latin.el: 1043 * mule/latin.el:
1042 invalid-sequence-coding-system for German and the other iso-8859-1 1046 invalid-sequence-coding-system for German and the other iso-8859-1
1043 language environments. 1047 language environments.
1044 1048
1045 2009-02-04 Aidan Kehoe <kehoea@parhasard.net> 1049 2009-02-04 Aidan Kehoe <kehoea@parhasard.net>
1046 1050
1047 * coding.el (force-coding-system-equivalency): 1051 * coding.el (force-coding-system-equivalency):
1048 Document this macro and the motivation for it. 1052 Document this macro and the motivation for it.
1049 1053
1050 2009-01-15 Aidan Kehoe <kehoea@parhasard.net> 1054 2009-01-15 Aidan Kehoe <kehoea@parhasard.net>
1051 1055
1052 * coding.el (force-coding-system-equivalency): 1056 * coding.el (force-coding-system-equivalency):
1053 Move three functions that we don't want to advertise to being 1057 Move three functions that we don't want to advertise to being
1061 (init-glyphs): Untern this symbol once the associated function has 1065 (init-glyphs): Untern this symbol once the associated function has
1062 been called; it's only needed at dump time, not at runtime. 1066 been called; it's only needed at dump time, not at runtime.
1063 1067
1064 2009-02-04 Aidan Kehoe <kehoea@parhasard.net> 1068 2009-02-04 Aidan Kehoe <kehoea@parhasard.net>
1065 1069
1066 * coding.el (query-coding-region): 1070 * coding.el (query-coding-region):
1067 Revert this to being a defun, add a compiler macro without 1071 Revert this to being a defun, add a compiler macro without
1068 needless binding. 1072 needless binding.
1069 (query-coding-string): 1073 (query-coding-string):
1070 Correct a bug here, string indices are zero- not one-based. 1074 Correct a bug here, string indices are zero- not one-based.
1071 * mule/general-late.el (unicode-query-coding-skip-chars-arg): 1075 * mule/general-late.el (unicode-query-coding-skip-chars-arg):
1072 Correct the algorithm used to initialise this variable. 1076 Correct the algorithm used to initialise this variable.
1073 1077
1074 2009-02-04 Aidan Kehoe <kehoea@parhasard.net> 1078 2009-02-04 Aidan Kehoe <kehoea@parhasard.net>
1075 1079
1076 * help.el (describe-function-1): 1080 * help.el (describe-function-1):
1077 Distinguish between special forms and subrs; don't bind 1081 Distinguish between special forms and subrs; don't bind
1078 autoload-file, #'symbol-file returns it like any other function 1082 autoload-file, #'symbol-file returns it like any other function
1079 file name. 1083 file name.
1080 1084
1081 2009-01-31 Aidan Kehoe <kehoea@parhasard.net> 1085 2009-01-31 Aidan Kehoe <kehoea@parhasard.net>
1082 1086
1083 * mule/mule-cmds.el (finish-set-language-environment): 1087 * mule/mule-cmds.el (finish-set-language-environment):
1084 Treat control characters specially in the 1088 Treat control characters specially in the
1085 invalid-sequence-coding-system handling, display them using the 1089 invalid-sequence-coding-system handling, display them using the
1086 caret notation. 1090 caret notation.
1087 1091
1088 2009-01-31 Aidan Kehoe <kehoea@parhasard.net> 1092 2009-01-31 Aidan Kehoe <kehoea@parhasard.net>
1089 1093
1090 * frame.el (display-graphic-p): 1094 * frame.el (display-graphic-p):
1091 Call #'display-device on the DISPLAY argument, ensuring that the 1095 Call #'display-device on the DISPLAY argument, ensuring that the
1092 argument to #'device-on-window-system-p is correct. 1096 argument to #'device-on-window-system-p is correct.
1093 1097
1094 2009-01-18 Ville Skyttä <scop@xemacs.org> 1098 2009-01-18 Ville Skyttä <scop@xemacs.org>
1095 1099
1098 1102
1099 * modeline.el (modeline-3d-p): Fix docstring copy-pasto. 1103 * modeline.el (modeline-3d-p): Fix docstring copy-pasto.
1100 1104
1101 2009-01-13 Aidan Kehoe <kehoea@parhasard.net> 1105 2009-01-13 Aidan Kehoe <kehoea@parhasard.net>
1102 1106
1103 * mule/mule-cmds.el (set-language-environment-coding-systems): 1107 * mule/mule-cmds.el (set-language-environment-coding-systems):
1104 Fix a cosmetic bug; the relationship between 1108 Fix a cosmetic bug; the relationship between
1105 file-name-coding-system and the file-name coding system alias 1109 file-name-coding-system and the file-name coding system alias
1106 established in coding.el wasn't being maintained. See Katsumi 1110 established in coding.el wasn't being maintained. See Katsumi
1107 Yamaoka's comment in http://mid.gmane.org/b4m4p03bt43.fsf@jpl.org . 1111 Yamaoka's comment in http://mid.gmane.org/b4m4p03bt43.fsf@jpl.org .
1108 1112
1119 * descr-text.el (describe-char-unicodedata-file): 1123 * descr-text.el (describe-char-unicodedata-file):
1120 Nuke build-breaking computation from defcustom initializer. 1124 Nuke build-breaking computation from defcustom initializer.
1121 1125
1122 2008-12-30 Aidan Kehoe <kehoea@parhasard.net> 1126 2008-12-30 Aidan Kehoe <kehoea@parhasard.net>
1123 1127
1124 * make-docfile.el: 1128 * make-docfile.el:
1125 Use absolute source file names when checking if DOC is out of 1129 Use absolute source file names when checking if DOC is out of
1126 date, don't use relative paths that may not be related to the 1130 date, don't use relative paths that may not be related to the
1127 current directory. 1131 current directory.
1128 1132
1129 2008-12-28 Aidan Kehoe <kehoea@parhasard.net> 1133 2008-12-28 Aidan Kehoe <kehoea@parhasard.net>
1130 1134
1131 * coding.el (query-coding-region): 1135 * coding.el (query-coding-region):
1132 (query-coding-string): 1136 (query-coding-string):
1133 Make these defsubsts, they're short enough and they're called 1137 Make these defsubsts, they're short enough and they're called
1134 explicitly rarely enough that it make some sense. The alternative 1138 explicitly rarely enough that it make some sense. The alternative
1135 would be compiler macros that avoid the binding of the arguments. 1139 would be compiler macros that avoid the binding of the arguments.
1136 (unencodable-char-position): 1140 (unencodable-char-position):
1137 Document where the docstring and API are from. 1141 Document where the docstring and API are from.
1138 Correct a special case for zero--check-argument-type returns nil 1142 Correct a special case for zero--check-argument-type returns nil
1139 when it succeeds, we can't usefully chain its result in an and 1143 when it succeeds, we can't usefully chain its result in an and
1140 here. 1144 here.
1141 (check-coding-systems-region): New. API taken from GNU; docstring 1145 (check-coding-systems-region): New. API taken from GNU; docstring
1142 and implementation are independent. 1146 and implementation are independent.
1143 (encode-coding-char): 1147 (encode-coding-char):
1144 Add an optional third argument, as used by recent GNU. Document 1148 Add an optional third argument, as used by recent GNU. Document
1145 the origen of the docstring. 1149 the origen of the docstring.
1146 (default-query-coding-region): Add a short docstring to the 1150 (default-query-coding-region): Add a short docstring to the
1147 non-Mule implementation of this function. 1151 non-Mule implementation of this function.
1148 * unicode.el: 1152 * unicode.el:
1149 Don't set the query-coding-function property for unicode coding 1153 Don't set the query-coding-function property for unicode coding
1150 systems if we're on non-mule. Unintern 1154 systems if we're on non-mule. Unintern
1151 unicode-query-coding-region, unicode-query-coding-skip-chars-arg 1155 unicode-query-coding-region, unicode-query-coding-skip-chars-arg
1152 in the same context. 1156 in the same context.
1153 1157
1154 2008-12-30 Aidan Kehoe <kehoea@parhasard.net> 1158 2008-12-30 Aidan Kehoe <kehoea@parhasard.net>
1155 1159
1156 * frame.el (display-mouse-p): 1160 * frame.el (display-mouse-p):
1157 (display-popup-menus-p): 1161 (display-popup-menus-p):
1158 (display-images-p): 1162 (display-images-p):
1159 (display-selections-p): 1163 (display-selections-p):
1160 (display-visual-class): 1164 (display-visual-class):
1161 Make all these functions more general, do not hard code device 1165 Make all these functions more general, do not hard code device
1162 type symbols where that is inappropriate. 1166 type symbols where that is inappropriate.
1163 1167
1164 2008-12-28 Aidan Kehoe <kehoea@parhasard.net> 1168 2008-12-28 Aidan Kehoe <kehoea@parhasard.net>
1165 1169
1166 * coding.el (default-query-coding-region): 1170 * coding.el (default-query-coding-region):
1167 Declare using defun*, so we can #'return-from to it on 1171 Declare using defun*, so we can #'return-from to it on
1168 encountering a safe-charsets value of t. Comment out a few 1172 encountering a safe-charsets value of t. Comment out a few
1169 debug messages. 1173 debug messages.
1170 (query-coding-region): 1174 (query-coding-region):
1171 Correct the docstring, it deals with a region, not a string. 1175 Correct the docstring, it deals with a region, not a string.
1172 (unencodable-char-position): 1176 (unencodable-char-position):
1173 Correct the implementation for non-nil COUNT, special-case a zero 1177 Correct the implementation for non-nil COUNT, special-case a zero
1174 value for count, treat it as one. Don't rely on dynamic scope when 1178 value for count, treat it as one. Don't rely on dynamic scope when
1175 calling the main lambda. 1179 calling the main lambda.
1176 * unicode.el (unicode-query-coding-region): 1180 * unicode.el (unicode-query-coding-region):
1177 Comment out some debug messages here. 1181 Comment out some debug messages here.
1178 * mule/mule-coding.el (8-bit-fixed-query-coding-region): 1182 * mule/mule-coding.el (8-bit-fixed-query-coding-region):
1179 Comment out some debug messages here. 1183 Comment out some debug messages here.
1180 1184
1181 * code-init.el (raw-text): 1185 * code-init.el (raw-text):
1182 Add a safe-charsets property to this coding system. 1186 Add a safe-charsets property to this coding system.
1183 * mule/korean.el (iso-2022-int-1): 1187 * mule/korean.el (iso-2022-int-1):
1184 * mule/korean.el (euc-kr): 1188 * mule/korean.el (euc-kr):
1185 * mule/korean.el (iso-2022-kr): 1189 * mule/korean.el (iso-2022-kr):
1186 Add safe-charsets properties for these coding systems. 1190 Add safe-charsets properties for these coding systems.
1187 * mule/japanese.el (iso-2022-jp): 1191 * mule/japanese.el (iso-2022-jp):
1188 * mule/japanese.el (jis7): 1192 * mule/japanese.el (jis7):
1189 * mule/japanese.el (jis8): 1193 * mule/japanese.el (jis8):
1190 * mule/japanese.el (shift-jis): 1194 * mule/japanese.el (shift-jis):
1191 * mule/japanese.el (iso-2022-jp-1978-irv): 1195 * mule/japanese.el (iso-2022-jp-1978-irv):
1192 * mule/japanese.el (euc-jp): 1196 * mule/japanese.el (euc-jp):
1193 Add safe-charsets properties for all these coding systems. 1197 Add safe-charsets properties for all these coding systems.
1194 * mule/iso-with-esc.el: 1198 * mule/iso-with-esc.el:
1195 Add safe-charsets properties to all the coding systems in 1199 Add safe-charsets properties to all the coding systems in
1196 here. Comment on the downside of a safe-charsets value of t for 1200 here. Comment on the downside of a safe-charsets value of t for
1197 iso-latin-1-with-esc. 1201 iso-latin-1-with-esc.
1198 * mule/hebrew.el (ctext-hebrew): 1202 * mule/hebrew.el (ctext-hebrew):
1199 Add a safe-charsets property for this coding system. 1203 Add a safe-charsets property for this coding system.
1200 * mule/devanagari.el (in-is13194-devanagari): 1204 * mule/devanagari.el (in-is13194-devanagari):
1201 Add a safe-charsets property for this coding system. 1205 Add a safe-charsets property for this coding system.
1202 * mule/chinese.el (cn-gb-2312): 1206 * mule/chinese.el (cn-gb-2312):
1203 * mule/chinese.el (hz-gb-2312): 1207 * mule/chinese.el (hz-gb-2312):
1204 * mule/chinese.el (big5): 1208 * mule/chinese.el (big5):
1205 Add safe-charsets properties for these coding systems. 1209 Add safe-charsets properties for these coding systems.
1206 * mule/latin.el (iso-8859-14): 1210 * mule/latin.el (iso-8859-14):
1207 Add an implementation for this, using #'make-8-bit-coding-system. 1211 Add an implementation for this, using #'make-8-bit-coding-system.
1208 * mule/mule-coding.el (ctext): 1212 * mule/mule-coding.el (ctext):
1209 * mule/mule-coding.el (iso-2022-8bit-ss2): 1213 * mule/mule-coding.el (iso-2022-8bit-ss2):
1210 * mule/mule-coding.el (iso-2022-7bit-ss2): 1214 * mule/mule-coding.el (iso-2022-7bit-ss2):
1211 * mule/mule-coding.el (iso-2022-jp-2): 1215 * mule/mule-coding.el (iso-2022-jp-2):
1212 * mule/mule-coding.el (iso-2022-7bit): 1216 * mule/mule-coding.el (iso-2022-7bit):
1213 * mule/mule-coding.el (iso-2022-8): 1217 * mule/mule-coding.el (iso-2022-8):
1214 * mule/mule-coding.el (escape-quoted): 1218 * mule/mule-coding.el (escape-quoted):
1215 * mule/mule-coding.el (iso-2022-lock): 1219 * mule/mule-coding.el (iso-2022-lock):
1216 Add safe-charsets properties for all these coding systems. 1220 Add safe-charsets properties for all these coding systems.
1217 1221
1218 2008-12-27 Aidan Kehoe <kehoea@parhasard.net> 1222 2008-12-27 Aidan Kehoe <kehoea@parhasard.net>
1219 1223
1220 * loadhist.el (symbol-file): 1224 * loadhist.el (symbol-file):
1221 Use #'defun*, not #'defun, to allow the checks for autoloaded 1225 Use #'defun*, not #'defun, to allow the checks for autoloaded
1222 functions and variables to call #'return-from correctly. Use 1226 functions and variables to call #'return-from correctly. Use
1223 #'return-from instead of #'return throughout the function. 1227 #'return-from instead of #'return throughout the function.
1224 1228
1225 2008-12-27 Aidan Kehoe <kehoea@parhasard.net> 1229 2008-12-27 Aidan Kehoe <kehoea@parhasard.net>
1226 1230
1227 * loadup.el (load-history): 1231 * loadup.el (load-history):
1228 Add the contents of current-load-list to load-history before 1232 Add the contents of current-load-list to load-history before
1229 clearing it. Move the variable declarations earlier in the file to 1233 clearing it. Move the variable declarations earlier in the file to
1230 a format understood by make-docfile.c. 1234 a format understood by make-docfile.c.
1231 * custom.el (custom-declare-variable): Add the variable's symbol 1235 * custom.el (custom-declare-variable): Add the variable's symbol
1232 to the current file's load history entry correctly, don't use a 1236 to the current file's load history entry correctly, don't use a
1233 cons. Eliminate a comment that we don't need to worry about, we 1237 cons. Eliminate a comment that we don't need to worry about, we
1234 don't need to check the `initialized' C variable in Lisp. 1238 don't need to check the `initialized' C variable in Lisp.
1235 * bytecomp.el (byte-compile-output-file-form): 1239 * bytecomp.el (byte-compile-output-file-form):
1236 Merge Andreas Schwab's pre-GPLv3 GNU change of 19970831 here; 1240 Merge Andreas Schwab's pre-GPLv3 GNU change of 19970831 here;
1237 treat #'custom-declare-variable correctly, generating the 1241 treat #'custom-declare-variable correctly, generating the
1238 docstrings in a format understood by make-docfile.c. 1242 docstrings in a format understood by make-docfile.c.
1239 * loadhist.el (symbol-file): Correct behaviour for checking 1243 * loadhist.el (symbol-file): Correct behaviour for checking
1240 autoloaded macros and functions when supplied with a TYPE 1244 autoloaded macros and functions when supplied with a TYPE
1241 argument. Accept fully-qualified paths from 1245 argument. Accept fully-qualified paths from
1242 #'built-in-symbol-file; if a path is not fully-qualified, return 1246 #'built-in-symbol-file; if a path is not fully-qualified, return
1243 it relative to lisp-directory if the filename corresponds to a 1247 it relative to lisp-directory if the filename corresponds to a
1244 Lisp file, and relative to (concat source-directory "/src/") 1248 Lisp file, and relative to (concat source-directory "/src/")
1245 otherwise. 1249 otherwise.
1246 * make-docfile.el (preloaded-file-list): 1250 * make-docfile.el (preloaded-file-list):
1247 Rationalise some let bindings a little. Use the "-d" argument to 1251 Rationalise some let bindings a little. Use the "-d" argument to
1248 make-docfile.c to supply Lisp paths relative to lisp-directory, 1252 make-docfile.c to supply Lisp paths relative to lisp-directory,
1249 not absolutely. Add in loadup.el explicitly to the list of files 1253 not absolutely. Add in loadup.el explicitly to the list of files
1250 to be processed by make-docfile.c--it doesn't make sense to add it 1254 to be processed by make-docfile.c--it doesn't make sense to add it
1251 to preloaded-file-list, since that is used for purposes of 1255 to preloaded-file-list, since that is used for purposes of
1252 byte-compilation too. 1256 byte-compilation too.
1253 1257
1254 2008-12-22 Aidan Kehoe <kehoea@parhasard.net> 1258 2008-12-22 Aidan Kehoe <kehoea@parhasard.net>
1255 1259
1256 * loadhist.el (symbol-file): 1260 * loadhist.el (symbol-file):
1257 Add support for differentiating between variables and functions to 1261 Add support for differentiating between variables and functions to
1258 #'symbol-file. 1262 #'symbol-file.
1259 * help.el (describe-function-1): 1263 * help.el (describe-function-1):
1260 (describe-variable): 1264 (describe-variable):
1261 Call #'symbol-function explicitly with a 'defun or 'defvar 1265 Call #'symbol-function explicitly with a 'defun or 'defvar
1262 argument, depending on whether we're looking for a variable or a 1266 argument, depending on whether we're looking for a variable or a
1263 function. 1267 function.
1264 * cus-face.el (custom-declare-face): 1268 * cus-face.el (custom-declare-face):
1265 Record information about the face in the load history; code taken 1269 Record information about the face in the load history; code taken
1266 from GNU, pre-GPLv3 revision 1.45. 1270 from GNU, pre-GPLv3 revision 1.45.
1267 1271
1268 2008-10-29 Stephen J. Turnbull <stephen@xemacs.org> 1272 2008-10-29 Stephen J. Turnbull <stephen@xemacs.org>
1269 1273
1286 2008-08-31 Aidan Kehoe <kehoea@parhasard.net> 1290 2008-08-31 Aidan Kehoe <kehoea@parhasard.net>
1287 1291
1288 * window.el (only-window-p): New. 1292 * window.el (only-window-p): New.
1289 Check if WINDOW is the only window in some context, normally its 1293 Check if WINDOW is the only window in some context, normally its
1290 frame. 1294 frame.
1291 (one-window-p): 1295 (one-window-p):
1292 Implemented this in terms of #'only-window-p, calling it on the 1296 Implemented this in terms of #'only-window-p, calling it on the
1293 selected window. 1297 selected window.
1294 (window-buffer-height): Uncomment this, make it work. 1298 (window-buffer-height): Uncomment this, make it work.
1295 (count-screen-lines): Support a BUFFER argument. 1299 (count-screen-lines): Support a BUFFER argument.
1296 (fit-window-to-buffer): Uncomment this, correct its implementation 1300 (fit-window-to-buffer): Uncomment this, correct its implementation
1297 to work with XEmacs. 1301 to work with XEmacs.
1298 * help.el (temp-buffer-resize-mode): New. Name taken from GNU, 1302 * help.el (temp-buffer-resize-mode): New. Name taken from GNU,
1299 implementation our own. 1303 implementation our own.
1300 * (resize-temp-buffer-window): New. GNU-compatible alias for 1304 * (resize-temp-buffer-window): New. GNU-compatible alias for
1301 #'shrink-window-if-larger-than-buffer. 1305 #'shrink-window-if-larger-than-buffer.
1302 * dumped-lisp.el (preloaded-file-list): Move easy-mmode before 1306 * dumped-lisp.el (preloaded-file-list): Move easy-mmode before
1303 help, now that the latter uses #'define-minor-mode. 1307 help, now that the latter uses #'define-minor-mode.
1304 * frame.el: Point to #'temp-buffer-resize-mode in a comment. 1308 * frame.el: Point to #'temp-buffer-resize-mode in a comment.
1305 Some of this code is from GNU; help.el CVS version 1.327 of 1309 Some of this code is from GNU; help.el CVS version 1.327 of
1306 2007-03-21, window.el CVS version 1.122, of 2007-06-24. Both these 1310 2007-03-21, window.el CVS version 1.122, of 2007-06-24. Both these
1307 are GPLV2 or later. 1311 are GPLV2 or later.
1308 1312
1309 2008-08-27 Aidan Kehoe <kehoea@parhasard.net> 1313 2008-08-27 Aidan Kehoe <kehoea@parhasard.net>
1310 1314
1311 * subr.el (skip-chars-quote): 1315 * subr.el (skip-chars-quote):
1312 Correct the implementation, following the docstring of 1316 Correct the implementation, following the docstring of
1313 #'skip-char-forward more closely rather than the documentation of 1317 #'skip-char-forward more closely rather than the documentation of
1314 character classes in the Lispref. 1318 character classes in the Lispref.
1315 1319
1316 2008-08-23 Aidan Kehoe <kehoea@parhasard.net> 1320 2008-08-23 Aidan Kehoe <kehoea@parhasard.net>
1317 1321
1318 * custom.el: Move #'custom-variable-p to C, since it's now called 1322 * custom.el: Move #'custom-variable-p to C, since it's now called
1319 from #'user-variable-p. 1323 from #'user-variable-p.
1320 1324
1321 2008-08-23 Aidan Kehoe <kehoea@parhasard.net> 1325 2008-08-23 Aidan Kehoe <kehoea@parhasard.net>
1322 1326
1323 * mule/mule-coding.el (make-8-bit-coding-system): 1327 * mule/mule-coding.el (make-8-bit-coding-system):
1324 * mule/general-late.el (posix-charset-to-coding-system-hash): 1328 * mule/general-late.el (posix-charset-to-coding-system-hash):
1325 Use #'skip-chars-quote as appropriate. 1329 Use #'skip-chars-quote as appropriate.
1326 1330
1327 2008-08-09 Aidan Kehoe <kehoea@parhasard.net> 1331 2008-08-09 Aidan Kehoe <kehoea@parhasard.net>
1328 1332
1329 * subr.el (skip-chars-quote): New. 1333 * subr.el (skip-chars-quote): New.
1330 Given STRING, return a string that means that all characters in 1334 Given STRING, return a string that means that all characters in
1331 STRING will be skipped when passed to #'skip-chars-forward, 1335 STRING will be skipped when passed to #'skip-chars-forward,
1332 #'skip-chars-backward. 1336 #'skip-chars-backward.
1333 1337
1334 2008-08-09 Aidan Kehoe <kehoea@parhasard.net> 1338 2008-08-09 Aidan Kehoe <kehoea@parhasard.net>
1335 1339
1336 * mule/cyril-util.el: Remove. Use the version in packages instead. 1340 * mule/cyril-util.el: Remove. Use the version in packages instead.
1337 1341
1338 2008-08-08 Aidan Kehoe <kehoea@parhasard.net> 1342 2008-08-08 Aidan Kehoe <kehoea@parhasard.net>
1339 1343
1340 * unicode.el: 1344 * unicode.el:
1341 * mule/mule-cmds.el: 1345 * mule/mule-cmds.el:
1342 * mule/latin.el: 1346 * mule/latin.el:
1343 * mule/cyrillic.el: 1347 * mule/cyrillic.el:
1344 Rework the various identifiers using error-sequence to use 1348 Rework the various identifiers using error-sequence to use
1345 invalid-sequence instead. 1349 invalid-sequence instead.
1346 1350
1347 2008-08-05 Aidan Kehoe <kehoea@parhasard.net> 1351 2008-08-05 Aidan Kehoe <kehoea@parhasard.net>
1348 1352
1349 * specifier.el (current-display-table): Initialise this here, not 1353 * specifier.el (current-display-table): Initialise this here, not
1350 in x-init.el, since we want it even on non-X builds to use the 1354 in x-init.el, since we want it even on non-X builds to use the
1351 support for displaying Unicode error sequences according to the 1355 support for displaying Unicode error sequences according to the
1352 current locale. 1356 current locale.
1353 * mule/mule-cmds.el (set-language-info): 1357 * mule/mule-cmds.el (set-language-info):
1354 Document error-sequence-coding-system, used to describe how to 1358 Document error-sequence-coding-system, used to describe how to
1355 display characters that are not valid Unicode on disk. 1359 display characters that are not valid Unicode on disk.
1356 * mule/mule-cmds.el (finish-set-language-environment): 1360 * mule/mule-cmds.el (finish-set-language-environment):
1357 Implement error-sequence-coding-system. 1361 Implement error-sequence-coding-system.
1358 * unicode.el (unicode-error-sequence-warning-face): 1362 * unicode.el (unicode-error-sequence-warning-face):
1359 New face, to make it possible to distinguish invalid Unicode 1363 New face, to make it possible to distinguish invalid Unicode
1360 sequences from the characters given by the valid Unicode 1364 sequences from the characters given by the valid Unicode
1361 sequences. 1365 sequences.
1362 * mule/cyrillic.el ("Russian"): 1366 * mule/cyrillic.el ("Russian"):
1363 ("Ukrainian"): 1367 ("Ukrainian"):
1364 ("Bulgarian"): 1368 ("Bulgarian"):
1365 ("Belarusian"): 1369 ("Belarusian"):
1366 ("Cyrillic-ALT"): Add support for error-sequence-coding-system for 1370 ("Cyrillic-ALT"): Add support for error-sequence-coding-system for
1367 all these languages. 1371 all these languages.
1368 * mule/latin.el: 1372 * mule/latin.el:
1369 Add support for error-sequence-coding-system for the 1373 Add support for error-sequence-coding-system for the
1370 Latin-alphabet language environments. 1374 Latin-alphabet language environments.
1371 1375
1372 2008-08-05 Aidan Kehoe <kehoea@parhasard.net> 1376 2008-08-05 Aidan Kehoe <kehoea@parhasard.net>
1373 1377
1374 * mule/iso-with-esc.el (greek-iso-8bit-with-esc): 1378 * mule/iso-with-esc.el (greek-iso-8bit-with-esc):
1375 (arabic-iso-8bit-with-esc): 1379 (arabic-iso-8bit-with-esc):
1376 Add these two here. Move the implementation of the 1380 Add these two here. Move the implementation of the
1377 'arabic-iso8859-6 character set here, with commentary on why that 1381 'arabic-iso8859-6 character set here, with commentary on why that
1378 is reasonable. 1382 is reasonable.
1379 * mule/arabic.el (iso-8859-6): 1383 * mule/arabic.el (iso-8859-6):
1380 Add iso-8859-6, windows-1256 implementations using 1384 Add iso-8859-6, windows-1256 implementations using
1381 make-8-bit-coding-system. Remove our non-standard Mule character 1385 make-8-bit-coding-system. Remove our non-standard Mule character
1382 sets. 1386 sets.
1383 * unicode.el (load-unicode-tables): Remove Arabic since it's no 1387 * unicode.el (load-unicode-tables): Remove Arabic since it's no
1384 longer dumped. 1388 longer dumped.
1385 * mule/mule-msw-init-late.el: Remove Arabic. 1389 * mule/mule-msw-init-late.el: Remove Arabic.
1386 * mule/mule-category.el (predefined-category-list): Remove 1390 * mule/mule-category.el (predefined-category-list): Remove
1387 Arabic. 1391 Arabic.
1388 1392
1389 2008-07-26 Aidan Kehoe <kehoea@parhasard.net> 1393 2008-07-26 Aidan Kehoe <kehoea@parhasard.net>
1390 1394
1391 * x-init.el (x-initialize-compose): 1395 * x-init.el (x-initialize-compose):
1392 Rewrite to use #'loop, as does similar code in x-win-sun.el, 1396 Rewrite to use #'loop, as does similar code in x-win-sun.el,
1393 x-win-xfree86.el. Locally bind function-key-map to the correct 1397 x-win-xfree86.el. Locally bind function-key-map to the correct
1394 value for the device's console. 1398 value for the device's console.
1395 * x-win-xfree86.el (x-win-init-xfree86): 1399 * x-win-xfree86.el (x-win-init-xfree86):
1396 Locally bind function-key-map to the correct value for the 1400 Locally bind function-key-map to the correct value for the
1397 device's console. 1401 device's console.
1398 * x-win-sun.el (x-win-init-sun): 1402 * x-win-sun.el (x-win-init-sun):
1399 Locally bind function-key-map to the correct value for the 1403 Locally bind function-key-map to the correct value for the
1400 device's console. 1404 device's console.
1401 1405
1402 2008-07-20 Aidan Kehoe <kehoea@parhasard.net> 1406 2008-07-20 Aidan Kehoe <kehoea@parhasard.net>
1403 1407
1404 * descr-text.el (describe-char-unicode-data): 1408 * descr-text.el (describe-char-unicode-data):
1405 Correct three calls to #'error; it doesn't take #'message style 1409 Correct three calls to #'error; it doesn't take #'message style
1406 format strings and arguments. 1410 format strings and arguments.
1407 1411
1408 2008-07-19 Aidan Kehoe <kehoea@parhasard.net> 1412 2008-07-19 Aidan Kehoe <kehoea@parhasard.net>
1409 1413
1410 * descr-text.el (describe-property-list): Move the (require 1414 * descr-text.el (describe-property-list): Move the (require
1411 'hyper-apropos) call to top level, this isn't the only function 1415 'hyper-apropos) call to top level, this isn't the only function
1412 that uses the relevant face. 1416 that uses the relevant face.
1413 (describe-char): Wrap the Unihan field descriptions if they are 1417 (describe-char): Wrap the Unihan field descriptions if they are
1414 longer than the windows width minus 50. 1418 longer than the windows width minus 50.
1415 Rename the created buffer to reflect the character's position as 1419 Rename the created buffer to reflect the character's position as
1416 well as its value. 1420 well as its value.
1417 1421
1418 2008-07-07 Aidan Kehoe <kehoea@parhasard.net> 1422 2008-07-07 Aidan Kehoe <kehoea@parhasard.net>
1419 1423
1420 Patch to make it up to the device-specific code whether 1424 Patch to make it up to the device-specific code whether
1421 various Lisp functions should be called during device creation, 1425 various Lisp functions should be called during device creation,
1422 not relying on the startup code to decide this. Also, rename 1426 not relying on the startup code to decide this. Also, rename
1423 initial-window-system to initial-device-type (which makes more 1427 initial-window-system to initial-device-type (which makes more
1424 sense in this scheme), always set it. 1428 sense in this scheme), always set it.
1425 1429
1426 * startup.el (command-line): 1430 * startup.el (command-line):
1427 Use initial-device-type, not initial-window-system; just call 1431 Use initial-device-type, not initial-window-system; just call
1428 #'make-device, leave the special behaviour to be done the first 1432 #'make-device, leave the special behaviour to be done the first
1429 time a console type is initialised to be decided on by the 1433 time a console type is initialised to be decided on by the
1446 (make-device-late-x-entry-point): Rename init-post-x-win, have it 1450 (make-device-late-x-entry-point): Rename init-post-x-win, have it
1447 take a DEVICE argument, use that DEVICE argument when working out 1451 take a DEVICE argument, use that DEVICE argument when working out
1448 what device-specific things need doing. Don't use 1452 what device-specific things need doing. Don't use
1449 create-console-hook in core code. 1453 create-console-hook in core code.
1450 * x-win-xfree86.el (x-win-init-xfree86): Take a DEVICE argument; 1454 * x-win-xfree86.el (x-win-init-xfree86): Take a DEVICE argument;
1451 use it. 1455 use it.
1452 * x-win-sun.el (x-win-init-sun): Take a DEVICE argument; use it. 1456 * x-win-sun.el (x-win-init-sun): Take a DEVICE argument; use it.
1453 * mule/mule-x-init.el: Remove #'init-mule-x-win, an empty 1457 * mule/mule-x-init.el: Remove #'init-mule-x-win, an empty
1454 function. 1458 function.
1455 1459
1456 * tty-init.el (make-device-early-tty-entry-point-called-p): New. 1460 * tty-init.el (make-device-early-tty-entry-point-called-p): New.
1457 Rename pre-tty-win-initted. 1461 Rename pre-tty-win-initted.
1458 (make-device-early-tty-entry-point): New. 1462 (make-device-early-tty-entry-point): New.
1459 Rename init-pre-tty-win. 1463 Rename init-pre-tty-win.
1460 (make-frame-after-init-entry-point): New. 1464 (make-frame-after-init-entry-point): New.
1461 Rename init-post-tty-win to better reflect when it's called. 1465 Rename init-post-tty-win to better reflect when it's called.
1462 1466
1463 * gtk-init.el (gtk-early-lisp-options-file): New. 1467 * gtk-init.el (gtk-early-lisp-options-file): New.
1464 Move this path to a documented variable. 1468 Move this path to a documented variable.
1465 (gtk-command-switch-alist): Wrap the docstring to fewer than 79 1469 (gtk-command-switch-alist): Wrap the docstring to fewer than 79
1466 columns. 1470 columns.
1467 (make-device-early-gtk-entry-point-called-p): New. 1471 (make-device-early-gtk-entry-point-called-p): New.
1468 (make-device-late-gtk-entry-point-called-p): New. 1472 (make-device-late-gtk-entry-point-called-p): New.
1469 Renamed gtk-pre-win-initted, gtk-post-win-initted to these. 1473 Renamed gtk-pre-win-initted, gtk-post-win-initted to these.
1470 (make-device-early-gtk-entry-point): New. 1474 (make-device-early-gtk-entry-point): New.
1471 (make-device-late-gtk-entry-point): New. 1475 (make-device-late-gtk-entry-point): New.
1472 Renamed init-pre-gtk-win, init-post-gtk-win to these. 1476 Renamed init-pre-gtk-win, init-post-gtk-win to these.
1473 Have make-device-late-gtk-entry-point take a device argument, and use 1477 Have make-device-late-gtk-entry-point take a device argument, and use
1474 it; have make-device-early-gtk-entry-point load the GTK-specific 1478 it; have make-device-early-gtk-entry-point load the GTK-specific
1475 startup code, instead of doing that in C. 1479 startup code, instead of doing that in C.
1476 (init-gtk-win): Deleted, functionality moved to the GTK device 1480 (init-gtk-win): Deleted, functionality moved to the GTK device
1477 creation code. 1481 creation code.
1478 (gtk-define-dead-key): Have it take a DEVICE argument; use this 1482 (gtk-define-dead-key): Have it take a DEVICE argument; use this
1479 argument. 1483 argument.
1480 (gtk-initialize-compose): Ditto. 1484 (gtk-initialize-compose): Ditto.
1481 1485
1482 * coding.el (set-terminal-coding-system): 1486 * coding.el (set-terminal-coding-system):
1483 Correct the docstring; the function isn't broken. 1487 Correct the docstring; the function isn't broken.
1484 1488
1485 2008-06-29 Aidan Kehoe <kehoea@parhasard.net> 1489 2008-06-29 Aidan Kehoe <kehoea@parhasard.net>
1486 1490
1487 * descr-text.el (describe-char-unicode-data): 1491 * descr-text.el (describe-char-unicode-data):
1488 Don't leak the Unihan database handle when looking up non-Han 1492 Don't leak the Unihan database handle when looking up non-Han
1489 characters. 1493 characters.
1490 1494
1491 2008-06-04 Aidan Kehoe <kehoea@parhasard.net> 1495 2008-06-04 Aidan Kehoe <kehoea@parhasard.net>
1492 1496
1493 * descr-text.el (describe-property-list): 1497 * descr-text.el (describe-property-list):
1494 #'require hyper-apropos, since we use hyper-apropos-face 1498 #'require hyper-apropos, since we use hyper-apropos-face
1495 1499
1496 2008-05-25 Aidan Kehoe <kehoea@parhasard.net> 1500 2008-05-25 Aidan Kehoe <kehoea@parhasard.net>
1497 1501
1498 * descr-text.el: New. 1502 * descr-text.el: New.
1499 Taken from GNU's GPLV2 version of 2007-02-14, with modifications 1503 Taken from GNU's GPLV2 version of 2007-02-14, with modifications
1500 for XEmacs support and extensions for Unihan.txt support and 1504 for XEmacs support and extensions for Unihan.txt support and
1501 db/dbm caches. 1505 db/dbm caches.
1502 * simple.el (what-cursor-position): 1506 * simple.el (what-cursor-position):
1503 Support an optional prefix argument, as does GNU, calling 1507 Support an optional prefix argument, as does GNU, calling
1504 #'describe-char to giving more detail on the character at point, 1508 #'describe-char to giving more detail on the character at point,
1505 notably from UnicodeData and (in our case, optionally) Unihan.txt. 1509 notably from UnicodeData and (in our case, optionally) Unihan.txt.
1506 * syntax.el (syntax-after): 1510 * syntax.el (syntax-after):
1507 Make this available for the sake of #'describe-char. 1511 Make this available for the sake of #'describe-char.
1508 * mule/mule-cmds.el (iso-2022-control-alist): 1512 * mule/mule-cmds.el (iso-2022-control-alist):
1509 Make this available, for the sake of #'encoded-string-description 1513 Make this available, for the sake of #'encoded-string-description
1510 and #'describe-char. 1514 and #'describe-char.
1511 * mule/mule-cmds.el (encoded-string-description): 1515 * mule/mule-cmds.el (encoded-string-description):
1512 Make this available, for the sake of #'describe-char. 1516 Make this available, for the sake of #'describe-char.
1513 * unicode.el (unicode-error-default-translation-table): 1517 * unicode.el (unicode-error-default-translation-table):
1514 Make this a char table of type generic, not of type char. Makes it 1518 Make this a char table of type generic, not of type char. Makes it
1515 possible to have the relevant logic in #'describe-char reasonably 1519 possible to have the relevant logic in #'describe-char reasonably
1516 clear; also, and this is undocumented, makes it much easier to 1520 clear; also, and this is undocumented, makes it much easier to
1517 implement #'frob-unicode-errors-region. I should document this, 1521 implement #'frob-unicode-errors-region. I should document this,
1518 and revise #'frob-unicode-errors-region. 1522 and revise #'frob-unicode-errors-region.
1519 1523
1520 2008-05-21 Aidan Kehoe <kehoea@parhasard.net> 1524 2008-05-21 Aidan Kehoe <kehoea@parhasard.net>
1521 1525
1522 * mule/mule-coding.el (make-8-bit-choose-category): 1526 * mule/mule-coding.el (make-8-bit-choose-category):
1523 Merge my change of 2008-05-14 to the query-coding-region code. 1527 Merge my change of 2008-05-14 to the query-coding-region code.
1524 1528
1525 2008-05-14 Stephen J. Turnbull <stephen@xemacs.org> 1529 2008-05-14 Stephen J. Turnbull <stephen@xemacs.org>
1526 1530
1527 * subr.el (add-to-list): Fix Aidan's last commit. 1531 * subr.el (add-to-list): Fix Aidan's last commit.
1528 1532
1529 2008-05-14 Aidan Kehoe <kehoea@parhasard.net> 1533 2008-05-14 Aidan Kehoe <kehoea@parhasard.net>
1530 1534
1531 * subr.el (add-to-list): Implement the same logic with a more 1535 * subr.el (add-to-list): Implement the same logic with a more
1532 concise syntax; thank you Stephen, in 1536 concise syntax; thank you Stephen, in
1533 http://mid.gmane.org/87ablomdwx.fsf@uwakimon.sk.tsukuba.ac.jp . 1537 http://mid.gmane.org/87ablomdwx.fsf@uwakimon.sk.tsukuba.ac.jp .
1534 1538
1535 2008-02-25 bpalmer <bpalmer@gmail.com> 1539 2008-02-25 bpalmer <bpalmer@gmail.com>
1536 1540
1537 * subr.el(add-to-list): add support for `compare-fn' to sync with 1541 * subr.el(add-to-list): add support for `compare-fn' to sync with
1543 Control-1 characters extend from #x80 to #x9F (inclusive), 1547 Control-1 characters extend from #x80 to #x9F (inclusive),
1544 not from #x80 to #xBF. 1548 not from #x80 to #xBF.
1545 1549
1546 2008-05-13 Aidan Kehoe <kehoea@parhasard.net> 1550 2008-05-13 Aidan Kehoe <kehoea@parhasard.net>
1547 1551
1548 * printer.el (generic-print-region): 1552 * printer.el (generic-print-region):
1549 (generic-print-buffer): 1553 (generic-print-buffer):
1550 Use #'valid-device-type-p instead of #'valid-specifier-tag-p to 1554 Use #'valid-device-type-p instead of #'valid-specifier-tag-p to
1551 check if the msprinter device is available, now that msprinter is 1555 check if the msprinter device is available, now that msprinter is
1552 always available as a specifier tag. 1556 always available as a specifier tag.
1553 1557
1554 2008-05-11 Aidan Kehoe <kehoea@parhasard.net> 1558 2008-05-11 Aidan Kehoe <kehoea@parhasard.net>
1555 1559
1556 * disp-table.el (make-display-table): 1560 * disp-table.el (make-display-table):
1557 Update the example code to make it more general, and more 1561 Update the example code to make it more general, and more
1558 compatible with GNU. Also, I previously said #xFF when I meant 1562 compatible with GNU. Also, I previously said #xFF when I meant
1559 ?\xFF; correct this. 1563 ?\xFF; correct this.
1560 * mule/cyril-util.el (standard-display-cyrillic-translit): 1564 * mule/cyril-util.el (standard-display-cyrillic-translit):
1561 Make the selection of the default language more sensible; change 1565 Make the selection of the default language more sensible; change
1562 the API a little to make a sensible default Cyrillic language 1566 the API a little to make a sensible default Cyrillic language
1563 available, checking current-language-environment. 1567 available, checking current-language-environment.
1564 1568
1565 2007-07-21 Aidan Kehoe <kehoea@parhasard.net> 1569 2007-07-21 Aidan Kehoe <kehoea@parhasard.net>
1566 1570
1567 * mule/cyril-util.el: 1571 * mule/cyril-util.el:
1568 * mule/cyril-util.el (cyrillic-encode-koi8-r-char): Removed. 1572 * mule/cyril-util.el (cyrillic-encode-koi8-r-char): Removed.
1569 * mule/cyril-util.el (cyrillic-encode-alternativnyj-char): 1573 * mule/cyril-util.el (cyrillic-encode-alternativnyj-char):
1570 Removed. No-one uses these functions in google.com/codesearch, 1574 Removed. No-one uses these functions in google.com/codesearch,
1571 GNU have a comment doubting their utility, and their 1575 GNU have a comment doubting their utility, and their
1572 implementation is trivial. 1576 implementation is trivial.
1573 * mule/cyril-util.el (cyrillic-language-alist): 1577 * mule/cyril-util.el (cyrillic-language-alist):
1574 Reformatted. 1578 Reformatted.
1575 * mule/cyril-util.el (standard-display-table)): Removed. It wasn't 1579 * mule/cyril-util.el (standard-display-table)): Removed. It wasn't
1576 used anyway. 1580 used anyway.
1577 * mule/cyril-util.el (standard-display-cyrillic-translit): 1581 * mule/cyril-util.el (standard-display-cyrillic-translit):
1578 Rewrite it to work with character tables as display tables, and 1582 Rewrite it to work with character tables as display tables, and
1579 not to abort with an error. 1583 not to abort with an error.
1580 1584
1581 2007-07-21 Aidan Kehoe <kehoea@parhasard.net> 1585 2007-07-21 Aidan Kehoe <kehoea@parhasard.net>
1582 1586
1583 * disp-table.el: 1587 * disp-table.el:
1584 * disp-table.el (make-display-table): Moved earlier in the file in 1588 * disp-table.el (make-display-table): Moved earlier in the file in
1585 a weak attempt at making syncing with GNU easier. 1589 a weak attempt at making syncing with GNU easier.
1586 * disp-table.el (frob-display-table): 1590 * disp-table.el (frob-display-table):
1587 Autoload it, accept TAG-SET, for editing specifiers. 1591 Autoload it, accept TAG-SET, for editing specifiers.
1588 * disp-table.el (describe-display-table): 1592 * disp-table.el (describe-display-table):
1589 Have it handle character sets. 1593 Have it handle character sets.
1590 * disp-table.el (standard-display-8bit-1): 1594 * disp-table.el (standard-display-8bit-1):
1591 * disp-table.el (standard-display-8bit): 1595 * disp-table.el (standard-display-8bit):
1592 * disp-table.el (standard-display-default-1): 1596 * disp-table.el (standard-display-default-1):
1593 * disp-table.el (standard-display-ascii): 1597 * disp-table.el (standard-display-ascii):
1594 * disp-table.el (standard-display-g1): 1598 * disp-table.el (standard-display-g1):
1595 * disp-table.el (standard-display-graphic): 1599 * disp-table.el (standard-display-graphic):
1596 * disp-table.el (standard-display-underline): 1600 * disp-table.el (standard-display-underline):
1597 * disp-table.el (standard-display-european): 1601 * disp-table.el (standard-display-european):
1598 Rework them all to use put-char-table, remove-char-table instead 1602 Rework them all to use put-char-table, remove-char-table instead
1599 of aset. Limit standard-display-g1, standard-display-graphic to 1603 of aset. Limit standard-display-g1, standard-display-graphic to
1600 TTYs; have standard-display-underline work on X11 too. 1604 TTYs; have standard-display-underline work on X11 too.
1601 1605
1602 * font.el (font-caps-display-table): 1606 * font.el (font-caps-display-table):
1603 Use put-char-table instead of aset when editing a display table. 1607 Use put-char-table instead of aset when editing a display table.
1604 * x-init.el: 1608 * x-init.el:
1605 * x-init.el (tab): 1609 * x-init.el (tab):
1606 Create the initial display table as a char-table, not a vector. 1610 Create the initial display table as a char-table, not a vector.
1607 1611
1608 2008-01-20 Aidan Kehoe <kehoea@parhasard.net> 1612 2008-01-20 Aidan Kehoe <kehoea@parhasard.net>
1609 1613
1610 * startup.el (command-line-do-script): New. 1614 * startup.el (command-line-do-script): New.
1611 (command-switch-alist): Use command-line-do-script. 1615 (command-switch-alist): Use command-line-do-script.
1613 the following argument as a file to load in batch mode". 1617 the following argument as a file to load in batch mode".
1614 1618
1615 2008-05-07 Aidan Kehoe <kehoea@parhasard.net> 1619 2008-05-07 Aidan Kehoe <kehoea@parhasard.net>
1616 1620
1617 * mule/latin.el (windows-1250): Add the Central European Windows 1621 * mule/latin.el (windows-1250): Add the Central European Windows
1618 coding system. 1622 coding system.
1619 * mule/mule-win32-init.el: Don't use the Windows-specific CP1250 1623 * mule/mule-win32-init.el: Don't use the Windows-specific CP1250
1620 implementation, rely on that in latin.el instead. 1624 implementation, rely on that in latin.el instead.
1621 1625
1622 2008-05-11 Aidan Kehoe <kehoea@parhasard.net> 1626 2008-05-11 Aidan Kehoe <kehoea@parhasard.net>
1623 1627
1624 * coding.el (query-coding-clear-highlights): 1628 * coding.el (query-coding-clear-highlights):
1625 New function--clear any face information added by 1629 New function--clear any face information added by
1626 `query-coding-region'. 1630 `query-coding-region'.
1627 (default-query-coding-region): Use it. 1631 (default-query-coding-region): Use it.
1628 1632
1629 2008-04-13 Henry S. Thompson <ht@inf.ed.ac.uk>, Mike Sperber <mike@xemacs.org> 1633 2008-04-13 Henry S. Thompson <ht@inf.ed.ac.uk>, Mike Sperber <mike@xemacs.org>
1630 1634
1631 * window-xemacs.el (save-window-excursion/mapping, 1635 * window-xemacs.el (save-window-excursion/mapping,
1632 set-window-configuration/mapping): Add. These function return an 1636 set-window-configuration/mapping): Add. These function return an
1633 alist mapping the window objects from the original window 1637 alist mapping the window objects from the original window
1634 configuration to the window objects corresponding to them in the 1638 configuration to the window objects corresponding to them in the
1635 restored configuration. 1639 restored configuration.
1636 (set-window-configuration): 1640 (set-window-configuration):
1637 (saved-window): 1641 (saved-window):
1638 (root-window->saved-window): 1642 (root-window->saved-window):
1639 (really-set-window-configuration): 1643 (really-set-window-configuration):
1640 (restore-saved-window): Record the mapping for above functions. 1644 (restore-saved-window): Record the mapping for above functions.
1641 1645
1642 2008-04-12 Henry S. Thompson <ht@inf.ed.ac.uk> 1646 2008-04-12 Henry S. Thompson <ht@inf.ed.ac.uk>
1643 1647
1644 * window-xemacs.el (real-split-window, real-delete-window): Define 1648 * window-xemacs.el (real-split-window, real-delete-window): Define
1645 these to the original definitions of `split-window' and 1649 these to the original definitions of `split-window' and
1646 `delete-window', and use them in the window-configuration code to 1650 `delete-window', and use them in the window-configuration code to
1647 make sure it doesn't get affected by advice to these functions. 1651 make sure it doesn't get affected by advice to these functions.
1648 1652
1649 2008-04-10 Aidan Kehoe <kehoea@parhasard.net> 1653 2008-04-10 Aidan Kehoe <kehoea@parhasard.net>
1650 1654
1651 * help.el (describe-function-1): 1655 * help.el (describe-function-1):
1652 Rely on #'symbol-file to tell which file an autoloaded function 1656 Rely on #'symbol-file to tell which file an autoloaded function
1653 belongs to, don't special-case them. 1657 belongs to, don't special-case them.
1654 1658
1655 2008-03-19 Stephen J. Turnbull <stephen@xemacs.org> 1659 2008-03-19 Stephen J. Turnbull <stephen@xemacs.org>
1656 1660
1709 1713
1710 2008-01-21 Aidan Kehoe <kehoea@parhasard.net> 1714 2008-01-21 Aidan Kehoe <kehoea@parhasard.net>
1711 1715
1712 * info.el (Info-suffix-list): 1716 * info.el (Info-suffix-list):
1713 Support LZMA compression, as used--oddly--by Mandriva Linux. 1717 Support LZMA compression, as used--oddly--by Mandriva Linux.
1714 * coding.el (decode-coding-string): 1718 * coding.el (decode-coding-string):
1715 (encode-coding-string): Accept GNU's NOCOPY argument for 1719 (encode-coding-string): Accept GNU's NOCOPY argument for
1716 these. Todo; write compiler macros to use it. 1720 these. Todo; write compiler macros to use it.
1717 (query-coding-warning-face): New face, to show unencodable 1721 (query-coding-warning-face): New face, to show unencodable
1718 characters. 1722 characters.
1719 (default-query-coding-region-safe-charset-skip-chars-map): 1723 (default-query-coding-region-safe-charset-skip-chars-map):
1720 New variable, a cache used by #'default-query-coding-region. 1724 New variable, a cache used by #'default-query-coding-region.
1721 (default-query-coding-region): Default implementation of 1725 (default-query-coding-region): Default implementation of
1722 #'query-coding-region, using the safe-charsets and safe-chars 1726 #'query-coding-region, using the safe-charsets and safe-chars
1723 coding systemproperties. 1727 coding systemproperties.
1724 (query-coding-region): New function; can a given coding system 1728 (query-coding-region): New function; can a given coding system
1725 encode a given region? 1729 encode a given region?
1726 (query-coding-string): New function; can a given coding system 1730 (query-coding-string): New function; can a given coding system
1727 encode a given string? 1731 encode a given string?
1728 (unencodable-char-position): Function API taken from GNU; return 1732 (unencodable-char-position): Function API taken from GNU; return
1729 the first unencodable position given a string and coding system. 1733 the first unencodable position given a string and coding system.
1730 (encode-coding-char): Function API taken from GNU; return CHAR 1734 (encode-coding-char): Function API taken from GNU; return CHAR
1731 encoded using CODING-SYSTEM, or nil if CODING-SYSTEM would trash 1735 encoded using CODING-SYSTEM, or nil if CODING-SYSTEM would trash
1732 CHAR. 1736 CHAR.
1733 ((unless (featurep 'mule)): Override the default 1737 ((unless (featurep 'mule)): Override the default
1734 query-coding-region implementation on non-Mule. 1738 query-coding-region implementation on non-Mule.
1735 * mule/mule-coding.el (make-8-bit-generate-helper): Eliminate a 1739 * mule/mule-coding.el (make-8-bit-generate-helper): Eliminate a
1736 duplicate comment. 1740 duplicate comment.
1737 (make-8-bit-choose-category): Simplify implementation. 1741 (make-8-bit-choose-category): Simplify implementation.
1738 (8-bit-fixed-query-coding-region): Implementation of 1742 (8-bit-fixed-query-coding-region): Implementation of
1739 #'query-coding-region for coding systems created with 1743 #'query-coding-region for coding systems created with
1740 #'make-8-bit-coding-system. 1744 #'make-8-bit-coding-system.
1741 (make-8-bit-coding-system): Initialise the #'query-coding-region 1745 (make-8-bit-coding-system): Initialise the #'query-coding-region
1742 implementation for these character sets. 1746 implementation for these character sets.
1743 (make-8-bit-coding-system): Ditto for the compiler macro version 1747 (make-8-bit-coding-system): Ditto for the compiler macro version
1744 of this function. 1748 of this function.
1745 * unicode.el (unicode-query-coding-skip-chars-arg): New variable, 1749 * unicode.el (unicode-query-coding-skip-chars-arg): New variable,
1746 used by unicode-query-coding-region, initialised in 1750 used by unicode-query-coding-region, initialised in
1747 mule/general-late.el. 1751 mule/general-late.el.
1748 (unicode-query-coding-region): New function, the 1752 (unicode-query-coding-region): New function, the
1749 #'query-coding-region implementation for Unicode coding systems. 1753 #'query-coding-region implementation for Unicode coding systems.
1750 Initialise the query-coding-function property for the Unicode 1754 Initialise the query-coding-function property for the Unicode
1751 coding systems to #'unicode-query-coding-region. 1755 coding systems to #'unicode-query-coding-region.
1752 * mule/mule-charset.el (charset-skip-chars-string): New 1756 * mule/mule-charset.el (charset-skip-chars-string): New
1753 function. Return a #'skip-chars-forward argument that skips all 1757 function. Return a #'skip-chars-forward argument that skips all
1754 characters in CHARSET. 1758 characters in CHARSET.
1755 (map-charset-chars): Function synced from GNU, modified to work 1759 (map-charset-chars): Function synced from GNU, modified to work
1756 with XEmacs. Map FUNC across the int value charset ranges of 1760 with XEmacs. Map FUNC across the int value charset ranges of
1757 CHARSET. 1761 CHARSET.
1758 1762
1759 2008-01-21 Aidan Kehoe <kehoea@parhasard.net> 1763 2008-01-21 Aidan Kehoe <kehoea@parhasard.net>
1760 1764
1761 * info.el (Info-suffix-list): 1765 * info.el (Info-suffix-list):
1762 Support LZMA compression, as used--oddly--by Mandriva Linux. 1766 Support LZMA compression, as used--oddly--by Mandriva Linux.
1763 1767
1764 2008-01-17 Mike Sperber <mike@xemacs.org> 1768 2008-01-17 Mike Sperber <mike@xemacs.org>
1765 1769
1766 * files.el (insert-directory): Bind `coding-system-for-read' to 1770 * files.el (insert-directory): Bind `coding-system-for-read' to
1767 the `file-name' coding system. (Previously, the default ended up 1771 the `file-name' coding system. (Previously, the default ended up