comparison lisp/ChangeLog @ 5125:b5df3737028a ben-lisp-object

merge
author Ben Wing <ben@xemacs.org>
date Wed, 24 Feb 2010 01:58:04 -0600
parents e0db3c197671 eadd99984bfb
children 2a462149bd6a
comparison
equal deleted inserted replaced
5124:623d57b7fbe8 5125:b5df3737028a
1 2010-02-08 Ben Wing <ben@xemacs.org>
2
3 * help.el (describe-function-1):
4 Don't use compiled-function-annotation to retrieve the file name
5 for a function since it doesn't provide this info and load-history
6 already does provide it.
7
8 2010-02-07 Aidan Kehoe <kehoea@parhasard.net>
9
10 * make-docfile.el (format-decode): Remove this temporary function
11 definition, now we check the symbol is bound in fileio.c
12 * version.el (format-decode): Ditto.
13 * format.el (car-less-than-car, cdr-less-than-cdr): Move these
14 here from fileio.c, now they are only called once format.el is
15 available.
16
17 2010-02-07 Aidan Kehoe <kehoea@parhasard.net>
18
19 * setup-paths.el (paths-find-emacs-roots)
20 (paths-construct-info-path):
21 * packages.el (packages-find-installation-package-directories):
22 #'union doesn't guarantee that it will preserve the relative order
23 of elements in its arguments; use #'delete-duplicates
24 instead. Thank you for the bug reports, Robert Pluim, Stephen
25 Turnbull.
26
27 2010-02-06 Ben Wing <ben@xemacs.org>
28
29 * unicode.el:
30 * unicode.el (for):
31 Convert file to utf-8.
32
33 2010-02-03 Aidan Kehoe <kehoea@parhasard.net>
34
35 * cl-extra.el (some, every):
36 Move these functions to C.
37 * cl-macs.el (notany, notevery): Add compiler macros for these
38 functions, no longer proclaim them inline (which would involve
39 specbinding that's not necessary with the compiler macros).
40
41 2010-02-06 Ben Wing <ben@xemacs.org>
42
43 * code-init.el:
44 * code-init.el (set-eol-detection):
45 * code-init.el (coding-system-current-system-configuration):
46 * code-init.el (coding-system-default-configuration-table): New.
47 * code-init.el (no-mule-no-eol-detection):
48 * code-init.el (define-coding-system-default-configuration): New.
49 * code-init.el (coding-system-variable-default-value-table): Removed.
50 * code-init.el (no-mule-eol-detection):
51 * code-init.el (coding-system-default-configuration-list): Removed.
52 * code-init.el (coding-system-default-variable-list):
53 * code-init.el (get-coding-system-variable):
54 * code-init.el (set-coding-system-variable):
55 * code-init.el (coding-system-variable-default-value):
56 * code-init.el (reset-coding-categories-to-default):
57 Significant clean-up, add Cygwin-UTF-8 support.
58
59 1. Shorten the names of the coding system variables to follow
60 what used to be considered the "abbreviations":
61
62 default-process-coding-system-read -> process-read
63 default-process-coding-system-write -> process-write
64 buffer-file-coding-system-for-read -> bfcs-for-read
65 default-buffer-file-coding-system -> default-bfcs
66 no-conversion-coding-system-mapping -> no-conv-cs
67
68 2. Instead of listing all the defaults in a big, strangely organized
69 table, use a new function
70 `define-coding-system-default-configuration' to define a
71 particular configuration. This uses a hash table stored in
72 `coding-system-default-configuration-table'. Rewrite
73 `coding-system-variable-default-value' appropriately.
74
75 3. Rename configurations to eliminate `unix' from the name:
76
77 unix-no-mule-no-eol-detection -> no-mule-no-eol-detection
78 unix-no-mule-eol-detection -> no-mule-eol-detection
79 unix-mule -> mule
80
81 This is because these are really for all systems but Windows,
82 not just Unix.
83
84 4. Add configuration `cygwin-utf-8', enabled when (featurep
85 'cygwin-use-utf-8). Uses `utf-8' for all defaults except for
86 `bfcs-for-read', which is `undecided'.
87
88 2010-01-28 Ben Wing <ben@xemacs.org>
89
90 * lisp-mode.el: Finish documenting `lisp-indent-specform',
91 on Mike Sperber's request.
92
93 2010-01-17 Ben Wing <ben@xemacs.org>
94
95 * bytecomp-runtime.el:
96 * bytecomp-runtime.el (error-unless-tests-match): New.
97 * bytecomp-runtime.el (byte-compile-file-being-compiled): New.
98 * bytecomp-runtime.el (compiled-if): New.
99 * bytecomp-runtime.el (compiled-when): New.
100 Add functions for dealing with conditional compilation of different code
101 depending on the presence or absence of features. Necessary for some
102 Mule code where code is run during compilation (macros or eval-when-compile)
103 but, depending on how the code is written, the code itself will crash
104 either with or without Unicode-internal.
105
106 compiled-if and compiled-when are the basic functions for conditional
107 compilation. They automatically trigger an error message upon file
108 loading if, at that time, the test expression that selected which code
109 to compile does not have the same value as at compile time.
110
111 2010-01-25 Ben Wing <ben@xemacs.org>
112
113 * mule/cyrillic.el (koi8-c):
114 Fix bug in #83 mapping.
115 * mule/vietnamese.el (viscii):
116 Fix bug in #A6 mapping.
117
118 2010-01-24 Ben Wing <ben@xemacs.org>
119
120 * simple.el (capitalize-string-as-title):
121 Use `with-string-as-buffer-contents' instead of emulating it.
122
123 2010-01-24 Ben Wing <ben@xemacs.org>
124
125 * syntax.el:
126 * syntax.el (make-syntax-table):
127 Expand doc string.
128
129 2010-01-22 Ben Wing <ben@xemacs.org>
130
131 * lisp-mode.el:
132 * lisp-mode.el (lisp-indent-function):
133 If the function begins with `with-', assume it is a macro or
134 special form whose last argument is a body. Call
135 `lisp-indent-specform' with a flag indicating that it should indent
136 all arguments as a body instead of with normal (full) indent.
137 * lisp-mode.el (lisp-indent-specform):
138 Add an optional flag argument indicating that all non-distinguished
139 arguments, not just the first, should be indented as a body. This
140 is useful when the number of distinguished (i.e. pre-body) arguments
141 isn't known, and is used for this purpose by `lisp-indent-function'.
142
143
144 2010-01-20 Aidan Kehoe <kehoea@parhasard.net>
145
146 * simple.el (handle-pre-motion-command-current-command-is-motion):
147 This function is called a *lot*, make it faster, making
148 keysyms-equal inline, calling #'characterp (which doesn't have a
149 bytecode) much more rarely, and not throwing and catching. This
150 won't make much difference in practice, but does eliminate losts
151 of noise from profiling, e.g. at startup.
152
153 2010-01-13 Ben Wing <ben@xemacs.org>
154
155 * loadup.el:
156 * loadup.el (featurep):
157 * loadup.el (member):
158 When featurep `debug-xemacs' (configure --with-debug), set
159 debug-on-error, so that we get an exit-to-debugger/assertion
160 failure upon Lisp error during loadup. Unset before dumping.
161
162 2010-01-10 Ben Wing <ben@xemacs.org>
163
164 * mule/mule-cmds.el (get-native-coding-system-from-language-environment):
165 Under Cygwin, force utf-8 if we are using Cygwin 1.7 or later
166 (making use of the magic feature 'cygwin-use-utf-8).
167
168 2010-01-11 Ben Wing <ben@xemacs.org>
169
170 * unicode.el:
171 * unicode.el (utf-8):
172 Don't define `utf-8' coding system here, because it's too late.
173 We need it during early startup code at dump time so we create it
174 in C in unicode.c.
175
176 2010-01-10 Didier Verna <didier@xemacs.org>
177
178 * x-faces.el (x-init-face-from-resources)
179 (x-init-device-faces)
180 (x-init-frame-faces): Cosmetic changes (comments formatting).
181
182 2010-01-09 Didier Verna <didier@xemacs.org>
183
184 * x-faces.el (x-init-global-faces): Deactivate obsolete code.
185 * x-faces.el (x-init-device-faces): Ditto.
186 * x-faces.el (x-init-frame-faces): Ditto.
187
188 2010-01-09 Didier Verna <didier@xemacs.org>
189
190 * glyphs.el (init-glyphs): Recognize bitmaps/ directory as
191 containing bitmap files.
192
193 2010-01-09 Aidan Kehoe <kehoea@parhasard.net>
194
195 * subr.el (with-trapping-errors):
196 Fix a bug here, where I used a normal quote instead of a
197 backquote. Thank you the byte-compiler.
198
199 2010-01-08 Aidan Kehoe <kehoea@parhasard.net>
200
201 * indent.el (indent-region):
202 Make COLUMN optional as in GNU, merging Andreas Roehler's change
203 of http://mid.gmane.org/4B46F5FC.2070506@online.de ; thank you
204 Andreas!
205
206 2010-01-07 Aidan Kehoe <kehoea@parhasard.net>
207
208 * cl-macs.el (map):
209 Add a compiler macro for this function, for cases where CL-TYPE is
210 constant and understood.
211
212 2010-01-07 Aidan Kehoe <kehoea@parhasard.net>
213
214 * unicode.el (load-unicode-tables):
215 * mule/mule-msw-init-late.el:
216 * mule/mule-category.el (predefined-category-list):
217 * mule/arabic.el:
218 Move arabic-iso8859-6 back to C, it needs to be there, otherwise
219 X11 character input lookup fails.
220
221 2010-01-06 Didier Verna <didier@xemacs.org>
222
223 * cl-extra.el (get-properties): New.
224
225 2009-12-31 Aidan Kehoe <kehoea@parhasard.net>
226
227 * list-mode.el (next-list-mode-item, switch-to-completions): Use
228 next-single-char-property-change,
229 previous-single-char-property-change now
230 next-single-property-change no longer pays attention to extents
231 not created using the text property functions. Fix for issue 546,
232 bug dates from changeset 8c96bdabcaf9.
233
1 2009-12-21 Jerry James <james@xemacs.org> 234 2009-12-21 Jerry James <james@xemacs.org>
2 235
3 * dragdrop.el (offix-start-drag): Remove. 236 * dragdrop.el (offix-start-drag): Remove.
4 (offix-start-drag-region): Remove. 237 (offix-start-drag-region): Remove.
5 * mouse.el (mouse-begin-drag-n-drop): Remove OffiX support. 238 * mouse.el (mouse-begin-drag-n-drop): Remove OffiX support.
10 dk.xemacs.org from list of package download sites. 243 dk.xemacs.org from list of package download sites.
11 * package-get.el (package-get-pre-release-download-sites): Ditto. 244 * package-get.el (package-get-pre-release-download-sites): Ditto.
12 245
13 2009-12-21 Aidan Kehoe <kehoea@parhasard.net> 246 2009-12-21 Aidan Kehoe <kehoea@parhasard.net>
14 247
15 * mule/arabic.el (arabic-iso8859-6): 248 * mule/arabic.el (arabic-iso8859-6):
16 Move the creation of this character set to this (dumped) file, 249 Move the creation of this character set to this (dumped) file,
17 since it's needed for input on X11. 250 since it's needed for input on X11.
18 * mule/iso-with-esc.el: 251 * mule/iso-with-esc.el:
19 Remove arabic-iso8859-6 and its Unicode map from this file. 252 Remove arabic-iso8859-6 and its Unicode map from this file.
20 * unicode.el (load-unicode-tables): 253 * unicode.el (load-unicode-tables):
21 Load arabic-iso8859-6 on startup again. 254 Load arabic-iso8859-6 on startup again.
22 255
256 2009-12-19 Aidan Kehoe <kehoea@parhasard.net>
257
258 * cl-macs.el (cl-do-arglist):
259 * cl-compat.el (keyword-of):
260 Remove support in our generated code for emacs versions where
261 keywords are not self-quoting.
262
263 2010-02-03 Aidan Kehoe <kehoea@parhasard.net>
264
265 Delete a couple of XEmacs-specific functions that duplicate CL
266 functions.
267
268 * find-paths.el (paths-filter, paths-uniq-append):
269 Remove #'paths-filter, a reimplementation of #'remove-if-not, and
270 #'paths-uniq-append, a reimplementation of #'union with test
271 #'equal.
272 (paths-decode-directory-path): Don't use #'path-filter here.
273 * packages.el (packages-package-hierarchy-directory-names):
274 Don't use #'path-filter here.
275 (packages-find-installation-package-directories):
276 Use #'union, not #'paths-uniq-append here.
277 * setup-paths.el (paths-find-invocation-roots)
278 (paths-find-emacs-roots, paths-construct-info-path)
279 (paths-construct-info-path):
280 Replace #'paths-filter with #'remove-if-not, #'paths-uniq-append
281 with #'union.
282
283 2010-02-01 Aidan Kehoe <kehoea@parhasard.net>
284
285 * loadhist.el (symbol-file):
286 If #'built-in-symbol-file returns a Lisp file name, and
287 source-lisp is readable, construct a full pathname to include
288 that. Otherwise use lisp-directory, as we used to.
289 * loadup.el:
290 Delete load-history entries for those files in
291 preloaded-file-list; unloading the associated features makes very
292 little sense, and the symbol file information can be had from DOC.
293
294 2010-02-01 Aidan Kehoe <kehoea@parhasard.net>
295
296 * cl-macs.el (equalp):
297 Remove special treatment for an #'equalp with a single character
298 constant argument, it was incorrect (it used #'downcase instead of
299 #'canoncase).
300
301 2010-02-01 Ben Wing <ben@xemacs.org>
302
303 * cl-extra.el:
304 * cl-extra.el (cl-string-vector-equalp): Removed.
305 * cl-extra.el (cl-bit-vector-vector-equalp): Removed.
306 * cl-extra.el (cl-vector-array-equalp): Removed.
307 * cl-extra.el (cl-hash-table-contents-equalp): Removed.
308 * cl-extra.el (equalp): Removed.
309 * cl-extra.el (cl-mapcar-many):
310 Comment out the whole `equalp' implementation for the moment;
311 remove once we're sure the C implementation works.
312
313 * cl-macs.el:
314 * cl-macs.el (equalp):
315 Simplify the compiler-macro for `equalp' -- once it's in C,
316 we don't need to try so hard to expand it.
317
318 2010-01-31 Aidan Kehoe <kehoea@parhasard.net>
319
320 * obsolete.el:
321 * loadhist.el (symbol-file):
322 * help.el (describe-function-1):
323 * bytecomp.el: (byte-compile-save-current-buffer):
324 * byte-optimize.el (byte-optimize-form-code-walker):
325 * subr.el (subr-arity):
326 Change "special form" to "special operator" in these files, it's
327 the more logical term.
328
329 * subr.el (special-form-p): Provide this alias for
330 #'special-operator-p.
331
332 2010-01-30 Aidan Kehoe <kehoea@parhasard.net>
333
334 * loadup.el:
335 If any filename in load-history starts with the value of
336 source-lisp, delete that part of the string, so that
337 #'find-function works better with dumped functions in an installed
338 XEmacs (it will look in lisp-directory instead, where it will
339 probably succeed).
340
341 2010-01-29 Ben Wing <ben@xemacs.org>
342
343 * mule/cyrillic.el (for):
344 Upper and lowercase mappings were reversed for some old-Cyrillic
345 chars.
346
347 2010-01-31 Aidan Kehoe <kehoea@parhasard.net>
348
349 * cl.el (mapcar*): Delete; this is now in fns.c.
350 Use #'mapc, not #'mapc-internal in a couple of places.
351 * cl-macs.el (mapc, mapcar*, map): Delete these compiler macros
352 now the corresponding functions are in fns.c; there's no run-time
353 advantage to the macros.
354 * cl-extra.el (coerce): Extend the possible conversions here a
355 little; it's not remotely comprehensive yet, though it does allow
356 running slightly more Common Lisp code than previously.
357 (cl-mapcar-many): Delete.
358 (map, maplist, mapc, mapl, mapcan, mapcon): Move these to fns.c.
359 * bytecomp.el (byte-compile-maybe-mapc):
360 Use #'mapc itself, not #'mapc-internal, now the former is in C.
361 (mapcar*): Use #'byte-compile-maybe-mapc as this function's
362 byte-compile method, now a #'mapc that can take more than one
363 sequence is in C.
364 * obsolete.el (cl-mapc): Move this compatibility alias to this file.
365 * update-elc.el (do-autoload-commands): Use #'mapc, not
366 #'mapc-internal here.
367
368 2010-01-26 Aidan Kehoe <kehoea@parhasard.net>
369
370 * mule/vietnamese.el (viscii): Correct the mapping here, #xA6 is
371 actually *SMALL* LETTER A WITH CIRCUMFLEX AND HOOK ABOVE.
372 * mule/cyrillic.el (koi8-c): Correct the mapping here, #x8C is
373 actually ?\u04D9. Add a case mapping for it.
374
375 2010-01-24 Aidan Kehoe <kehoea@parhasard.net>
376
377 Correct the semantics of #'member*, #'eql, #'assoc* in the
378 presence of bignums; change the integerp byte code to fixnump
379 semantics.
380
381 * bytecomp.el (fixnump, integerp, byte-compile-integerp):
382 Change the integerp byte code to fixnump; add a byte-compile
383 method to integerp using fixnump and numberp and avoiding a
384 funcall most of the time, since in the non-core contexts where
385 integerp is used, it's mostly distinguishing between fixnums and
386 things that are not numbers at all.
387 * byte-optimize.el (side-effect-free-fns, byte-after-unbind-ops)
388 (byte-compile-side-effect-and-error-free-ops):
389 Replace the integerp bytecode with fixnump; add fixnump to the
390 side-effect-free-fns. Add the other extended number type
391 predicates to the list in passing.
392
393 * obsolete.el (floatp-safe): Mark this as obsolete.
394
395 * cl.el (eql): Go into more detail in the docstring here. Don't
396 bother checking whether both arguments are numbers; one is enough,
397 #'equal will fail correctly if they have distinct types.
398 (subst): Replace a call to #'integerp (deciding whether to use
399 #'memq or not) with one to #'fixnump.
400 Delete most-positive-fixnum, most-negative-fixnum from this file;
401 they're now always in C, so they can't be modified from Lisp.
402 * cl-seq.el (member*, assoc*, rassoc*):
403 Correct these functions in the presence of bignums.
404 * cl-macs.el (cl-make-type-test): The type test for a fixnum is
405 now fixnump. Ditch floatp-safe, use floatp instead.
406 (eql): Correct this compiler macro in the presence of bignums.
407 (assoc*): Correct this compiler macro in the presence of bignums.
408
409 * simple.el (undo):
410 Change #'integerp to #'fixnump here, since we use #'delq with the
411 same value as ELT a few lines down.
412
413 2010-01-20 Aidan Kehoe <kehoea@parhasard.net>
414
415 * simple.el (handle-pre-motion-command-current-command-is-motion):
416 This function is called a *lot*, make it faster, making
417 keysyms-equal inline, calling #'characterp (which doesn't have a
418 bytecode) much more rarely, and not throwing and catching. This
419 won't make much difference in practice, but does eliminate losts
420 of noise from profiling, e.g. at startup.
421
422 2010-01-13 Ben Wing <ben@xemacs.org>
423
424 * loadup.el:
425 * loadup.el (featurep):
426 * loadup.el (member):
427 When featurep `debug-xemacs' (configure --with-debug), set
428 debug-on-error, so that we get an exit-to-debugger/assertion
429 failure upon Lisp error during loadup. Unset before dumping.
430
431 2010-01-10 Ben Wing <ben@xemacs.org>
432
433 * mule/mule-cmds.el (get-native-coding-system-from-language-environment):
434 Under Cygwin, force utf-8 if we are using Cygwin 1.7 or later
435 (making use of the magic feature 'cygwin-use-utf-8).
436
437 2010-01-11 Ben Wing <ben@xemacs.org>
438
439 * unicode.el:
440 * unicode.el (utf-8):
441 Don't define `utf-8' coding system here, because it's too late.
442 We need it during early startup code at dump time so we create it
443 in C in unicode.c.
444
445 2010-01-10 Didier Verna <didier@xemacs.org>
446
447 * x-faces.el (x-init-face-from-resources)
448 (x-init-device-faces)
449 (x-init-frame-faces): Cosmetic changes (comments formatting).
450
451 2010-01-09 Didier Verna <didier@xemacs.org>
452
453 * x-faces.el (x-init-global-faces): Deactivate obsolete code.
454 * x-faces.el (x-init-device-faces): Ditto.
455 * x-faces.el (x-init-frame-faces): Ditto.
456
457 2010-01-09 Didier Verna <didier@xemacs.org>
458
459 * glyphs.el (init-glyphs): Recognize bitmaps/ directory as
460 containing bitmap files.
461
462 2010-01-09 Aidan Kehoe <kehoea@parhasard.net>
463
464 * subr.el (with-trapping-errors):
465 Fix a bug here, where I used a normal quote instead of a
466 backquote. Thank you the byte-compiler.
467
468 2010-01-08 Aidan Kehoe <kehoea@parhasard.net>
469
470 * indent.el (indent-region):
471 Make COLUMN optional as in GNU, merging Andreas Roehler's change
472 of http://mid.gmane.org/4B46F5FC.2070506@online.de ; thank you
473 Andreas!
474
475 2010-01-07 Aidan Kehoe <kehoea@parhasard.net>
476
477 * cl-macs.el (map):
478 Add a compiler macro for this function, for cases where CL-TYPE is
479 constant and understood.
480
481 2010-01-07 Aidan Kehoe <kehoea@parhasard.net>
482
483 * unicode.el (load-unicode-tables):
484 * mule/mule-msw-init-late.el:
485 * mule/mule-category.el (predefined-category-list):
486 * mule/arabic.el:
487 Move arabic-iso8859-6 back to C, it needs to be there, otherwise
488 X11 character input lookup fails.
489
490 2010-01-06 Didier Verna <didier@xemacs.org>
491
492 * cl-extra.el (get-properties): New.
493
494 2009-12-31 Aidan Kehoe <kehoea@parhasard.net>
495
496 * list-mode.el (next-list-mode-item, switch-to-completions): Use
497 next-single-char-property-change,
498 previous-single-char-property-change now
499 next-single-property-change no longer pays attention to extents
500 not created using the text property functions. Fix for issue 546,
501 bug dates from changeset 8c96bdabcaf9.
502
503 2009-12-21 Jerry James <james@xemacs.org>
504
505 * dragdrop.el (offix-start-drag): Remove.
506 (offix-start-drag-region): Remove.
507 * mouse.el (mouse-begin-drag-n-drop): Remove OffiX support.
508
509 2009-12-21 Adrian Aichner <adrian@xemacs.org>
510
511 * package-get.el (package-get-download-sites): Remove
512 dk.xemacs.org from list of package download sites.
513 * package-get.el (package-get-pre-release-download-sites): Ditto.
514
515 2009-12-21 Aidan Kehoe <kehoea@parhasard.net>
516
517 * mule/arabic.el (arabic-iso8859-6):
518 Move the creation of this character set to this (dumped) file,
519 since it's needed for input on X11.
520 * mule/iso-with-esc.el:
521 Remove arabic-iso8859-6 and its Unicode map from this file.
522 * unicode.el (load-unicode-tables):
523 Load arabic-iso8859-6 on startup again.
524
525 2009-12-19 Aidan Kehoe <kehoea@parhasard.net>
526
527 * cl-macs.el (cl-do-arglist):
528 * cl-compat.el (keyword-of):
529 Remove support in our generated code for emacs versions where
530 keywords are not self-quoting.
531
532 2009-12-21 Michael Sperber <mike@xemacs.org>
533
534 * gnuserv.el (gnuserv-program): Specifically look for gnuserv in
535 `exec-directory'.
536
23 2009-12-18 Aidan Kehoe <kehoea@parhasard.net> 537 2009-12-18 Aidan Kehoe <kehoea@parhasard.net>
24 538
25 * alist.el (modify-alist): 539 * alist.el (modify-alist):
26 * autoload.el (update-autoload-files, autoload-print-form): 540 * autoload.el (update-autoload-files, autoload-print-form):
27 * bytecomp.el (batch-byte-compile-1) 541 * bytecomp.el (batch-byte-compile-1)
28 (byte-compile-multiple-value-call, byte-compile-funcall) 542 (byte-compile-multiple-value-call, byte-compile-funcall)
29 (byte-compile-insert, byte-compile-concat, byte-compile-list) 543 (byte-compile-insert, byte-compile-concat, byte-compile-list)
30 (byte-compile-normal-call, byte-compile-flush-pending): 544 (byte-compile-normal-call, byte-compile-flush-pending):
31 * cl-macs.el (letf): 545 * cl-macs.el (letf):
32 * cl.el: 546 * cl.el:
33 * disass.el (disassemble-1): 547 * disass.el (disassemble-1):
34 * easy-mmode.el (easy-mmode-define-syntax): 548 * easy-mmode.el (easy-mmode-define-syntax):
35 * faces.el (set-face-parent): 549 * faces.el (set-face-parent):
36 * files.el (cd): 550 * files.el (cd):
37 * finder.el (finder-list-matches, finder-list-keywords) 551 * finder.el (finder-list-matches, finder-list-keywords)
38 (finder-compile-keywords): 552 (finder-compile-keywords):
39 * frame.el (frame-notice-user-settings) 553 * frame.el (frame-notice-user-settings)
40 (frame-remove-geometry-props): 554 (frame-remove-geometry-props):
41 * ldap.el (ldap-delete-entries, ldap-modify-entries) 555 * ldap.el (ldap-delete-entries, ldap-modify-entries)
42 (ldap-add-entries): 556 (ldap-add-entries):
43 * loadhist.el (unload-feature): 557 * loadhist.el (unload-feature):
44 * map-ynp.el (map-y-or-n-p): 558 * map-ynp.el (map-y-or-n-p):
45 * menubar-items.el (default-menubar): 559 * menubar-items.el (default-menubar):
46 * mouse.el (default-mouse-track-next-move-rect) 560 * mouse.el (default-mouse-track-next-move-rect)
47 (default-mouse-track-next-move-rect) 561 (default-mouse-track-next-move-rect)
48 (default-mouse-track-cleanup-hook) 562 (default-mouse-track-cleanup-hook)
49 (default-mouse-track-cleanup-extent): 563 (default-mouse-track-cleanup-extent):
50 * mule/ethio-util.el (ethio-fidel-to-sera-buffer) 564 * mule/ethio-util.el (ethio-fidel-to-sera-buffer)
51 (ethio-modify-vowel): 565 (ethio-modify-vowel):
52 * obsolete.el: 566 * obsolete.el:
53 * package-get.el (package-get-update-all): 567 * package-get.el (package-get-update-all):
54 * package-ui.el (pui-list-packages) 568 * package-ui.el (pui-list-packages)
55 (pui-install-selected-packages, pui-install-selected-packages): 569 (pui-install-selected-packages, pui-install-selected-packages):
56 * select.el (select-make-extent-for-selection) 570 * select.el (select-make-extent-for-selection)
57 (dehilight-selection): 571 (dehilight-selection):
58 * simple.el (clone-buffer): 572 * simple.el (clone-buffer):
59 * term/tvi970.el: 573 * term/tvi970.el:
60 * term/wyse50.el: 574 * term/wyse50.el:
61 * unicode.el: 575 * unicode.el:
62 (load-unicode-tables): 576 (load-unicode-tables):
63 * x-font-menu.el (fc-make-font-menu-entry) 577 * x-font-menu.el (fc-make-font-menu-entry)
64 (x-reset-device-font-menus-xft): 578 (x-reset-device-font-menus-xft):
65 * x-misc.el (x-init-specifier-from-resources): 579 * x-misc.el (x-init-specifier-from-resources):
66 Eliminate byte-compile warnings, with the exception of Stephen's 580 Eliminate byte-compile warnings, with the exception of Stephen's
67 various non-defined fontconfig functions, as I don't know if he 581 various non-defined fontconfig functions, as I don't know if he
68 plans to add them and is keeping the warnings around as a 582 plans to add them and is keeping the warnings around as a
69 reminder. The warnings actually eliminated involve i) using mapcar 583 reminder. The warnings actually eliminated involve i) using mapcar
70 instead of mapc where the result is discarded and ii) using a 584 instead of mapc where the result is discarded and ii) using a
71 lambda quoted as data in a context where it is unequivocally used 585 lambda quoted as data in a context where it is unequivocally used
72 as a function. 586 as a function.
73 587
74 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> 588 2009-12-17 Aidan Kehoe <kehoea@parhasard.net>
75 589
76 * mule/make-coding-system.el 590 * mule/make-coding-system.el
77 (fixed-width-create-decode-encode-tables): 591 (fixed-width-create-decode-encode-tables):
79 table rehash thresholds are serialised correctly; these hash 593 table rehash thresholds are serialised correctly; these hash
80 tables will never be resized, and it's not even that important 594 tables will never be resized, and it's not even that important
81 that they are *that* fast, for most of the coding systems they're 595 that they are *that* fast, for most of the coding systems they're
82 used a minority of the time. 596 used a minority of the time.
83 597
598 2010-01-01 Aidan Kehoe <kehoea@parhasard.net>
599
600 * syntax.el (map-syntax-table):
601 * subr.el (map-plist):
602 * startup.el (load-init-file):
603 * minibuf.el (read-from-minbuffer):
604 * cus-edit.el (custom-load-custom-defines-1):
605 * cmdloop.el (execute-extended-command):
606 Replace symbol names using underscore, whether to avoid dynamic
607 scope problems or to ensure helpful arguments to
608 #'call-with-condition-handler, with uninterned symbols.
609
84 2009-12-05 Stephen J. Turnbull <stephen@xemacs.org> 610 2009-12-05 Stephen J. Turnbull <stephen@xemacs.org>
85 611
86 * font.el (x-font-create-object): Check for Xft before using it. 612 * font.el (x-font-create-object): Check for Xft before using it.
87 This fixes the symptom in openSUSE bug #558764. 613 This fixes the symptom in openSUSE bug #558764.
614
615 2010-01-09 Aidan Kehoe <kehoea@parhasard.net>
616
617 * descr-text.el (describe-char-unihan-field-descriptions):
618 * cl-macs.el:
619 Use keywords, not ordinary symbols, in the hash table read syntax,
620 for compatibility with Common Lisp and recent GNU Emacs.
88 621
89 2009-11-10 Jerry James <james@xemacs.org> 622 2009-11-10 Jerry James <james@xemacs.org>
90 623
91 * device.el (device-type): Remove (mostly imaginary) support for 624 * device.el (device-type): Remove (mostly imaginary) support for
92 NeXTstep. 625 NeXTstep.
101 but still look in standard paths for mh. Also remove support for old 634 but still look in standard paths for mh. Also remove support for old
102 SCO Unix, Bull DPX/2, Data General Unix, RTU, and Unisoft Unix. 635 SCO Unix, Bull DPX/2, Data General Unix, RTU, and Unisoft Unix.
103 636
104 2009-11-15 Aidan Kehoe <kehoea@parhasard.net> 637 2009-11-15 Aidan Kehoe <kehoea@parhasard.net>
105 638
106 * custom.el (custom-quote): 639 * custom.el (custom-quote):
107 Define this as an alias for `quote-maybe', which is in C and more 640 Define this as an alias for `quote-maybe', which is in C and more
108 comprehensive; packages still use this name in places. 641 comprehensive; packages still use this name in places.
109 (customize-mark-to-save, customize-mark-as-set): Use 642 (customize-mark-to-save, customize-mark-as-set): Use
110 `quote-maybe', not `custom-quote'. 643 `quote-maybe', not `custom-quote'.
111 * cus-edit.el (customize-set-variable, customize-save-variable) 644 * cus-edit.el (customize-set-variable, customize-save-variable)
112 (custom-variable-value-create, custom-variable-set) 645 (custom-variable-value-create, custom-variable-set)
113 (custom-variable-pre-save): 646 (custom-variable-pre-save):
114 Remove a version of `custom-quote' specific to this file; use 647 Remove a version of `custom-quote' specific to this file; use
115 `quote-maybe' universally instead. 648 `quote-maybe' universally instead.
116 649
117 2009-11-14 Aidan Kehoe <kehoea@parhasard.net> 650 2009-11-14 Aidan Kehoe <kehoea@parhasard.net>
118 651
119 * bytecomp.el (byte-compile-funarg-n): 652 * bytecomp.el (byte-compile-funarg-n):
120 New macro, used to create the various byte-compile-funarg 653 New macro, used to create the various byte-compile-funarg
121 functions, which check for quoted lambdas in given positions. 654 functions, which check for quoted lambdas in given positions.
122 (byte-compile-funarg, byte-compile-funarg-2) 655 (byte-compile-funarg, byte-compile-funarg-2)
123 (byte-compile-funarg-4, byte-compile-funarg-1-2): Use 656 (byte-compile-funarg-4, byte-compile-funarg-1-2): Use
124 byte-compile-funarg-n in implementing these functions. 657 byte-compile-funarg-n in implementing these functions.
125 (byte-compile-maybe-mapc): Add some commentary on GNU's approach 658 (byte-compile-maybe-mapc): Add some commentary on GNU's approach
126 to this problem. 659 to this problem.
127 Be much more comprehensive in the functions that we use 660 Be much more comprehensive in the functions that we use
128 byte-compile-funarg and related function to compile, especially 661 byte-compile-funarg and related function to compile, especially
129 including functions from cl-seq.el. 662 including functions from cl-seq.el.
130 663
131 2009-11-14 Aidan Kehoe <kehoea@parhasard.net> 664 2009-11-14 Aidan Kehoe <kehoea@parhasard.net>
132 665
133 * cl-macs.el (letf): 666 * cl-macs.el (letf):
134 Check whether arguments to #'values are bound, and make them 667 Check whether arguments to #'values are bound, and make them
135 unbound after evaluating BODY; document the limitations of this 668 unbound after evaluating BODY; document the limitations of this
136 macro. 669 macro.
137 670
138 2009-11-14 Aidan Kehoe <kehoea@parhasard.net> 671 2009-11-14 Aidan Kehoe <kehoea@parhasard.net>
139 672
140 * faces.el (init-other-random-faces): 673 * faces.el (init-other-random-faces):
141 If the modeline face is using its fallbacks, avoid that, specify 674 If the modeline face is using its fallbacks, avoid that, specify
142 the corresponding problems instead. Fixes problems described in 675 the corresponding problems instead. Fixes problems described in
143 http://mid.gmane.org/3ggprc2diyt.wl_Ron.Isaacson@morganstanley.com 676 http://mid.gmane.org/3ggprc2diyt.wl_Ron.Isaacson@morganstanley.com
144 677
145 2009-11-09 Didier Verna <didier@xemacs.org> 678 2009-11-09 Didier Verna <didier@xemacs.org>
146 679
147 * minibuf.el (read-buffer): New optional argument 'exclude' for 680 * minibuf.el (read-buffer): New optional argument 'exclude' for
148 excluding buffers from the completion list. 681 excluding buffers from the completion list.
149 * buffer.el (switch-to-buffer): Don't offer the current buffer in 682 * buffer.el (switch-to-buffer): Don't offer the current buffer in
150 the completion list. 683 the completion list.
151 684
152 2009-11-08 Aidan Kehoe <kehoea@parhasard.net> 685 2009-11-08 Aidan Kehoe <kehoea@parhasard.net>
153 686
154 * bytecomp.el (save-window-excursion): 687 * bytecomp.el (save-window-excursion):
155 Remove the compiler form for this bytecode, we no longer generate 688 Remove the compiler form for this bytecode, we no longer generate
156 calls to it. Keep the information about the bytecode's numeric 689 calls to it. Keep the information about the bytecode's numeric
157 value, we want that for disassembling code. 690 value, we want that for disassembling code.
158 691
692 2009-11-08 Aidan Kehoe <kehoea@parhasard.net>
693
694 * cl-extra.el (cl-string-vector-equalp)
695 (cl-bit-vector-vector-equalp, cl-vector-array-equalp)
696 (cl-hash-table-contents-equalp): New functions, to implement
697 equalp treating arrays with identical contents as equivalent, as
698 specified by Common Lisp.
699 (equalp): Revise this function to implement array equivalence,
700 and the hash-table equalp behaviour specified by CL.
701 * cl-macs.el (equalp): Add a compiler macro for this function,
702 used when one of the arguments is constant, and as such, its type
703 is known at compile time.
704
159 2009-11-01 Aidan Kehoe <kehoea@parhasard.net> 705 2009-11-01 Aidan Kehoe <kehoea@parhasard.net>
160 706
161 * cl-extra.el (equalp): 707 * cl-extra.el (equalp):
162 Don't error if handed a string and a non-string. 708 Don't error if handed a string and a non-string.
163 709
164 2009-11-01 Stephen Turnbull <stephen@xemacs.org> 710 2009-11-01 Stephen Turnbull <stephen@xemacs.org>
165 711
166 * font.el (font-combine-fonts-internal): 712 * font.el (font-combine-fonts-internal):
212 (end-of-defun): 758 (end-of-defun):
213 Make docstrings stop lying. 759 Make docstrings stop lying.
214 760
215 2009-10-30 Aidan Kehoe <kehoea@parhasard.net> 761 2009-10-30 Aidan Kehoe <kehoea@parhasard.net>
216 762
217 * cl-macs.el (regexp-quote): 763 * cl-macs.el (regexp-quote):
218 If STRING is constant, call regexp-quote at compile time. 764 If STRING is constant, call regexp-quote at compile time.
219 765
220 2009-10-24 Aidan Kehoe <kehoea@parhasard.net> 766 2009-10-24 Aidan Kehoe <kehoea@parhasard.net>
221 767
222 * files.el (default-file-system-ignore-case): New variable. 768 * files.el (default-file-system-ignore-case): New variable.
223 (file-system-case-alist): New variable. 769 (file-system-case-alist): New variable.
224 (file-system-ignore-case-p): 770 (file-system-ignore-case-p):
225 New function; return t if file names under PATH should be treated 771 New function; return t if file names under PATH should be treated
226 case-insensitively. 772 case-insensitively.
227 * minibuf.el (read-file-name-1, read-file-name-internal-1) 773 * minibuf.el (read-file-name-1, read-file-name-internal-1)
228 (read-file-name-internal-1): 774 (read-file-name-internal-1):
229 * package-admin.el (package-admin-check-manifest): 775 * package-admin.el (package-admin-check-manifest):
230 Use file-system-ignore-case-p instead of checking system-type 776 Use file-system-ignore-case-p instead of checking system-type
231 directly in these functions. (Even though minibuf.el is dumped 777 directly in these functions. (Even though minibuf.el is dumped
232 before files.el, the function is only called in interactive usage, 778 before files.el, the function is only called in interactive usage,
233 there's no dump time order dependency here.) 779 there's no dump time order dependency here.)
234 780
235 2009-10-19 Aidan Kehoe <kehoea@parhasard.net> 781 2009-10-19 Aidan Kehoe <kehoea@parhasard.net>
236 782
237 * bytecomp.el (byte-compile-default-warnings): 783 * bytecomp.el (byte-compile-default-warnings):
238 Add two new warning types, discarded-consing (basically use of 784 Add two new warning types, discarded-consing (basically use of
239 mapcar instead of mapc where its result is discarded) and 785 mapcar instead of mapc where its result is discarded) and
240 quoted-lambda (use of a lambda expression quoted as data in a 786 quoted-lambda (use of a lambda expression quoted as data in a
241 function context). 787 function context).
242 (byte-compile-warnings): Document the new warnings. 788 (byte-compile-warnings): Document the new warnings.
243 (byte-compile-fset, byte-compile-funarg): Implement the 789 (byte-compile-fset, byte-compile-funarg): Implement the
244 quoted-lambda warning option. 790 quoted-lambda warning option.
245 (byte-compile-mapcar): Renamed to byte-compile-maybe-mapc. 791 (byte-compile-mapcar): Renamed to byte-compile-maybe-mapc.
246 (byte-compile-maybe-mapc, byte-compile-maplist): 792 (byte-compile-maybe-mapc, byte-compile-maplist):
247 Implement the discarded-consing warning option. 793 Implement the discarded-consing warning option.
248 Add more functions that should be compiled using 794 Add more functions that should be compiled using
249 byte-compile-funarg, notably mapvector, mapc-internal, 795 byte-compile-funarg, notably mapvector, mapc-internal,
250 map-char-table. 796 map-char-table.
251 * cl-macs.el (mapcar*): 797 * cl-macs.el (mapcar*):
252 If we know at compile time that there are no CL options being 798 If we know at compile time that there are no CL options being
253 used, use the mapcar subr, not the byte-coded function. 799 used, use the mapcar subr, not the byte-coded function.
254 800
255 2009-10-12 Aidan Kehoe <kehoea@parhasard.net> 801 2009-10-12 Aidan Kehoe <kehoea@parhasard.net>
256 802
257 * cl-macs.el (mapc): 803 * cl-macs.el (mapc):
258 New compiler macro, use mapc-internal at 804 New compiler macro, use mapc-internal at
260 * bytecomp.el (byte-compile-mapcar, byte-compile-maplist): New. 806 * bytecomp.el (byte-compile-mapcar, byte-compile-maplist): New.
261 If the return value of mapcar is being discarded, compile it to a 807 If the return value of mapcar is being discarded, compile it to a
262 mapc-internal call instead, and warn, because the programmer 808 mapc-internal call instead, and warn, because the programmer
263 probably can't rely on always being compiled by an XEmacs that 809 probably can't rely on always being compiled by an XEmacs that
264 does this. Similarly for maplist and mapl; and use 810 does this. Similarly for maplist and mapl; and use
265 byte-compile-funarg for map, mapl, mapcan, mapcon. 811 byte-compile-funarg for map, mapl, mapcan, mapcon.
266 812
267 2009-10-12 Aidan Kehoe <kehoea@parhasard.net> 813 2009-10-12 Aidan Kehoe <kehoea@parhasard.net>
268 814
269 * cl-macs.el (delete-duplicates): 815 * cl-macs.el (delete-duplicates):
270 Fix another bug in the delete-duplicates compiler macro, thank you 816 Fix another bug in the delete-duplicates compiler macro, thank you
271 the byte compiler. 817 the byte compiler.
272 818
273 2009-10-07 Andreas Roehler <andreas.roehler@online.de> 819 2009-10-07 Andreas Roehler <andreas.roehler@online.de>
274 820
275 * lisp.el (beginning-of-defun-function): 821 * lisp.el (beginning-of-defun-function):
276 make variable buffer local 822 make variable buffer local
303 * etags.el (find-tag-default): 849 * etags.el (find-tag-default):
304 Correct :operation arguments in `with-trapping-errors'. 850 Correct :operation arguments in `with-trapping-errors'.
305 851
306 2009-10-03 Aidan Kehoe <kehoea@parhasard.net> 852 2009-10-03 Aidan Kehoe <kehoea@parhasard.net>
307 853
308 * cl-macs.el (delete-duplicates): 854 * cl-macs.el (delete-duplicates):
309 Make this compiler macro aware that CL-SEQ is a sequence, which 855 Make this compiler macro aware that CL-SEQ is a sequence, which
310 may not necessarily be a list. 856 may not necessarily be a list.
311 857
312 2009-09-30 Mike Sperber <mike@xemacs.org> 858 2009-09-30 Mike Sperber <mike@xemacs.org>
313 859
321 867
322 * cl-macs.el (cl-function-arglist): Add autoload; used in autoload.el. 868 * cl-macs.el (cl-function-arglist): Add autoload; used in autoload.el.
323 869
324 2009-09-27 Aidan Kehoe <kehoea@parhasard.net> 870 2009-09-27 Aidan Kehoe <kehoea@parhasard.net>
325 871
326 * cus-edit.el (custom-variable-prompt): 872 * cus-edit.el (custom-variable-prompt):
327 nil is a symbol, check that variable-at-point is non-nil before 873 nil is a symbol, check that variable-at-point is non-nil before
328 checking if it's a symbol when deciding on the prompt used in this 874 checking if it's a symbol when deciding on the prompt used in this
329 function. 875 function.
330 876
331 2009-09-22 Andreas Roehler <andreas.roehler@online.de> 877 2009-09-22 Andreas Roehler <andreas.roehler@online.de>
332 878
333 * lisp.el (beginning-of-defun-raw): 879 * lisp.el (beginning-of-defun-raw):
334 new variable: beginning-of-defun-function, 880 new variable: beginning-of-defun-function,
335 beginning-of-defun may call FUNCTION determining start position 881 beginning-of-defun may call FUNCTION determining start position
336 * lisp.el (end-of-defun): 882 * lisp.el (end-of-defun):
337 new variable: end-of-defun-function, 883 new variable: end-of-defun-function,
338 end-of-defun may call FUNCTION determining the end position 884 end-of-defun may call FUNCTION determining the end position
339 885
340 2009-09-20 Aidan Kehoe <kehoea@parhasard.net> 886 2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
341 887
342 Add arglist information to docstrings for autoloaded functions and 888 Add arglist information to docstrings for autoloaded functions and
343 macros. 889 macros.
344 * hyper-apropos.el (hyper-apropos-get-doc): 890 * hyper-apropos.el (hyper-apropos-get-doc):
345 Treat autoload docstrings like subr docstrings; correct the regexp 891 Treat autoload docstrings like subr docstrings; correct the regexp
346 used. 892 used.
347 * help.el (describe-function-show-arglist): 893 * help.el (describe-function-show-arglist):
348 This no longer treats autoloads specially. 894 This no longer treats autoloads specially.
349 (function-arglist): Treat autoload docstrings like subr docstrings. 895 (function-arglist): Treat autoload docstrings like subr docstrings.
350 (function-documentation): Treat documentation strings that are 896 (function-documentation): Treat documentation strings that are
351 zero-length after the arglist has been removed as indicating a 897 zero-length after the arglist has been removed as indicating a
352 lack of documentation. 898 lack of documentation.
353 * cl-macs.el (case): 899 * cl-macs.el (case):
354 (ecase): 900 (ecase):
355 (typecase): 901 (typecase):
356 (etypecase): 902 (etypecase):
357 (block): 903 (block):
358 (return): 904 (return):
359 (return-from): 905 (return-from):
360 (progv): 906 (progv):
361 (lexical-let): 907 (lexical-let):
362 (lexical-let*): 908 (lexical-let*):
363 (remf): 909 (remf):
364 (callf): 910 (callf):
365 (callf2): 911 (callf2):
366 (define-modify-macro): 912 (define-modify-macro):
367 (deftype): 913 (deftype):
368 (define-compiler-macro): 914 (define-compiler-macro):
369 Rely on the autoload code to always show an arglist for these 915 Rely on the autoload code to always show an arglist for these
370 functions, don't supply an ad-hoc one in the docstring. 916 functions, don't supply an ad-hoc one in the docstring.
371 These changes are for the most obvious functions; there are some 917 These changes are for the most obvious functions; there are some
372 missed that would require changing argument names in the docstring 918 missed that would require changing argument names in the docstring
373 or in the function bodies. 919 or in the function bodies.
374 * autoload.el (make-autoload): 920 * autoload.el (make-autoload):
375 Add arg list information to the doc string, using the same 921 Add arg list information to the doc string, using the same
376 approach as for subrs. 922 approach as for subrs.
377 923
378 2009-09-20 Aidan Kehoe <kehoea@parhasard.net> 924 2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
379 925
380 * help.el (function-arglist): 926 * help.el (function-arglist):
381 Show the double-quotes in the sample output, correctly. 927 Show the double-quotes in the sample output, correctly.
382 Bind print-gensym to nil, now we're using uninterned symbols. 928 Bind print-gensym to nil, now we're using uninterned symbols.
383 Don't #'mapcar + #'intern to create uppercase symbols, use #'loop 929 Don't #'mapcar + #'intern to create uppercase symbols, use #'loop
384 and #'make-symbol instead. 930 and #'make-symbol instead.
385 * cl-macs.el (cl-upcase-arg): 931 * cl-macs.el (cl-upcase-arg):
386 Don't intern the upcased symbols we're using for cosmetic reasons. 932 Don't intern the upcased symbols we're using for cosmetic reasons.
387 Trust #'true-list-p in #'cl-function-arglist to detect 933 Trust #'true-list-p in #'cl-function-arglist to detect
388 circularity. 934 circularity.
389 (cl-function-arglist): Bind print-gensym to nil, now we're 935 (cl-function-arglist): Bind print-gensym to nil, now we're
390 printing uninterned symbols and would prefer to avoid the gensym 936 printing uninterned symbols and would prefer to avoid the gensym
393 argument information when that differs frmo the normal argument 939 argument information when that differs frmo the normal argument
394 information. 940 information.
395 941
396 2009-09-20 Aidan Kehoe <kehoea@parhasard.net> 942 2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
397 943
398 * mule/make-coding-system.el (make-coding-system): 944 * mule/make-coding-system.el (make-coding-system):
399 Require a minimum of two, not four, arguments; thank you for the 945 Require a minimum of two, not four, arguments; thank you for the
400 problem report, Adam Sjøgren! 946 problem report, Adam Sjøgren!
401 947
402 2009-09-19 Aidan Kehoe <kehoea@parhasard.net> 948 2009-09-19 Aidan Kehoe <kehoea@parhasard.net>
403 949
404 Move the #'query-coding-region implementation to C. 950 Move the #'query-coding-region implementation to C.
405 * coding.el: 951 * coding.el:
406 Consolidate code that depends on the presence or absence of Mule 952 Consolidate code that depends on the presence or absence of Mule
407 at the end of this file. 953 at the end of this file.
408 (default-query-coding-region, query-coding-region): 954 (default-query-coding-region, query-coding-region):
409 Move these functions to C. 955 Move these functions to C.
410 (default-query-coding-region-safe-charset-skip-chars-map): 956 (default-query-coding-region-safe-charset-skip-chars-map):
411 Remove this variable, the corresponding C variable is 957 Remove this variable, the corresponding C variable is
412 Vdefault_query_coding_region_chartab_cache in file-coding.c. 958 Vdefault_query_coding_region_chartab_cache in file-coding.c.
413 (query-coding-string): Update docstring to reflect actual multiple 959 (query-coding-string): Update docstring to reflect actual multiple
414 values, be more careful about not modifying a range table that 960 values, be more careful about not modifying a range table that
415 we're currently mapping over. 961 we're currently mapping over.
416 (encode-coding-char): Make the implementation of this simpler. 962 (encode-coding-char): Make the implementation of this simpler.
417 (featurep 'mule): Autoload #'make-coding-system from 963 (featurep 'mule): Autoload #'make-coding-system from
418 mule/make-coding-system.el if we're a mule build; provide an 964 mule/make-coding-system.el if we're a mule build; provide an
419 appropriate compiler macro. 965 appropriate compiler macro.
420 Do various non-mule compatibility things if we're not a mule 966 Do various non-mule compatibility things if we're not a mule
421 build. 967 build.
422 * update-elc.el (additional-dump-dependencies): 968 * update-elc.el (additional-dump-dependencies):
423 Add mule/make-coding-system as a dump time dependency if we're a 969 Add mule/make-coding-system as a dump time dependency if we're a
424 mule build. 970 mule build.
425 * unicode.el (ccl-encode-to-ucs-2): 971 * unicode.el (ccl-encode-to-ucs-2):
426 (decode-char): 972 (decode-char):
427 (encode-char): 973 (encode-char):
428 Move these earlier in the file, for the sake of some byte compile 974 Move these earlier in the file, for the sake of some byte compile
429 warnings. 975 warnings.
430 (unicode-query-coding-region): 976 (unicode-query-coding-region):
431 Move this to unicode.c 977 Move this to unicode.c
432 * mule/make-coding-system.el: 978 * mule/make-coding-system.el:
433 New file, not dumped. Contains the functionality to rework the 979 New file, not dumped. Contains the functionality to rework the
434 arguments necessary for fixed-width coding systems, and contains 980 arguments necessary for fixed-width coding systems, and contains
435 the implementation of #'make-coding-system, which now calls 981 the implementation of #'make-coding-system, which now calls
436 #'make-coding-system-internal. 982 #'make-coding-system-internal.
437 * mule/vietnamese.el (viscii): 983 * mule/vietnamese.el (viscii):
438 * mule/latin.el (iso-8859-2): 984 * mule/latin.el (iso-8859-2):
439 (windows-1250): 985 (windows-1250):
440 (iso-8859-3): 986 (iso-8859-3):
441 (iso-8859-4): 987 (iso-8859-4):
442 (iso-8859-14): 988 (iso-8859-14):
443 (iso-8859-15): 989 (iso-8859-15):
444 (iso-8859-16): 990 (iso-8859-16):
445 (iso-8859-9): 991 (iso-8859-9):
446 (macintosh): 992 (macintosh):
447 (windows-1252): 993 (windows-1252):
448 * mule/hebrew.el (iso-8859-8): 994 * mule/hebrew.el (iso-8859-8):
449 * mule/greek.el (iso-8859-7): 995 * mule/greek.el (iso-8859-7):
450 (windows-1253): 996 (windows-1253):
451 * mule/cyrillic.el (iso-8859-5): 997 * mule/cyrillic.el (iso-8859-5):
452 (koi8-r): 998 (koi8-r):
453 (koi8-u): 999 (koi8-u):
454 (windows-1251): 1000 (windows-1251):
455 (alternativnyj): 1001 (alternativnyj):
456 (koi8-ru): 1002 (koi8-ru):
457 (koi8-t): 1003 (koi8-t):
458 (koi8-c): 1004 (koi8-c):
459 (koi8-o): 1005 (koi8-o):
460 * mule/arabic.el (iso-8859-6): 1006 * mule/arabic.el (iso-8859-6):
461 (windows-1256): 1007 (windows-1256):
462 Move all these coding systems to being of type fixed-width, not of 1008 Move all these coding systems to being of type fixed-width, not of
463 type CCL. This allows the distinct query-coding-region for them to 1009 type CCL. This allows the distinct query-coding-region for them to
464 be in C, something which will eventually allow us to implement 1010 be in C, something which will eventually allow us to implement
465 query-coding-region for the mswindows-multibyte coding systems. 1011 query-coding-region for the mswindows-multibyte coding systems.
466 * mule/general-late.el (posix-charset-to-coding-system-hash): 1012 * mule/general-late.el (posix-charset-to-coding-system-hash):
467 Document why we're pre-emptively persuading the byte compiler that 1013 Document why we're pre-emptively persuading the byte compiler that
468 the ELC for this file needs to be written using escape-quoted. 1014 the ELC for this file needs to be written using escape-quoted.
469 Call #'set-unicode-query-skip-chars-args, now the Unicode 1015 Call #'set-unicode-query-skip-chars-args, now the Unicode
470 query-coding-region implementation is in C. 1016 query-coding-region implementation is in C.
471 * mule/thai-xtis.el (tis-620): 1017 * mule/thai-xtis.el (tis-620):
472 Don't bother checking whether we're XEmacs or not here. 1018 Don't bother checking whether we're XEmacs or not here.
473 * mule/mule-coding.el: 1019 * mule/mule-coding.el:
474 Move the eight bit fixed-width functionality from this file to 1020 Move the eight bit fixed-width functionality from this file to
475 make-coding-system.el. 1021 make-coding-system.el.
476 1022
477 2009-09-14 Michael Sperber <mike@xemacs.org> 1023 2009-09-14 Michael Sperber <mike@xemacs.org>
478 1024
483 2009-09-06 Aidan Kehoe <kehoea@parhasard.net> 1029 2009-09-06 Aidan Kehoe <kehoea@parhasard.net>
484 1030
485 * simple.el (handle-pre-motion-command-current-command-is-motion): 1031 * simple.el (handle-pre-motion-command-current-command-is-motion):
486 If KEY is a character, ascertain that once, not every iteration of 1032 If KEY is a character, ascertain that once, not every iteration of
487 the loop. 1033 the loop.
488 * mule/mule-cmds.el (finish-set-language-environment): 1034 * mule/mule-cmds.el (finish-set-language-environment):
489 Don't call #'string-match on a one-character string, use functions 1035 Don't call #'string-match on a one-character string, use functions
490 that have bytecodes instead, since this is called so often on 1036 that have bytecodes instead, since this is called so often on
491 startup. 1037 startup.
492 1038
493 2009-08-31 Aidan Kehoe <kehoea@parhasard.net> 1039 2009-08-31 Aidan Kehoe <kehoea@parhasard.net>
494 1040
495 * byte-optimize.el (byte-optimize-form-code-walker): 1041 * byte-optimize.el (byte-optimize-form-code-walker):
496 Be careful about discarding multiple values when optimising 1042 Be careful about discarding multiple values when optimising
497 #'prog1 calls. 1043 #'prog1 calls.
498 (byte-optimize-or): 1044 (byte-optimize-or):
499 Preserve any trailing nil, as this is a supported way to 1045 Preserve any trailing nil, as this is a supported way to
500 explicitly discard multiple values. 1046 explicitly discard multiple values.
501 (byte-optimize-cond-1): 1047 (byte-optimize-cond-1):
502 Discard multiple values with a singleton followed by no more 1048 Discard multiple values with a singleton followed by no more
503 clauses. 1049 clauses.
504 * bytecomp.el (progn): 1050 * bytecomp.el (progn):
505 (prog1): 1051 (prog1):
506 (prog2): 1052 (prog2):
507 Be careful about discarding multiple values in the byte-hunk 1053 Be careful about discarding multiple values in the byte-hunk
508 handler of these three forms. 1054 handler of these three forms.
509 * bytecomp.el (byte-compile-prog1, byte-compile-prog2): 1055 * bytecomp.el (byte-compile-prog1, byte-compile-prog2):
510 Don't call #'values explicitly, use `(or ,(pop form) nil) instead, 1056 Don't call #'values explicitly, use `(or ,(pop form) nil) instead,
511 since that compiles to bytecode, not a funcall. 1057 since that compiles to bytecode, not a funcall.
512 * bytecomp.el (byte-compile-values): 1058 * bytecomp.el (byte-compile-values):
513 With one non-const argument, byte-compile to `(or ,(second form) 1059 With one non-const argument, byte-compile to `(or ,(second form)
514 nil), not an explicit #'values call. 1060 nil), not an explicit #'values call.
515 * bytecomp.el (byte-compile-insert-header): 1061 * bytecomp.el (byte-compile-insert-header):
516 Be nicer in the error message to emacs versions that don't 1062 Be nicer in the error message to emacs versions that don't
517 understand our bytecode. 1063 understand our bytecode.
518 1064
519 2009-08-27 Aidan Kehoe <kehoea@parhasard.net> 1065 2009-08-27 Aidan Kehoe <kehoea@parhasard.net>
520 1066
521 * cl.el (bytecomp-load-hook): New. 1067 * cl.el (bytecomp-load-hook): New.
522 * bytecomp.el (bytecomp-load-hook): Use id. 1068 * bytecomp.el (bytecomp-load-hook): Use id.
523 Merge Dave Love's 2000-02-02 GNU (GPLv2) change, forcing the 1069 Merge Dave Love's 2000-02-02 GNU (GPLv2) change, forcing the
524 byte-compiler to be more consistent about loading cl-macs at 1070 byte-compiler to be more consistent about loading cl-macs at
525 compile time. 1071 compile time.
526 1072
527 2009-08-19 Malcolm Purvis <malcolmp@xemacs.org> 1073 2009-08-19 Malcolm Purvis <malcolmp@xemacs.org>
528 1074
529 * simple.el: 1075 * simple.el:
530 * simple.el (turn-off-auto-fill): Sync from FSF 21.4. 1076 * simple.el (turn-off-auto-fill): Sync from FSF 21.4.
535 Replace mapc + #'(lambda ...) with dolist, eliminating 781 1081 Replace mapc + #'(lambda ...) with dolist, eliminating 781
536 funcalls at XEmacs startup and decreasing GC a little. 1082 funcalls at XEmacs startup and decreasing GC a little.
537 1083
538 2009-08-16 Aidan Kehoe <kehoea@parhasard.net> 1084 2009-08-16 Aidan Kehoe <kehoea@parhasard.net>
539 1085
540 * faces.el (xpm-color-symbols): 1086 * faces.el (xpm-color-symbols):
541 Call (featurep 'x) when faces.elc is dumped, not repeatedly 1087 Call (featurep 'x) when faces.elc is dumped, not repeatedly
542 (myriad times) at image instantiation time. 1088 (myriad times) at image instantiation time.
543 1089
544 2009-08-15 It's me FKtPp ;) <m_pupil@yahoo.com.cn> 1090 2009-08-15 It's me FKtPp ;) <m_pupil@yahoo.com.cn>
545 1091
546 * gnuserv.el (gnuserv-edit-files): Don't run goto line if the 1092 * gnuserv.el (gnuserv-edit-files): Don't run goto line if the
547 gnuclient request to open a file only (a linenumber of nil). 1093 gnuclient request to open a file only (a linenumber of nil).
548 1094
549 2009-08-14 Aidan Kehoe <kehoea@parhasard.net> 1095 2009-08-14 Aidan Kehoe <kehoea@parhasard.net>
550 1096
551 * minibuf.el (read-from-minibuffer): 1097 * minibuf.el (read-from-minibuffer):
552 Use buffer (format " *Minibuf-%d*" (minibuffer-depth)), regardless 1098 Use buffer (format " *Minibuf-%d*" (minibuffer-depth)), regardless
553 of depth. 1099 of depth.
554 1100
555 2009-08-11 Aidan Kehoe <kehoea@parhasard.net> 1101 2009-08-11 Aidan Kehoe <kehoea@parhasard.net>
556 1102
557 * cl-extra.el (ceiling*, floor*, round*, truncate*): 1103 * cl-extra.el (ceiling*, floor*, round*, truncate*):
558 Implement these in terms of the C functions; mark them as 1104 Implement these in terms of the C functions; mark them as
559 obsolete. 1105 obsolete.
560 (mod*, rem*): Use #'nth-value with the C functions, not #'nth with 1106 (mod*, rem*): Use #'nth-value with the C functions, not #'nth with
561 the CL emulation functions. 1107 the CL emulation functions.
562 1108
563 2009-08-11 Aidan Kehoe <kehoea@parhasard.net> 1109 2009-08-11 Aidan Kehoe <kehoea@parhasard.net>
564 1110
565 * bytecomp.el : 1111 * bytecomp.el :
566 Update this file to support full C-level multiple values. This 1112 Update this file to support full C-level multiple values. This
567 involves: 1113 involves:
568 -- Four new bytecodes, and special compiler functions to compile 1114 -- Four new bytecodes, and special compiler functions to compile
569 multiple-value-call, multiple-value-list-internal, values, 1115 multiple-value-call, multiple-value-list-internal, values,
570 values-list, and, since it now needs to pass back multiple values 1116 values-list, and, since it now needs to pass back multiple values
571 and is a special form, throw. 1117 and is a special form, throw.
572 -- There's a new compiler variable, byte-compile-checks-on-load, 1118 -- There's a new compiler variable, byte-compile-checks-on-load,
573 which is a list of forms that are evaluated at the very start of a 1119 which is a list of forms that are evaluated at the very start of a
574 file, with an error thrown if any of them give nil. 1120 file, with an error thrown if any of them give nil.
575 -- The header is now inserted *after* compilation, giving a chance 1121 -- The header is now inserted *after* compilation, giving a chance
576 for the compilation process to influence what those checks 1122 for the compilation process to influence what those checks
577 are. There is still a check done before compilation for non-ASCII 1123 are. There is still a check done before compilation for non-ASCII
578 characters, to try to turn off dynamic docstrings if appopriate, 1124 characters, to try to turn off dynamic docstrings if appopriate,
579 in `byte-compile-maybe-reset-coding'. 1125 in `byte-compile-maybe-reset-coding'.
580 Space is reserved for checks; comments describing the version of 1126 Space is reserved for checks; comments describing the version of
581 the byte compiler generating the file are inserted if space 1127 the byte compiler generating the file are inserted if space
582 remains for them. 1128 remains for them.
583 * bytecomp.el (byte-compile-version): 1129 * bytecomp.el (byte-compile-version):
584 Update this, we're a newer version of the byte compiler. 1130 Update this, we're a newer version of the byte compiler.
585 * byte-optimize.el (byte-optimize-funcall): 1131 * byte-optimize.el (byte-optimize-funcall):
586 Correct a comment. 1132 Correct a comment.
587 * bytecomp.el (byte-compile-lapcode): 1133 * bytecomp.el (byte-compile-lapcode):
588 Discard the arg with byte-multiple-value-call. 1134 Discard the arg with byte-multiple-value-call.
589 * bytecomp.el (byte-compile-checks-and-comments-space): 1135 * bytecomp.el (byte-compile-checks-and-comments-space):
590 New variable, describe how many octets to reserve for checks at 1136 New variable, describe how many octets to reserve for checks at
591 the start of byte-compiled files. 1137 the start of byte-compiled files.
592 * cl-compat.el: 1138 * cl-compat.el:
593 Remove the fake multiple-value implementation. Have the functions 1139 Remove the fake multiple-value implementation. Have the functions
594 that use it use the real multiple-value implementation instead. 1140 that use it use the real multiple-value implementation instead.
595 * cl-macs.el (cl-block-wrapper, cl-block-throw): 1141 * cl-macs.el (cl-block-wrapper, cl-block-throw):
596 Revise the byte-compile properties of these symbols to work now 1142 Revise the byte-compile properties of these symbols to work now
597 we've made throw into a special form; keep the byte-compile 1143 we've made throw into a special form; keep the byte-compile
598 properties as anonymous lambdas, since we don't have docstrings 1144 properties as anonymous lambdas, since we don't have docstrings
599 for them. 1145 for them.
600 * cl-macs.el (multiple-value-bind, multiple-value-setq) 1146 * cl-macs.el (multiple-value-bind, multiple-value-setq)
601 (multiple-value-list, nth-value): 1147 (multiple-value-list, nth-value):
602 Update these functions to work with the C support for multiple 1148 Update these functions to work with the C support for multiple
603 values. 1149 values.
604 * cl-macs.el (values): 1150 * cl-macs.el (values):
605 Modify the setf handler for this to call 1151 Modify the setf handler for this to call
606 #'multiple-value-list-internal appropriately. 1152 #'multiple-value-list-internal appropriately.
607 * cl-macs.el (cl-setf-do-store): 1153 * cl-macs.el (cl-setf-do-store):
608 If the store form is a cons, treat it specially as wrapping the 1154 If the store form is a cons, treat it specially as wrapping the
609 store value. 1155 store value.
610 * cl.el (cl-block-wrapper): 1156 * cl.el (cl-block-wrapper):
611 Make this an alias of #'and, not #'identity, since it needs to 1157 Make this an alias of #'and, not #'identity, since it needs to
612 pass back multiple values. 1158 pass back multiple values.
613 * cl.el (multiple-value-apply): 1159 * cl.el (multiple-value-apply):
614 We no longer support this, mark it obsolete. 1160 We no longer support this, mark it obsolete.
615 * lisp-mode.el (eval-interactive-verbose): 1161 * lisp-mode.el (eval-interactive-verbose):
616 Remove a useless space in the docstring. 1162 Remove a useless space in the docstring.
617 * lisp-mode.el (eval-interactive): 1163 * lisp-mode.el (eval-interactive):
618 Update this function and its docstring. It now passes back a list, 1164 Update this function and its docstring. It now passes back a list,
619 basically wrapping any eval calls with multiple-value-list. This 1165 basically wrapping any eval calls with multiple-value-list. This
620 allows multiple values to be printed by default in *scratch*. 1166 allows multiple values to be printed by default in *scratch*.
621 * lisp-mode.el (prin1-list-as-multiple-values): 1167 * lisp-mode.el (prin1-list-as-multiple-values):
622 New function, printing a list as multiple values in the manner of 1168 New function, printing a list as multiple values in the manner of
623 Bruno Haible's clisp, separating each entry with " ;\n". 1169 Bruno Haible's clisp, separating each entry with " ;\n".
624 * lisp-mode.el (eval-last-sexp): 1170 * lisp-mode.el (eval-last-sexp):
625 Call #'prin1-list-as-multiple-values on the return value of 1171 Call #'prin1-list-as-multiple-values on the return value of
626 #'eval-interactive. 1172 #'eval-interactive.
627 * lisp-mode.el (eval-defun): 1173 * lisp-mode.el (eval-defun):
628 Call #'prin1-list-as-multiple-values on the return value of 1174 Call #'prin1-list-as-multiple-values on the return value of
629 #'eval-interactive. 1175 #'eval-interactive.
630 * mouse.el (mouse-eval-sexp): 1176 * mouse.el (mouse-eval-sexp):
631 Deal with lists corresponding to multiple values from 1177 Deal with lists corresponding to multiple values from
632 #'eval-interactive. Call #'cl-prettyprint, which is always 1178 #'eval-interactive. Call #'cl-prettyprint, which is always
633 available, instead of sometimes calling #'pprint and sometimes 1179 available, instead of sometimes calling #'pprint and sometimes
634 falling back to prin1. 1180 falling back to prin1.
635 * obsolete.el (obsolete-throw): 1181 * obsolete.el (obsolete-throw):
636 New function, called from eval.c when #'funcall encounters an 1182 New function, called from eval.c when #'funcall encounters an
637 attempt to call #'throw (now a special form) as a function. Only 1183 attempt to call #'throw (now a special form) as a function. Only
638 needed for compatibility with 21.4 byte-code. 1184 needed for compatibility with 21.4 byte-code.
639 1185
640 2009-08-10 Aidan Kehoe <kehoea@parhasard.net> 1186 2009-08-10 Aidan Kehoe <kehoea@parhasard.net>
641 1187
642 * help.el (function-arglist, function-documentation): 1188 * help.el (function-arglist, function-documentation):
643 Deal more gracefully with tabs in the function arglist; in 1189 Deal more gracefully with tabs in the function arglist; in
644 function-documentation, when stripping the arglist, pay attention 1190 function-documentation, when stripping the arglist, pay attention
645 to the fact that they may span multiple lines. 1191 to the fact that they may span multiple lines.
646 1192
647 2009-08-09 Aidan Kehoe <kehoea@parhasard.net> 1193 2009-08-09 Aidan Kehoe <kehoea@parhasard.net>
648 1194
649 * faces.el (set-face-background-pixmap-file): 1195 * faces.el (set-face-background-pixmap-file):
650 Remove some extra parentheses revealed by change set 7757334005ae. 1196 Remove some extra parentheses revealed by change set 7757334005ae.
651 1197
652 2009-08-07 Mike Sperber <mike@xemacs.org> 1198 2009-08-07 Mike Sperber <mike@xemacs.org>
653 1199
654 * window-xemacs.el (set-window-configuration): Add optional 1200 * window-xemacs.el (set-window-configuration): Add optional
672 * startup.el (startup-setup-paths): Print a few more variables 1218 * startup.el (startup-setup-paths): Print a few more variables
673 upon --debug-paths. 1219 upon --debug-paths.
674 1220
675 2009-07-18 Aidan Kehoe <kehoea@parhasard.net> 1221 2009-07-18 Aidan Kehoe <kehoea@parhasard.net>
676 1222
677 * files.el (find-file-create-switch-thunk): 1223 * files.el (find-file-create-switch-thunk):
678 Check that #'buffer-file-name gives non-nil before trying to 1224 Check that #'buffer-file-name gives non-nil before trying to
679 determine whether that file exists; avoids problems in 1225 determine whether that file exists; avoids problems in
680 dired. Thank you Mats Lidell! 1226 dired. Thank you Mats Lidell!
681 1227
682 2009-07-13 Aidan Kehoe <kehoea@parhasard.net> 1228 2009-07-13 Aidan Kehoe <kehoea@parhasard.net>
683 1229
684 * code-files.el (insert-file-contents): 1230 * code-files.el (insert-file-contents):
685 Set the buffer coding system even on error; especially important 1231 Set the buffer coding system even on error; especially important
686 when dealing with nonexistent files. 1232 when dealing with nonexistent files.
687 If the `coding-system' property of an undecided coding system is 1233 If the `coding-system' property of an undecided coding system is
688 itself undecided, don't use that as a value for 1234 itself undecided, don't use that as a value for
689 buffer-file-coding-system. 1235 buffer-file-coding-system.
690 1236
691 2009-07-12 Aidan Kehoe <kehoea@parhasard.net> 1237 2009-07-12 Aidan Kehoe <kehoea@parhasard.net>
692 1238
693 * files.el (after-find-file): 1239 * files.el (after-find-file):
694 If the answer to "The directory containing %s does not exist. 1240 If the answer to "The directory containing %s does not exist.
695 Create?" is no, kill the current buffer, since the user probably 1241 Create?" is no, kill the current buffer, since the user probably
696 just misspelled the directory name. Thank you Rodney Sparapani! 1242 just misspelled the directory name. Thank you Rodney Sparapani!
697 1243
698 2009-07-12 Aidan Kehoe <kehoea@parhasard.net> 1244 2009-07-12 Aidan Kehoe <kehoea@parhasard.net>
699 1245
700 * files.el (find-file-create-switch-thunk): 1246 * files.el (find-file-create-switch-thunk):
701 New macro, used to mark buffers created within #'find-file (and 1247 New macro, used to mark buffers created within #'find-file (and
702 related) modified if the associated file doesn't exist. 1248 related) modified if the associated file doesn't exist.
703 (find-alternate-file-other-window): 1249 (find-alternate-file-other-window):
704 Correct this, pass CODESYS to find-file-other-window. 1250 Correct this, pass CODESYS to find-file-other-window.
705 (find-file-read-only): 1251 (find-file-read-only):
706 Correct behaviour of this function in the presence of wildcards. 1252 Correct behaviour of this function in the presence of wildcards.
707 (find-file): 1253 (find-file):
708 (find-file-other-window): 1254 (find-file-other-window):
709 (find-file-other-frame): 1255 (find-file-other-frame):
710 (find-file-read-only-other-window): 1256 (find-file-read-only-other-window):
711 (find-file-read-only-other-frame): 1257 (find-file-read-only-other-frame):
712 (find-alternate-file): 1258 (find-alternate-file):
713 Simplify these functions, use #'find-file-create-switch-thunk' 1259 Simplify these functions, use #'find-file-create-switch-thunk'
714 instead of explicit #'switch-to-buffer calls. 1260 instead of explicit #'switch-to-buffer calls.
715 1261
716 2009-07-11 Aidan Kehoe <kehoea@parhasard.net> 1262 2009-07-11 Aidan Kehoe <kehoea@parhasard.net>
717 1263
718 * code-files.el (insert-file-contents): 1264 * code-files.el (insert-file-contents):
719 Take advantage of more sensible behaviour from 1265 Take advantage of more sensible behaviour from
720 #'insert-file-contents-internal, allowing us to actually follow 1266 #'insert-file-contents-internal, allowing us to actually follow
721 the documented coding system behaviour for nonexistent files (that 1267 the documented coding system behaviour for nonexistent files (that
722 is, buffer-file-coding-system reflects coding-system-for-read &c., 1268 is, buffer-file-coding-system reflects coding-system-for-read &c.,
723 not becoming undecided for either zero-length or nonexistent 1269 not becoming undecided for either zero-length or nonexistent
727 * files.el (cd): Do not #'split-path on nil #'getenv result; Make 1273 * files.el (cd): Do not #'split-path on nil #'getenv result; Make
728 sure the cd-path value is a list. 1274 sure the cd-path value is a list.
729 1275
730 2009-06-14 Aidan Kehoe <kehoea@parhasard.net> 1276 2009-06-14 Aidan Kehoe <kehoea@parhasard.net>
731 1277
732 * help.el (describe-function-1): 1278 * help.el (describe-function-1):
733 Check macro-p, not macrop, when describing whether a symbol has an 1279 Check macro-p, not macrop, when describing whether a symbol has an
734 associated macro or an associated function. Relevant with 1280 associated macro or an associated function. Relevant with
735 autoloaded macros. 1281 autoloaded macros.
736 (function-arglist): 1282 (function-arglist):
737 Accept multi-line arglists in built-in functions, as found in 1283 Accept multi-line arglists in built-in functions, as found in
738 #'write-region-internal. #'dontusethis-set-symbol-value-handler 1284 #'write-region-internal. #'dontusethis-set-symbol-value-handler
739 is still broken for other reasons. 1285 is still broken for other reasons.
740 1286
741 2009-06-07 Aidan Kehoe <kehoea@parhasard.net> 1287 2009-06-07 Aidan Kehoe <kehoea@parhasard.net>
742 1288
743 * code-files.el (insert-file-contents): 1289 * code-files.el (insert-file-contents):
744 Autodetection may return undecided as a coding system. If the file 1290 Autodetection may return undecided as a coding system. If the file
745 was zero-length, this is kosher, and we should set 1291 was zero-length, this is kosher, and we should set
746 buffer-file-coding-system to its default; if it is not 1292 buffer-file-coding-system to its default; if it is not
747 zero-length, we still need to set b-f-c-s, but we warn that the 1293 zero-length, we still need to set b-f-c-s, but we warn that the
748 autodetection fails. (Ignoring that for the user, autodetection 1294 autodetection fails. (Ignoring that for the user, autodetection
749 failing is something very distinct from what we use it to mean 1295 failing is something very distinct from what we use it to mean
750 here.) See 1296 here.) See
751 http://mid.gmane.org/18986.53111.800393.660612@parhasard.net and 1297 http://mid.gmane.org/18986.53111.800393.660612@parhasard.net and
752 the related thread. 1298 the related thread.
753 1299
754 2009-06-06 Aidan Kehoe <kehoea@parhasard.net> 1300 2009-06-06 Aidan Kehoe <kehoea@parhasard.net>
755 1301
756 * files.el (cd): 1302 * files.el (cd):
757 Make CDPATH handling portable, accept entries without trailing 1303 Make CDPATH handling portable, accept entries without trailing
758 slashes within it. Some style corrections from Stephen Turnbull, 1304 slashes within it. Some style corrections from Stephen Turnbull,
759 thank you Stephen. 1305 thank you Stephen.
760 1306
761 2009-05-29 Aidan Kehoe <kehoea@parhasard.net> 1307 2009-05-29 Aidan Kehoe <kehoea@parhasard.net>
762 1308
763 * bytecomp.el (byte-compile-lambda): 1309 * bytecomp.el (byte-compile-lambda):
764 Even if we are going to store uncompiled interactive forms in the 1310 Even if we are going to store uncompiled interactive forms in the
765 compiled-function object, byte compile (and discard) the code, for 1311 compiled-function object, byte compile (and discard) the code, for
766 the sake of the warnings generated. 1312 the sake of the warnings generated.
767 1313
768 2009-05-18 Stephen J. Turnbull <stephen@xemacs.org> 1314 2009-05-18 Stephen J. Turnbull <stephen@xemacs.org>
769 1315
770 * XEmacs 21.5.29 "garbanzo" is released. 1316 * XEmacs 21.5.29 "garbanzo" is released.
771 1317
785 * cus-edit.el (custom-face-prompt): Fix typo and improve 1331 * cus-edit.el (custom-face-prompt): Fix typo and improve
786 readability in comment. 1332 readability in comment.
787 1333
788 2009-03-01 Aidan Kehoe <kehoea@parhasard.net> 1334 2009-03-01 Aidan Kehoe <kehoea@parhasard.net>
789 1335
790 * x-compose.el: 1336 * x-compose.el:
791 Document an XIM bug, and how one might work around it. 1337 Document an XIM bug, and how one might work around it.
792 (define-compose-map): 1338 (define-compose-map):
793 Revise this macro, call it with compose-caron-map, 1339 Revise this macro, call it with compose-caron-map,
794 compose-macron-map, compose-breve-map, compose-dot-map, 1340 compose-macron-map, compose-breve-map, compose-dot-map,
795 compose-doubleacute-map, compose-ogonek-map, compose-hook-map, 1341 compose-doubleacute-map, compose-ogonek-map, compose-hook-map,
796 compose-horn-map as well as the previous existing maps. 1342 compose-horn-map as well as the previous existing maps.
797 (compose-map): 1343 (compose-map):
798 Add entries for caron, macron, doubleacute, ogonek, breve and 1344 Add entries for caron, macron, doubleacute, ogonek, breve and
799 abovedot to this map. 1345 abovedot to this map.
800 Add an assert, this code assumes that a non-Mule build has no 1346 Add an assert, this code assumes that a non-Mule build has no
801 character codes above U+00FF. 1347 character codes above U+00FF.
802 Incorporate all the precomposed Latin characters in 1348 Incorporate all the precomposed Latin characters in
803 UnicodeData.txt that we can into the maps, deciding at runtime on 1349 UnicodeData.txt that we can into the maps, deciding at runtime on
804 which exactly depending on whether this is a non-Mule or a Mule 1350 which exactly depending on whether this is a non-Mule or a Mule
805 build. 1351 build.
806 Remove a commented-out old X11 bug workaround. 1352 Remove a commented-out old X11 bug workaround.
807 Use #'flet instead of defun + unintern for 1353 Use #'flet instead of defun + unintern for
808 #'alias-colon-to-doublequote. 1354 #'alias-colon-to-doublequote.
809 Correct #'electric-diacritic to work with the keyboard macro 1355 Correct #'electric-diacritic to work with the keyboard macro
810 versions of the maps. 1356 versions of the maps.
811 (compose-help): 1357 (compose-help):
812 This has been turned off since 1994; no-one appears to have 1358 This has been turned off since 1994; no-one appears to have
813 noticed, since the normal help mechanism offers similar 1359 noticed, since the normal help mechanism offers similar
814 functionality and is actually maintained. Removed entirely. 1360 functionality and is actually maintained. Removed entirely.
815 Remove a superflous setting of a default value for ctl-arrow. 1361 Remove a superflous setting of a default value for ctl-arrow.
816 * x-init.el (x-initialize-compose): 1362 * x-init.el (x-initialize-compose):
817 Support the new dead key maps we just added to x-compose.el with 1363 Support the new dead key maps we just added to x-compose.el with
818 autoloads here. 1364 autoloads here.
819 1365
820 2009-02-22 Aidan Kehoe <kehoea@parhasard.net> 1366 2009-02-22 Aidan Kehoe <kehoea@parhasard.net>
821 1367
822 * bytecomp.el (byte-compile-force-escape-quoted): New variable, 1368 * bytecomp.el (byte-compile-force-escape-quoted): New variable,
823 used to force `byte-compile-insert-header' to treat the output as 1369 used to force `byte-compile-insert-header' to treat the output as
824 having characters above ?\xFF. 1370 having characters above ?\xFF.
825 (byte-compile-from-buffer): 1371 (byte-compile-from-buffer):
826 If the compiled output contains characters above ?\xFF, and 1372 If the compiled output contains characters above ?\xFF, and
827 byte-compile-dynamic-docstrings or byte-compile-dynamic is non-nil 1373 byte-compile-dynamic-docstrings or byte-compile-dynamic is non-nil
828 (or we're using an inappropriate coding system) recompile the 1374 (or we're using an inappropriate coding system) recompile the
829 file, turning off the dynamic features and using a more 1375 file, turning off the dynamic features and using a more
830 appropriate header. 1376 appropriate header.
831 (byte-compile-insert-header): Pay attention to 1377 (byte-compile-insert-header): Pay attention to
832 byte-compile-force-escape-quoted. 1378 byte-compile-force-escape-quoted.
833 1379
834 2009-02-18 Aidan Kehoe <kehoea@parhasard.net> 1380 2009-02-18 Aidan Kehoe <kehoea@parhasard.net>
835 1381
836 * coding.el (check-coding-systems-region): 1382 * coding.el (check-coding-systems-region):
837 Return null on success, not t. See 1383 Return null on success, not t. See
838 http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1723 1384 http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1723
839 1385
840 2009-02-17 Aidan Kehoe <kehoea@parhasard.net> 1386 2009-02-17 Aidan Kehoe <kehoea@parhasard.net>
841 1387
842 * mule/mule-cmds.el (finish-set-language-environment): 1388 * mule/mule-cmds.el (finish-set-language-environment):
843 Correct this function, don't try to format non-control characters 1389 Correct this function, don't try to format non-control characters
844 with ^ followed by their value plus (char-int ?@). 1390 with ^ followed by their value plus (char-int ?@).
845 1391
846 2009-02-17 Aidan Kehoe <kehoea@parhasard.net> 1392 2009-02-17 Aidan Kehoe <kehoea@parhasard.net>
847 1393
848 * unicode.el (unicode-query-coding-region): 1394 * unicode.el (unicode-query-coding-region):
849 Avoid eval-when-compile where that gives incorrect results when 1395 Avoid eval-when-compile where that gives incorrect results when
850 compiled on a non-Mule XEmacs but run on a Mule XEmacs. Fixes 1396 compiled on a non-Mule XEmacs but run on a Mule XEmacs. Fixes
851 problems seen by 1397 problems seen by
852 20a807210902131835o2f25930apaffabb6b62a95e5f@mail.gmail.com , 1398 20a807210902131835o2f25930apaffabb6b62a95e5f@mail.gmail.com ,
853 thank you Vin! 1399 thank you Vin!
854 (An equivalent way to get the efficiency of the eval-when-compile 1400 (An equivalent way to get the efficiency of the eval-when-compile
855 would be to provide two defvars, evaluated at dump time, but this 1401 would be to provide two defvars, evaluated at dump time, but this
856 code will be in C soon enough, and we can use the relevant 1402 code will be in C soon enough, and we can use the relevant
857 preprocessor constants there.) 1403 preprocessor constants there.)
858 1404
859 2009-02-02 Aidan Kehoe <kehoea@parhasard.net> 1405 2009-02-02 Aidan Kehoe <kehoea@parhasard.net>
860 1406
861 * descr-text.el (describe-char-unicodedata-file): 1407 * descr-text.el (describe-char-unicodedata-file):
862 Back out Stephen's change of 2009-01-01, 16c9098dd3d2; do a 1408 Back out Stephen's change of 2009-01-01, 16c9098dd3d2; do a
863 Mercurial merge, add this ChangeLog entry. 1409 Mercurial merge, add this ChangeLog entry.
864 See also http://mid.gmane.org/8763jbsyr7.fsf@xemacs.org . 1410 See also http://mid.gmane.org/8763jbsyr7.fsf@xemacs.org .
865 1411
866 2009-02-02 Aidan Kehoe <kehoea@parhasard.net> 1412 2009-02-02 Aidan Kehoe <kehoea@parhasard.net>
867 1413
868 * mule/latin.el (macintosh): 1414 * mule/latin.el (macintosh):
869 Add GNU Emacs' name for this coding system as an alias. 1415 Add GNU Emacs' name for this coding system as an alias.
870 1416
871 2009-02-13 Aidan Kehoe <kehoea@parhasard.net> 1417 2009-02-13 Aidan Kehoe <kehoea@parhasard.net>
872 1418
873 * mule/mule-cmds.el (init-mule-at-startup): 1419 * mule/mule-cmds.el (init-mule-at-startup):
874 Actually use leim-list-file-name, don't load a hardcoded 1420 Actually use leim-list-file-name, don't load a hardcoded
875 leim-list.el in this function. 1421 leim-list.el in this function.
876 1422
877 2009-02-11 Aidan Kehoe <kehoea@parhasard.net> 1423 2009-02-11 Aidan Kehoe <kehoea@parhasard.net>
878 1424
879 * coding.el (query-coding-string): 1425 * coding.el (query-coding-string):
880 Correct the order of arguments passed to #'query-coding-region. 1426 Correct the order of arguments passed to #'query-coding-region.
881 (unencodable-char-position): 1427 (unencodable-char-position):
882 Handle string offsets correctly, they're one less than buffer 1428 Handle string offsets correctly, they're one less than buffer
883 offsets. Handle START and END correctly if passed a string. 1429 offsets. Handle START and END correctly if passed a string.
884 1430
885 2009-02-08 Aidan Kehoe <kehoea@parhasard.net> 1431 2009-02-08 Aidan Kehoe <kehoea@parhasard.net>
886 1432
887 * cl-macs.el (delete-duplicates): 1433 * cl-macs.el (delete-duplicates):
888 Add a new compiler macro, inlining this function if it's called 1434 Add a new compiler macro, inlining this function if it's called
889 with a literal #'eq or #'equal test arguments and no other 1435 with a literal #'eq or #'equal test arguments and no other
890 keywords. 1436 keywords.
891 * font-lock.el (font-lock-unique): 1437 * font-lock.el (font-lock-unique):
892 Remove this function. 1438 Remove this function.
893 * font-lock.el (font-lock-prepend-text-property): 1439 * font-lock.el (font-lock-prepend-text-property):
894 (font-lock-append-text-property): 1440 (font-lock-append-text-property):
895 Use #'delete-duplicates instead of #'font-lock-unique. 1441 Use #'delete-duplicates instead of #'font-lock-unique.
896 * font.el (font-unique): 1442 * font.el (font-unique):
897 Remove this function. 1443 Remove this function.
898 * font.el (font-combine-fonts-internal): 1444 * font.el (font-combine-fonts-internal):
899 (x-font-families-for-device): 1445 (x-font-families-for-device):
900 (xft-font-families-for-device): 1446 (xft-font-families-for-device):
901 (ns-font-families-for-device): 1447 (ns-font-families-for-device):
902 Use #'delete-duplicates instead of #'font-unique. 1448 Use #'delete-duplicates instead of #'font-unique.
903 * fontconfig.el (fc-delete-duplicates): 1449 * fontconfig.el (fc-delete-duplicates):
904 * fontconfig.el (fc-filter): 1450 * fontconfig.el (fc-filter):
905 Remove these functions. 1451 Remove these functions.
906 * fontconfig.el (fc-find-available-font-families): 1452 * fontconfig.el (fc-find-available-font-families):
907 Replace #'fc-delete-duplicates with #'delete-duplicates, 1453 Replace #'fc-delete-duplicates with #'delete-duplicates,
908 #'fc-filter with #'delete-if-not. 1454 #'fc-filter with #'delete-if-not.
909 * format.el (format-make-relatively-unique): 1455 * format.el (format-make-relatively-unique):
910 Document that this is equivalent to #'nset-exclusive-or with a 1456 Document that this is equivalent to #'nset-exclusive-or with a
911 test of #'equal. 1457 test of #'equal.
912 1458
913 2009-02-07 Aidan Kehoe <kehoea@parhasard.net> 1459 2009-02-07 Aidan Kehoe <kehoea@parhasard.net>
914 1460
915 * descr-text.el (describe-text-sexp): 1461 * descr-text.el (describe-text-sexp):
916 pp is in packages, use cl-prettyprint instead. 1462 pp is in packages, use cl-prettyprint instead.
917 * mule/mule-coding.el (make-8-bit-generate-helper): 1463 * mule/mule-coding.el (make-8-bit-generate-helper):
918 Don't uselessly bind args-out-of-range, thank you the byte 1464 Don't uselessly bind args-out-of-range, thank you the byte
919 compiler. 1465 compiler.
920 * mule/mule-coding.el (8-bit-fixed-query-coding-region): 1466 * mule/mule-coding.el (8-bit-fixed-query-coding-region):
921 Don't uselessly bind previous-fail, thank you the byte compiler. 1467 Don't uselessly bind previous-fail, thank you the byte compiler.
922 * tty-init.el (make-device-early-tty-entry-point): 1468 * tty-init.el (make-device-early-tty-entry-point):
923 Set make-device-early-tty-entry-point-called-p, not 1469 Set make-device-early-tty-entry-point-called-p, not
924 pre-tty-win-initted, thank you the byte compiler. 1470 pre-tty-win-initted, thank you the byte compiler.
925 * unicode.el (unicode-query-coding-region): 1471 * unicode.el (unicode-query-coding-region):
926 Don't uselessly bind invalid-sequence-p, thank you the 1472 Don't uselessly bind invalid-sequence-p, thank you the
927 byte-compiler. 1473 byte-compiler.
928 1474
929 2009-02-07 Aidan Kehoe <kehoea@parhasard.net> 1475 2009-02-07 Aidan Kehoe <kehoea@parhasard.net>
930 1476
931 * coding.el (query-coding-clear-highlights): 1477 * coding.el (query-coding-clear-highlights):
932 Rename the BUFFER argument to BUFFER-OR-STRING, describe it as 1478 Rename the BUFFER argument to BUFFER-OR-STRING, describe it as
933 possibly being a string in its documentation. 1479 possibly being a string in its documentation.
934 (default-query-coding-region): 1480 (default-query-coding-region):
935 Add a new IGNORE-INVALID-SEQUENCESP argument, document that this 1481 Add a new IGNORE-INVALID-SEQUENCESP argument, document that this
936 function does not support it. 1482 function does not support it.
937 Bind case-fold-search to nil, we don't want this to influence what the 1483 Bind case-fold-search to nil, we don't want this to influence what the
938 function thinks is encodable or not. 1484 function thinks is encodable or not.
939 (query-coding-region): 1485 (query-coding-region):
940 Add a new IGNORE-INVALID-SEQUENCESP argument, document what it 1486 Add a new IGNORE-INVALID-SEQUENCESP argument, document what it
941 does; reflect this new argument in the associated compiler macro. 1487 does; reflect this new argument in the associated compiler macro.
942 (query-coding-string): 1488 (query-coding-string):
943 Add a new IGNORE-INVALID-SEQUENCESP argument, document what it 1489 Add a new IGNORE-INVALID-SEQUENCESP argument, document what it
944 does. Support the HIGHLIGHT argument correctly. 1490 does. Support the HIGHLIGHT argument correctly.
945 * unicode.el (unicode-query-coding-region): 1491 * unicode.el (unicode-query-coding-region):
946 Add a new IGNORE-INVALID-SEQUENCESP argument, document what it 1492 Add a new IGNORE-INVALID-SEQUENCESP argument, document what it
947 does, implement this. Document a potential problem. 1493 does, implement this. Document a potential problem.
948 Use #'query-coding-clear-highlights instead of reimplementing it 1494 Use #'query-coding-clear-highlights instead of reimplementing it
949 ourselves. 1495 ourselves.
950 Remove some debugging messages. 1496 Remove some debugging messages.
951 * mule/arabic.el (iso-8859-6): 1497 * mule/arabic.el (iso-8859-6):
952 * mule/cyrillic.el (iso-8859-5): 1498 * mule/cyrillic.el (iso-8859-5):
953 * mule/greek.el (iso-8859-7): 1499 * mule/greek.el (iso-8859-7):
954 * mule/hebrew.el (iso-8859-8): 1500 * mule/hebrew.el (iso-8859-8):
955 * mule/latin.el (iso-8859-2): 1501 * mule/latin.el (iso-8859-2):
956 * mule/latin.el (iso-8859-3): 1502 * mule/latin.el (iso-8859-3):
957 * mule/latin.el (iso-8859-4): 1503 * mule/latin.el (iso-8859-4):
958 * mule/latin.el (iso-8859-14): 1504 * mule/latin.el (iso-8859-14):
959 * mule/latin.el (iso-8859-15): 1505 * mule/latin.el (iso-8859-15):
960 * mule/latin.el (iso-8859-16): 1506 * mule/latin.el (iso-8859-16):
961 * mule/latin.el (iso-8859-9): 1507 * mule/latin.el (iso-8859-9):
962 * mule/latin.el (windows-1252): 1508 * mule/latin.el (windows-1252):
963 * mule/mule-coding.el (iso-8859-1): 1509 * mule/mule-coding.el (iso-8859-1):
964 Avoid the assumption that characters not given an explicit mapping 1510 Avoid the assumption that characters not given an explicit mapping
965 in these coding systems map to the ISO 8859-1 characters 1511 in these coding systems map to the ISO 8859-1 characters
966 corresponding to the octets on disk; this makes it much more 1512 corresponding to the octets on disk; this makes it much more
967 reasonable to implement the IGNORE-INVALID-SEQUENCESP argument to 1513 reasonable to implement the IGNORE-INVALID-SEQUENCESP argument to
968 query-coding-region. 1514 query-coding-region.
969 * mule/mule-cmds.el (set-language-info): 1515 * mule/mule-cmds.el (set-language-info):
970 Correct the docstring. 1516 Correct the docstring.
971 * mule/mule-cmds.el (finish-set-language-environment): 1517 * mule/mule-cmds.el (finish-set-language-environment):
972 Treat invalid Unicode sequences produced from 1518 Treat invalid Unicode sequences produced from
973 invalid-sequence-coding-system and corresponding to control 1519 invalid-sequence-coding-system and corresponding to control
974 characters the same as control characters in redisplay. 1520 characters the same as control characters in redisplay.
975 * mule/mule-cmds.el: 1521 * mule/mule-cmds.el:
976 Document that encode-coding-char is available in coding.el 1522 Document that encode-coding-char is available in coding.el
977 * mule/mule-coding.el (make-8-bit-generate-helper): 1523 * mule/mule-coding.el (make-8-bit-generate-helper):
978 Change to return the both the encode-program generated and the 1524 Change to return the both the encode-program generated and the
979 relevant non-ASCII charset; update the docstring to reflect this. 1525 relevant non-ASCII charset; update the docstring to reflect this.
980 * mule/mule-coding.el 1526 * mule/mule-coding.el
981 (make-8-bit-generate-encode-program-and-skip-chars-strings): 1527 (make-8-bit-generate-encode-program-and-skip-chars-strings):
982 Rename this function; have it return skip-chars-strings as well as 1528 Rename this function; have it return skip-chars-strings as well as
983 the encode program. Have these skip-chars-strings use ranges for 1529 the encode program. Have these skip-chars-strings use ranges for
984 charsets, where possible. 1530 charsets, where possible.
985 * mule/mule-coding.el (make-8-bit-create-decode-encode-tables): 1531 * mule/mule-coding.el (make-8-bit-create-decode-encode-tables):
986 Revise this to allow people to specify explicitly characters that 1532 Revise this to allow people to specify explicitly characters that
987 should be undefined (= corresponding to keys in 1533 should be undefined (= corresponding to keys in
988 unicode-error-default-translation-table), and treating unspecified 1534 unicode-error-default-translation-table), and treating unspecified
989 octets above #x7f as undefined by default. 1535 octets above #x7f as undefined by default.
990 * mule/mule-coding.el (8-bit-fixed-query-coding-region): 1536 * mule/mule-coding.el (8-bit-fixed-query-coding-region):
991 Add a new IGNORE-INVALID-SEQUENCESP argument, implement support 1537 Add a new IGNORE-INVALID-SEQUENCESP argument, implement support
992 for it using the 8-bit-fixed-invalid-sequences-skip-chars coding 1538 for it using the 8-bit-fixed-invalid-sequences-skip-chars coding
993 system property; remove some debugging messages. 1539 system property; remove some debugging messages.
994 * mule/mule-coding.el (make-8-bit-coding-system): 1540 * mule/mule-coding.el (make-8-bit-coding-system):
995 This function is dumped, autoloading it makes no sense. 1541 This function is dumped, autoloading it makes no sense.
996 Document what happens when characters above #x7f are not 1542 Document what happens when characters above #x7f are not
997 specified, implement this. 1543 specified, implement this.
998 * mule/vietnamese.el: 1544 * mule/vietnamese.el:
999 Correct spelling. 1545 Correct spelling.
1000 1546
1001 2009-02-04 Aidan Kehoe <kehoea@parhasard.net> 1547 2009-02-04 Aidan Kehoe <kehoea@parhasard.net>
1002 1548
1003 * help.el: 1549 * help.el:
1004 (describe-function-1): 1550 (describe-function-1):
1005 * byte-optimize.el: 1551 * byte-optimize.el:
1006 Remove any reference to mocklisp as an active technology. 1552 Remove any reference to mocklisp as an active technology.
1007 1553
1008 2009-02-04 Aidan Kehoe <kehoea@parhasard.net> 1554 2009-02-04 Aidan Kehoe <kehoea@parhasard.net>
1009 1555
1010 * mule/latin.el: 1556 * mule/latin.el:
1013 invalid-sequence-coding-system for German and the other iso-8859-1 1559 invalid-sequence-coding-system for German and the other iso-8859-1
1014 language environments. 1560 language environments.
1015 1561
1016 2009-02-04 Aidan Kehoe <kehoea@parhasard.net> 1562 2009-02-04 Aidan Kehoe <kehoea@parhasard.net>
1017 1563
1018 * coding.el (force-coding-system-equivalency): 1564 * coding.el (force-coding-system-equivalency):
1019 Document this macro and the motivation for it. 1565 Document this macro and the motivation for it.
1020 1566
1021 2009-01-15 Aidan Kehoe <kehoea@parhasard.net> 1567 2009-01-15 Aidan Kehoe <kehoea@parhasard.net>
1022 1568
1023 * coding.el (force-coding-system-equivalency): 1569 * coding.el (force-coding-system-equivalency):
1024 Move three functions that we don't want to advertise to being 1570 Move three functions that we don't want to advertise to being
1032 (init-glyphs): Untern this symbol once the associated function has 1578 (init-glyphs): Untern this symbol once the associated function has
1033 been called; it's only needed at dump time, not at runtime. 1579 been called; it's only needed at dump time, not at runtime.
1034 1580
1035 2009-02-04 Aidan Kehoe <kehoea@parhasard.net> 1581 2009-02-04 Aidan Kehoe <kehoea@parhasard.net>
1036 1582
1037 * coding.el (query-coding-region): 1583 * coding.el (query-coding-region):
1038 Revert this to being a defun, add a compiler macro without 1584 Revert this to being a defun, add a compiler macro without
1039 needless binding. 1585 needless binding.
1040 (query-coding-string): 1586 (query-coding-string):
1041 Correct a bug here, string indices are zero- not one-based. 1587 Correct a bug here, string indices are zero- not one-based.
1042 * mule/general-late.el (unicode-query-coding-skip-chars-arg): 1588 * mule/general-late.el (unicode-query-coding-skip-chars-arg):
1043 Correct the algorithm used to initialise this variable. 1589 Correct the algorithm used to initialise this variable.
1044 1590
1045 2009-02-04 Aidan Kehoe <kehoea@parhasard.net> 1591 2009-02-04 Aidan Kehoe <kehoea@parhasard.net>
1046 1592
1047 * help.el (describe-function-1): 1593 * help.el (describe-function-1):
1048 Distinguish between special forms and subrs; don't bind 1594 Distinguish between special forms and subrs; don't bind
1049 autoload-file, #'symbol-file returns it like any other function 1595 autoload-file, #'symbol-file returns it like any other function
1050 file name. 1596 file name.
1051 1597
1052 2009-01-31 Aidan Kehoe <kehoea@parhasard.net> 1598 2009-01-31 Aidan Kehoe <kehoea@parhasard.net>
1053 1599
1054 * mule/mule-cmds.el (finish-set-language-environment): 1600 * mule/mule-cmds.el (finish-set-language-environment):
1055 Treat control characters specially in the 1601 Treat control characters specially in the
1056 invalid-sequence-coding-system handling, display them using the 1602 invalid-sequence-coding-system handling, display them using the
1057 caret notation. 1603 caret notation.
1058 1604
1059 2009-01-31 Aidan Kehoe <kehoea@parhasard.net> 1605 2009-01-31 Aidan Kehoe <kehoea@parhasard.net>
1060 1606
1061 * frame.el (display-graphic-p): 1607 * frame.el (display-graphic-p):
1062 Call #'display-device on the DISPLAY argument, ensuring that the 1608 Call #'display-device on the DISPLAY argument, ensuring that the
1063 argument to #'device-on-window-system-p is correct. 1609 argument to #'device-on-window-system-p is correct.
1064 1610
1065 2009-01-18 Ville Skyttä <scop@xemacs.org> 1611 2009-01-18 Ville Skyttä <scop@xemacs.org>
1066 1612
1069 1615
1070 * modeline.el (modeline-3d-p): Fix docstring copy-pasto. 1616 * modeline.el (modeline-3d-p): Fix docstring copy-pasto.
1071 1617
1072 2009-01-13 Aidan Kehoe <kehoea@parhasard.net> 1618 2009-01-13 Aidan Kehoe <kehoea@parhasard.net>
1073 1619
1074 * mule/mule-cmds.el (set-language-environment-coding-systems): 1620 * mule/mule-cmds.el (set-language-environment-coding-systems):
1075 Fix a cosmetic bug; the relationship between 1621 Fix a cosmetic bug; the relationship between
1076 file-name-coding-system and the file-name coding system alias 1622 file-name-coding-system and the file-name coding system alias
1077 established in coding.el wasn't being maintained. See Katsumi 1623 established in coding.el wasn't being maintained. See Katsumi
1078 Yamaoka's comment in http://mid.gmane.org/b4m4p03bt43.fsf@jpl.org . 1624 Yamaoka's comment in http://mid.gmane.org/b4m4p03bt43.fsf@jpl.org .
1079 1625
1090 * descr-text.el (describe-char-unicodedata-file): 1636 * descr-text.el (describe-char-unicodedata-file):
1091 Nuke build-breaking computation from defcustom initializer. 1637 Nuke build-breaking computation from defcustom initializer.
1092 1638
1093 2008-12-30 Aidan Kehoe <kehoea@parhasard.net> 1639 2008-12-30 Aidan Kehoe <kehoea@parhasard.net>
1094 1640
1095 * make-docfile.el: 1641 * make-docfile.el:
1096 Use absolute source file names when checking if DOC is out of 1642 Use absolute source file names when checking if DOC is out of
1097 date, don't use relative paths that may not be related to the 1643 date, don't use relative paths that may not be related to the
1098 current directory. 1644 current directory.
1099 1645
1100 2008-12-28 Aidan Kehoe <kehoea@parhasard.net> 1646 2008-12-28 Aidan Kehoe <kehoea@parhasard.net>
1101 1647
1102 * coding.el (query-coding-region): 1648 * coding.el (query-coding-region):
1103 (query-coding-string): 1649 (query-coding-string):
1104 Make these defsubsts, they're short enough and they're called 1650 Make these defsubsts, they're short enough and they're called
1105 explicitly rarely enough that it make some sense. The alternative 1651 explicitly rarely enough that it make some sense. The alternative
1106 would be compiler macros that avoid the binding of the arguments. 1652 would be compiler macros that avoid the binding of the arguments.
1107 (unencodable-char-position): 1653 (unencodable-char-position):
1108 Document where the docstring and API are from. 1654 Document where the docstring and API are from.
1109 Correct a special case for zero--check-argument-type returns nil 1655 Correct a special case for zero--check-argument-type returns nil
1110 when it succeeds, we can't usefully chain its result in an and 1656 when it succeeds, we can't usefully chain its result in an and
1111 here. 1657 here.
1112 (check-coding-systems-region): New. API taken from GNU; docstring 1658 (check-coding-systems-region): New. API taken from GNU; docstring
1113 and implementation are independent. 1659 and implementation are independent.
1114 (encode-coding-char): 1660 (encode-coding-char):
1115 Add an optional third argument, as used by recent GNU. Document 1661 Add an optional third argument, as used by recent GNU. Document
1116 the origen of the docstring. 1662 the origen of the docstring.
1117 (default-query-coding-region): Add a short docstring to the 1663 (default-query-coding-region): Add a short docstring to the
1118 non-Mule implementation of this function. 1664 non-Mule implementation of this function.
1119 * unicode.el: 1665 * unicode.el:
1120 Don't set the query-coding-function property for unicode coding 1666 Don't set the query-coding-function property for unicode coding
1121 systems if we're on non-mule. Unintern 1667 systems if we're on non-mule. Unintern
1122 unicode-query-coding-region, unicode-query-coding-skip-chars-arg 1668 unicode-query-coding-region, unicode-query-coding-skip-chars-arg
1123 in the same context. 1669 in the same context.
1124 1670
1125 2008-12-30 Aidan Kehoe <kehoea@parhasard.net> 1671 2008-12-30 Aidan Kehoe <kehoea@parhasard.net>
1126 1672
1127 * frame.el (display-mouse-p): 1673 * frame.el (display-mouse-p):
1128 (display-popup-menus-p): 1674 (display-popup-menus-p):
1129 (display-images-p): 1675 (display-images-p):
1130 (display-selections-p): 1676 (display-selections-p):
1131 (display-visual-class): 1677 (display-visual-class):
1132 Make all these functions more general, do not hard code device 1678 Make all these functions more general, do not hard code device
1133 type symbols where that is inappropriate. 1679 type symbols where that is inappropriate.
1134 1680
1135 2008-12-28 Aidan Kehoe <kehoea@parhasard.net> 1681 2008-12-28 Aidan Kehoe <kehoea@parhasard.net>
1136 1682
1137 * coding.el (default-query-coding-region): 1683 * coding.el (default-query-coding-region):
1138 Declare using defun*, so we can #'return-from to it on 1684 Declare using defun*, so we can #'return-from to it on
1139 encountering a safe-charsets value of t. Comment out a few 1685 encountering a safe-charsets value of t. Comment out a few
1140 debug messages. 1686 debug messages.
1141 (query-coding-region): 1687 (query-coding-region):
1142 Correct the docstring, it deals with a region, not a string. 1688 Correct the docstring, it deals with a region, not a string.
1143 (unencodable-char-position): 1689 (unencodable-char-position):
1144 Correct the implementation for non-nil COUNT, special-case a zero 1690 Correct the implementation for non-nil COUNT, special-case a zero
1145 value for count, treat it as one. Don't rely on dynamic scope when 1691 value for count, treat it as one. Don't rely on dynamic scope when
1146 calling the main lambda. 1692 calling the main lambda.
1147 * unicode.el (unicode-query-coding-region): 1693 * unicode.el (unicode-query-coding-region):
1148 Comment out some debug messages here. 1694 Comment out some debug messages here.
1149 * mule/mule-coding.el (8-bit-fixed-query-coding-region): 1695 * mule/mule-coding.el (8-bit-fixed-query-coding-region):
1150 Comment out some debug messages here. 1696 Comment out some debug messages here.
1151 1697
1152 * code-init.el (raw-text): 1698 * code-init.el (raw-text):
1153 Add a safe-charsets property to this coding system. 1699 Add a safe-charsets property to this coding system.
1154 * mule/korean.el (iso-2022-int-1): 1700 * mule/korean.el (iso-2022-int-1):
1155 * mule/korean.el (euc-kr): 1701 * mule/korean.el (euc-kr):
1156 * mule/korean.el (iso-2022-kr): 1702 * mule/korean.el (iso-2022-kr):
1157 Add safe-charsets properties for these coding systems. 1703 Add safe-charsets properties for these coding systems.
1158 * mule/japanese.el (iso-2022-jp): 1704 * mule/japanese.el (iso-2022-jp):
1159 * mule/japanese.el (jis7): 1705 * mule/japanese.el (jis7):
1160 * mule/japanese.el (jis8): 1706 * mule/japanese.el (jis8):
1161 * mule/japanese.el (shift-jis): 1707 * mule/japanese.el (shift-jis):
1162 * mule/japanese.el (iso-2022-jp-1978-irv): 1708 * mule/japanese.el (iso-2022-jp-1978-irv):
1163 * mule/japanese.el (euc-jp): 1709 * mule/japanese.el (euc-jp):
1164 Add safe-charsets properties for all these coding systems. 1710 Add safe-charsets properties for all these coding systems.
1165 * mule/iso-with-esc.el: 1711 * mule/iso-with-esc.el:
1166 Add safe-charsets properties to all the coding systems in 1712 Add safe-charsets properties to all the coding systems in
1167 here. Comment on the downside of a safe-charsets value of t for 1713 here. Comment on the downside of a safe-charsets value of t for
1168 iso-latin-1-with-esc. 1714 iso-latin-1-with-esc.
1169 * mule/hebrew.el (ctext-hebrew): 1715 * mule/hebrew.el (ctext-hebrew):
1170 Add a safe-charsets property for this coding system. 1716 Add a safe-charsets property for this coding system.
1171 * mule/devanagari.el (in-is13194-devanagari): 1717 * mule/devanagari.el (in-is13194-devanagari):
1172 Add a safe-charsets property for this coding system. 1718 Add a safe-charsets property for this coding system.
1173 * mule/chinese.el (cn-gb-2312): 1719 * mule/chinese.el (cn-gb-2312):
1174 * mule/chinese.el (hz-gb-2312): 1720 * mule/chinese.el (hz-gb-2312):
1175 * mule/chinese.el (big5): 1721 * mule/chinese.el (big5):
1176 Add safe-charsets properties for these coding systems. 1722 Add safe-charsets properties for these coding systems.
1177 * mule/latin.el (iso-8859-14): 1723 * mule/latin.el (iso-8859-14):
1178 Add an implementation for this, using #'make-8-bit-coding-system. 1724 Add an implementation for this, using #'make-8-bit-coding-system.
1179 * mule/mule-coding.el (ctext): 1725 * mule/mule-coding.el (ctext):
1180 * mule/mule-coding.el (iso-2022-8bit-ss2): 1726 * mule/mule-coding.el (iso-2022-8bit-ss2):
1181 * mule/mule-coding.el (iso-2022-7bit-ss2): 1727 * mule/mule-coding.el (iso-2022-7bit-ss2):
1182 * mule/mule-coding.el (iso-2022-jp-2): 1728 * mule/mule-coding.el (iso-2022-jp-2):
1183 * mule/mule-coding.el (iso-2022-7bit): 1729 * mule/mule-coding.el (iso-2022-7bit):
1184 * mule/mule-coding.el (iso-2022-8): 1730 * mule/mule-coding.el (iso-2022-8):
1185 * mule/mule-coding.el (escape-quoted): 1731 * mule/mule-coding.el (escape-quoted):
1186 * mule/mule-coding.el (iso-2022-lock): 1732 * mule/mule-coding.el (iso-2022-lock):
1187 Add safe-charsets properties for all these coding systems. 1733 Add safe-charsets properties for all these coding systems.
1188 1734
1189 2008-12-27 Aidan Kehoe <kehoea@parhasard.net> 1735 2008-12-27 Aidan Kehoe <kehoea@parhasard.net>
1190 1736
1191 * loadhist.el (symbol-file): 1737 * loadhist.el (symbol-file):
1192 Use #'defun*, not #'defun, to allow the checks for autoloaded 1738 Use #'defun*, not #'defun, to allow the checks for autoloaded
1193 functions and variables to call #'return-from correctly. Use 1739 functions and variables to call #'return-from correctly. Use
1194 #'return-from instead of #'return throughout the function. 1740 #'return-from instead of #'return throughout the function.
1195 1741
1196 2008-12-27 Aidan Kehoe <kehoea@parhasard.net> 1742 2008-12-27 Aidan Kehoe <kehoea@parhasard.net>
1197 1743
1198 * loadup.el (load-history): 1744 * loadup.el (load-history):
1199 Add the contents of current-load-list to load-history before 1745 Add the contents of current-load-list to load-history before
1200 clearing it. Move the variable declarations earlier in the file to 1746 clearing it. Move the variable declarations earlier in the file to
1201 a format understood by make-docfile.c. 1747 a format understood by make-docfile.c.
1202 * custom.el (custom-declare-variable): Add the variable's symbol 1748 * custom.el (custom-declare-variable): Add the variable's symbol
1203 to the current file's load history entry correctly, don't use a 1749 to the current file's load history entry correctly, don't use a
1204 cons. Eliminate a comment that we don't need to worry about, we 1750 cons. Eliminate a comment that we don't need to worry about, we
1205 don't need to check the `initialized' C variable in Lisp. 1751 don't need to check the `initialized' C variable in Lisp.
1206 * bytecomp.el (byte-compile-output-file-form): 1752 * bytecomp.el (byte-compile-output-file-form):
1207 Merge Andreas Schwab's pre-GPLv3 GNU change of 19970831 here; 1753 Merge Andreas Schwab's pre-GPLv3 GNU change of 19970831 here;
1208 treat #'custom-declare-variable correctly, generating the 1754 treat #'custom-declare-variable correctly, generating the
1209 docstrings in a format understood by make-docfile.c. 1755 docstrings in a format understood by make-docfile.c.
1210 * loadhist.el (symbol-file): Correct behaviour for checking 1756 * loadhist.el (symbol-file): Correct behaviour for checking
1211 autoloaded macros and functions when supplied with a TYPE 1757 autoloaded macros and functions when supplied with a TYPE
1212 argument. Accept fully-qualified paths from 1758 argument. Accept fully-qualified paths from
1213 #'built-in-symbol-file; if a path is not fully-qualified, return 1759 #'built-in-symbol-file; if a path is not fully-qualified, return
1214 it relative to lisp-directory if the filename corresponds to a 1760 it relative to lisp-directory if the filename corresponds to a
1215 Lisp file, and relative to (concat source-directory "/src/") 1761 Lisp file, and relative to (concat source-directory "/src/")
1216 otherwise. 1762 otherwise.
1217 * make-docfile.el (preloaded-file-list): 1763 * make-docfile.el (preloaded-file-list):
1218 Rationalise some let bindings a little. Use the "-d" argument to 1764 Rationalise some let bindings a little. Use the "-d" argument to
1219 make-docfile.c to supply Lisp paths relative to lisp-directory, 1765 make-docfile.c to supply Lisp paths relative to lisp-directory,
1220 not absolutely. Add in loadup.el explicitly to the list of files 1766 not absolutely. Add in loadup.el explicitly to the list of files
1221 to be processed by make-docfile.c--it doesn't make sense to add it 1767 to be processed by make-docfile.c--it doesn't make sense to add it
1222 to preloaded-file-list, since that is used for purposes of 1768 to preloaded-file-list, since that is used for purposes of
1223 byte-compilation too. 1769 byte-compilation too.
1224 1770
1225 2008-12-22 Aidan Kehoe <kehoea@parhasard.net> 1771 2008-12-22 Aidan Kehoe <kehoea@parhasard.net>
1226 1772
1227 * loadhist.el (symbol-file): 1773 * loadhist.el (symbol-file):
1228 Add support for differentiating between variables and functions to 1774 Add support for differentiating between variables and functions to
1229 #'symbol-file. 1775 #'symbol-file.
1230 * help.el (describe-function-1): 1776 * help.el (describe-function-1):
1231 (describe-variable): 1777 (describe-variable):
1232 Call #'symbol-function explicitly with a 'defun or 'defvar 1778 Call #'symbol-function explicitly with a 'defun or 'defvar
1233 argument, depending on whether we're looking for a variable or a 1779 argument, depending on whether we're looking for a variable or a
1234 function. 1780 function.
1235 * cus-face.el (custom-declare-face): 1781 * cus-face.el (custom-declare-face):
1236 Record information about the face in the load history; code taken 1782 Record information about the face in the load history; code taken
1237 from GNU, pre-GPLv3 revision 1.45. 1783 from GNU, pre-GPLv3 revision 1.45.
1238 1784
1239 2008-10-29 Stephen J. Turnbull <stephen@xemacs.org> 1785 2008-10-29 Stephen J. Turnbull <stephen@xemacs.org>
1240 1786
1257 2008-08-31 Aidan Kehoe <kehoea@parhasard.net> 1803 2008-08-31 Aidan Kehoe <kehoea@parhasard.net>
1258 1804
1259 * window.el (only-window-p): New. 1805 * window.el (only-window-p): New.
1260 Check if WINDOW is the only window in some context, normally its 1806 Check if WINDOW is the only window in some context, normally its
1261 frame. 1807 frame.
1262 (one-window-p): 1808 (one-window-p):
1263 Implemented this in terms of #'only-window-p, calling it on the 1809 Implemented this in terms of #'only-window-p, calling it on the
1264 selected window. 1810 selected window.
1265 (window-buffer-height): Uncomment this, make it work. 1811 (window-buffer-height): Uncomment this, make it work.
1266 (count-screen-lines): Support a BUFFER argument. 1812 (count-screen-lines): Support a BUFFER argument.
1267 (fit-window-to-buffer): Uncomment this, correct its implementation 1813 (fit-window-to-buffer): Uncomment this, correct its implementation
1268 to work with XEmacs. 1814 to work with XEmacs.
1269 * help.el (temp-buffer-resize-mode): New. Name taken from GNU, 1815 * help.el (temp-buffer-resize-mode): New. Name taken from GNU,
1270 implementation our own. 1816 implementation our own.
1271 * (resize-temp-buffer-window): New. GNU-compatible alias for 1817 * (resize-temp-buffer-window): New. GNU-compatible alias for
1272 #'shrink-window-if-larger-than-buffer. 1818 #'shrink-window-if-larger-than-buffer.
1273 * dumped-lisp.el (preloaded-file-list): Move easy-mmode before 1819 * dumped-lisp.el (preloaded-file-list): Move easy-mmode before
1274 help, now that the latter uses #'define-minor-mode. 1820 help, now that the latter uses #'define-minor-mode.
1275 * frame.el: Point to #'temp-buffer-resize-mode in a comment. 1821 * frame.el: Point to #'temp-buffer-resize-mode in a comment.
1276 Some of this code is from GNU; help.el CVS version 1.327 of 1822 Some of this code is from GNU; help.el CVS version 1.327 of
1277 2007-03-21, window.el CVS version 1.122, of 2007-06-24. Both these 1823 2007-03-21, window.el CVS version 1.122, of 2007-06-24. Both these
1278 are GPLV2 or later. 1824 are GPLV2 or later.
1279 1825
1280 2008-08-27 Aidan Kehoe <kehoea@parhasard.net> 1826 2008-08-27 Aidan Kehoe <kehoea@parhasard.net>
1281 1827
1282 * subr.el (skip-chars-quote): 1828 * subr.el (skip-chars-quote):
1283 Correct the implementation, following the docstring of 1829 Correct the implementation, following the docstring of
1284 #'skip-char-forward more closely rather than the documentation of 1830 #'skip-char-forward more closely rather than the documentation of
1285 character classes in the Lispref. 1831 character classes in the Lispref.
1286 1832
1287 2008-08-23 Aidan Kehoe <kehoea@parhasard.net> 1833 2008-08-23 Aidan Kehoe <kehoea@parhasard.net>
1288 1834
1289 * custom.el: Move #'custom-variable-p to C, since it's now called 1835 * custom.el: Move #'custom-variable-p to C, since it's now called
1290 from #'user-variable-p. 1836 from #'user-variable-p.
1291 1837
1292 2008-08-23 Aidan Kehoe <kehoea@parhasard.net> 1838 2008-08-23 Aidan Kehoe <kehoea@parhasard.net>
1293 1839
1294 * mule/mule-coding.el (make-8-bit-coding-system): 1840 * mule/mule-coding.el (make-8-bit-coding-system):
1295 * mule/general-late.el (posix-charset-to-coding-system-hash): 1841 * mule/general-late.el (posix-charset-to-coding-system-hash):
1296 Use #'skip-chars-quote as appropriate. 1842 Use #'skip-chars-quote as appropriate.
1297 1843
1298 2008-08-09 Aidan Kehoe <kehoea@parhasard.net> 1844 2008-08-09 Aidan Kehoe <kehoea@parhasard.net>
1299 1845
1300 * subr.el (skip-chars-quote): New. 1846 * subr.el (skip-chars-quote): New.
1301 Given STRING, return a string that means that all characters in 1847 Given STRING, return a string that means that all characters in
1302 STRING will be skipped when passed to #'skip-chars-forward, 1848 STRING will be skipped when passed to #'skip-chars-forward,
1303 #'skip-chars-backward. 1849 #'skip-chars-backward.
1304 1850
1305 2008-08-09 Aidan Kehoe <kehoea@parhasard.net> 1851 2008-08-09 Aidan Kehoe <kehoea@parhasard.net>
1306 1852
1307 * mule/cyril-util.el: Remove. Use the version in packages instead. 1853 * mule/cyril-util.el: Remove. Use the version in packages instead.
1308 1854
1309 2008-08-08 Aidan Kehoe <kehoea@parhasard.net> 1855 2008-08-08 Aidan Kehoe <kehoea@parhasard.net>
1310 1856
1311 * unicode.el: 1857 * unicode.el:
1312 * mule/mule-cmds.el: 1858 * mule/mule-cmds.el:
1313 * mule/latin.el: 1859 * mule/latin.el:
1314 * mule/cyrillic.el: 1860 * mule/cyrillic.el:
1315 Rework the various identifiers using error-sequence to use 1861 Rework the various identifiers using error-sequence to use
1316 invalid-sequence instead. 1862 invalid-sequence instead.
1317 1863
1318 2008-08-05 Aidan Kehoe <kehoea@parhasard.net> 1864 2008-08-05 Aidan Kehoe <kehoea@parhasard.net>
1319 1865
1320 * specifier.el (current-display-table): Initialise this here, not 1866 * specifier.el (current-display-table): Initialise this here, not
1321 in x-init.el, since we want it even on non-X builds to use the 1867 in x-init.el, since we want it even on non-X builds to use the
1322 support for displaying Unicode error sequences according to the 1868 support for displaying Unicode error sequences according to the
1323 current locale. 1869 current locale.
1324 * mule/mule-cmds.el (set-language-info): 1870 * mule/mule-cmds.el (set-language-info):
1325 Document error-sequence-coding-system, used to describe how to 1871 Document error-sequence-coding-system, used to describe how to
1326 display characters that are not valid Unicode on disk. 1872 display characters that are not valid Unicode on disk.
1327 * mule/mule-cmds.el (finish-set-language-environment): 1873 * mule/mule-cmds.el (finish-set-language-environment):
1328 Implement error-sequence-coding-system. 1874 Implement error-sequence-coding-system.
1329 * unicode.el (unicode-error-sequence-warning-face): 1875 * unicode.el (unicode-error-sequence-warning-face):
1330 New face, to make it possible to distinguish invalid Unicode 1876 New face, to make it possible to distinguish invalid Unicode
1331 sequences from the characters given by the valid Unicode 1877 sequences from the characters given by the valid Unicode
1332 sequences. 1878 sequences.
1333 * mule/cyrillic.el ("Russian"): 1879 * mule/cyrillic.el ("Russian"):
1334 ("Ukrainian"): 1880 ("Ukrainian"):
1335 ("Bulgarian"): 1881 ("Bulgarian"):
1336 ("Belarusian"): 1882 ("Belarusian"):
1337 ("Cyrillic-ALT"): Add support for error-sequence-coding-system for 1883 ("Cyrillic-ALT"): Add support for error-sequence-coding-system for
1338 all these languages. 1884 all these languages.
1339 * mule/latin.el: 1885 * mule/latin.el:
1340 Add support for error-sequence-coding-system for the 1886 Add support for error-sequence-coding-system for the
1341 Latin-alphabet language environments. 1887 Latin-alphabet language environments.
1342 1888
1343 2008-08-05 Aidan Kehoe <kehoea@parhasard.net> 1889 2008-08-05 Aidan Kehoe <kehoea@parhasard.net>
1344 1890
1345 * mule/iso-with-esc.el (greek-iso-8bit-with-esc): 1891 * mule/iso-with-esc.el (greek-iso-8bit-with-esc):
1346 (arabic-iso-8bit-with-esc): 1892 (arabic-iso-8bit-with-esc):
1347 Add these two here. Move the implementation of the 1893 Add these two here. Move the implementation of the
1348 'arabic-iso8859-6 character set here, with commentary on why that 1894 'arabic-iso8859-6 character set here, with commentary on why that
1349 is reasonable. 1895 is reasonable.
1350 * mule/arabic.el (iso-8859-6): 1896 * mule/arabic.el (iso-8859-6):
1351 Add iso-8859-6, windows-1256 implementations using 1897 Add iso-8859-6, windows-1256 implementations using
1352 make-8-bit-coding-system. Remove our non-standard Mule character 1898 make-8-bit-coding-system. Remove our non-standard Mule character
1353 sets. 1899 sets.
1354 * unicode.el (load-unicode-tables): Remove Arabic since it's no 1900 * unicode.el (load-unicode-tables): Remove Arabic since it's no
1355 longer dumped. 1901 longer dumped.
1356 * mule/mule-msw-init-late.el: Remove Arabic. 1902 * mule/mule-msw-init-late.el: Remove Arabic.
1357 * mule/mule-category.el (predefined-category-list): Remove 1903 * mule/mule-category.el (predefined-category-list): Remove
1358 Arabic. 1904 Arabic.
1359 1905
1360 2008-07-26 Aidan Kehoe <kehoea@parhasard.net> 1906 2008-07-26 Aidan Kehoe <kehoea@parhasard.net>
1361 1907
1362 * x-init.el (x-initialize-compose): 1908 * x-init.el (x-initialize-compose):
1363 Rewrite to use #'loop, as does similar code in x-win-sun.el, 1909 Rewrite to use #'loop, as does similar code in x-win-sun.el,
1364 x-win-xfree86.el. Locally bind function-key-map to the correct 1910 x-win-xfree86.el. Locally bind function-key-map to the correct
1365 value for the device's console. 1911 value for the device's console.
1366 * x-win-xfree86.el (x-win-init-xfree86): 1912 * x-win-xfree86.el (x-win-init-xfree86):
1367 Locally bind function-key-map to the correct value for the 1913 Locally bind function-key-map to the correct value for the
1368 device's console. 1914 device's console.
1369 * x-win-sun.el (x-win-init-sun): 1915 * x-win-sun.el (x-win-init-sun):
1370 Locally bind function-key-map to the correct value for the 1916 Locally bind function-key-map to the correct value for the
1371 device's console. 1917 device's console.
1372 1918
1373 2008-07-20 Aidan Kehoe <kehoea@parhasard.net> 1919 2008-07-20 Aidan Kehoe <kehoea@parhasard.net>
1374 1920
1375 * descr-text.el (describe-char-unicode-data): 1921 * descr-text.el (describe-char-unicode-data):
1376 Correct three calls to #'error; it doesn't take #'message style 1922 Correct three calls to #'error; it doesn't take #'message style
1377 format strings and arguments. 1923 format strings and arguments.
1378 1924
1379 2008-07-19 Aidan Kehoe <kehoea@parhasard.net> 1925 2008-07-19 Aidan Kehoe <kehoea@parhasard.net>
1380 1926
1381 * descr-text.el (describe-property-list): Move the (require 1927 * descr-text.el (describe-property-list): Move the (require
1382 'hyper-apropos) call to top level, this isn't the only function 1928 'hyper-apropos) call to top level, this isn't the only function
1383 that uses the relevant face. 1929 that uses the relevant face.
1384 (describe-char): Wrap the Unihan field descriptions if they are 1930 (describe-char): Wrap the Unihan field descriptions if they are
1385 longer than the windows width minus 50. 1931 longer than the windows width minus 50.
1386 Rename the created buffer to reflect the character's position as 1932 Rename the created buffer to reflect the character's position as
1387 well as its value. 1933 well as its value.
1388 1934
1389 2008-07-07 Aidan Kehoe <kehoea@parhasard.net> 1935 2008-07-07 Aidan Kehoe <kehoea@parhasard.net>
1390 1936
1391 Patch to make it up to the device-specific code whether 1937 Patch to make it up to the device-specific code whether
1392 various Lisp functions should be called during device creation, 1938 various Lisp functions should be called during device creation,
1393 not relying on the startup code to decide this. Also, rename 1939 not relying on the startup code to decide this. Also, rename
1394 initial-window-system to initial-device-type (which makes more 1940 initial-window-system to initial-device-type (which makes more
1395 sense in this scheme), always set it. 1941 sense in this scheme), always set it.
1396 1942
1397 * startup.el (command-line): 1943 * startup.el (command-line):
1398 Use initial-device-type, not initial-window-system; just call 1944 Use initial-device-type, not initial-window-system; just call
1399 #'make-device, leave the special behaviour to be done the first 1945 #'make-device, leave the special behaviour to be done the first
1400 time a console type is initialised to be decided on by the 1946 time a console type is initialised to be decided on by the
1417 (make-device-late-x-entry-point): Rename init-post-x-win, have it 1963 (make-device-late-x-entry-point): Rename init-post-x-win, have it
1418 take a DEVICE argument, use that DEVICE argument when working out 1964 take a DEVICE argument, use that DEVICE argument when working out
1419 what device-specific things need doing. Don't use 1965 what device-specific things need doing. Don't use
1420 create-console-hook in core code. 1966 create-console-hook in core code.
1421 * x-win-xfree86.el (x-win-init-xfree86): Take a DEVICE argument; 1967 * x-win-xfree86.el (x-win-init-xfree86): Take a DEVICE argument;
1422 use it. 1968 use it.
1423 * x-win-sun.el (x-win-init-sun): Take a DEVICE argument; use it. 1969 * x-win-sun.el (x-win-init-sun): Take a DEVICE argument; use it.
1424 * mule/mule-x-init.el: Remove #'init-mule-x-win, an empty 1970 * mule/mule-x-init.el: Remove #'init-mule-x-win, an empty
1425 function. 1971 function.
1426 1972
1427 * tty-init.el (make-device-early-tty-entry-point-called-p): New. 1973 * tty-init.el (make-device-early-tty-entry-point-called-p): New.
1428 Rename pre-tty-win-initted. 1974 Rename pre-tty-win-initted.
1429 (make-device-early-tty-entry-point): New. 1975 (make-device-early-tty-entry-point): New.
1430 Rename init-pre-tty-win. 1976 Rename init-pre-tty-win.
1431 (make-frame-after-init-entry-point): New. 1977 (make-frame-after-init-entry-point): New.
1432 Rename init-post-tty-win to better reflect when it's called. 1978 Rename init-post-tty-win to better reflect when it's called.
1433 1979
1434 * gtk-init.el (gtk-early-lisp-options-file): New. 1980 * gtk-init.el (gtk-early-lisp-options-file): New.
1435 Move this path to a documented variable. 1981 Move this path to a documented variable.
1436 (gtk-command-switch-alist): Wrap the docstring to fewer than 79 1982 (gtk-command-switch-alist): Wrap the docstring to fewer than 79
1437 columns. 1983 columns.
1438 (make-device-early-gtk-entry-point-called-p): New. 1984 (make-device-early-gtk-entry-point-called-p): New.
1439 (make-device-late-gtk-entry-point-called-p): New. 1985 (make-device-late-gtk-entry-point-called-p): New.
1440 Renamed gtk-pre-win-initted, gtk-post-win-initted to these. 1986 Renamed gtk-pre-win-initted, gtk-post-win-initted to these.
1441 (make-device-early-gtk-entry-point): New. 1987 (make-device-early-gtk-entry-point): New.
1442 (make-device-late-gtk-entry-point): New. 1988 (make-device-late-gtk-entry-point): New.
1443 Renamed init-pre-gtk-win, init-post-gtk-win to these. 1989 Renamed init-pre-gtk-win, init-post-gtk-win to these.
1444 Have make-device-late-gtk-entry-point take a device argument, and use 1990 Have make-device-late-gtk-entry-point take a device argument, and use
1445 it; have make-device-early-gtk-entry-point load the GTK-specific 1991 it; have make-device-early-gtk-entry-point load the GTK-specific
1446 startup code, instead of doing that in C. 1992 startup code, instead of doing that in C.
1447 (init-gtk-win): Deleted, functionality moved to the GTK device 1993 (init-gtk-win): Deleted, functionality moved to the GTK device
1448 creation code. 1994 creation code.
1449 (gtk-define-dead-key): Have it take a DEVICE argument; use this 1995 (gtk-define-dead-key): Have it take a DEVICE argument; use this
1450 argument. 1996 argument.
1451 (gtk-initialize-compose): Ditto. 1997 (gtk-initialize-compose): Ditto.
1452 1998
1453 * coding.el (set-terminal-coding-system): 1999 * coding.el (set-terminal-coding-system):
1454 Correct the docstring; the function isn't broken. 2000 Correct the docstring; the function isn't broken.
1455 2001
1456 2008-06-29 Aidan Kehoe <kehoea@parhasard.net> 2002 2008-06-29 Aidan Kehoe <kehoea@parhasard.net>
1457 2003
1458 * descr-text.el (describe-char-unicode-data): 2004 * descr-text.el (describe-char-unicode-data):
1459 Don't leak the Unihan database handle when looking up non-Han 2005 Don't leak the Unihan database handle when looking up non-Han
1460 characters. 2006 characters.
1461 2007
1462 2008-06-04 Aidan Kehoe <kehoea@parhasard.net> 2008 2008-06-04 Aidan Kehoe <kehoea@parhasard.net>
1463 2009
1464 * descr-text.el (describe-property-list): 2010 * descr-text.el (describe-property-list):
1465 #'require hyper-apropos, since we use hyper-apropos-face 2011 #'require hyper-apropos, since we use hyper-apropos-face
1466 2012
1467 2008-05-25 Aidan Kehoe <kehoea@parhasard.net> 2013 2008-05-25 Aidan Kehoe <kehoea@parhasard.net>
1468 2014
1469 * descr-text.el: New. 2015 * descr-text.el: New.
1470 Taken from GNU's GPLV2 version of 2007-02-14, with modifications 2016 Taken from GNU's GPLV2 version of 2007-02-14, with modifications
1471 for XEmacs support and extensions for Unihan.txt support and 2017 for XEmacs support and extensions for Unihan.txt support and
1472 db/dbm caches. 2018 db/dbm caches.
1473 * simple.el (what-cursor-position): 2019 * simple.el (what-cursor-position):
1474 Support an optional prefix argument, as does GNU, calling 2020 Support an optional prefix argument, as does GNU, calling
1475 #'describe-char to giving more detail on the character at point, 2021 #'describe-char to giving more detail on the character at point,
1476 notably from UnicodeData and (in our case, optionally) Unihan.txt. 2022 notably from UnicodeData and (in our case, optionally) Unihan.txt.
1477 * syntax.el (syntax-after): 2023 * syntax.el (syntax-after):
1478 Make this available for the sake of #'describe-char. 2024 Make this available for the sake of #'describe-char.
1479 * mule/mule-cmds.el (iso-2022-control-alist): 2025 * mule/mule-cmds.el (iso-2022-control-alist):
1480 Make this available, for the sake of #'encoded-string-description 2026 Make this available, for the sake of #'encoded-string-description
1481 and #'describe-char. 2027 and #'describe-char.
1482 * mule/mule-cmds.el (encoded-string-description): 2028 * mule/mule-cmds.el (encoded-string-description):
1483 Make this available, for the sake of #'describe-char. 2029 Make this available, for the sake of #'describe-char.
1484 * unicode.el (unicode-error-default-translation-table): 2030 * unicode.el (unicode-error-default-translation-table):
1485 Make this a char table of type generic, not of type char. Makes it 2031 Make this a char table of type generic, not of type char. Makes it
1486 possible to have the relevant logic in #'describe-char reasonably 2032 possible to have the relevant logic in #'describe-char reasonably
1487 clear; also, and this is undocumented, makes it much easier to 2033 clear; also, and this is undocumented, makes it much easier to
1488 implement #'frob-unicode-errors-region. I should document this, 2034 implement #'frob-unicode-errors-region. I should document this,
1489 and revise #'frob-unicode-errors-region. 2035 and revise #'frob-unicode-errors-region.
1490 2036
1491 2008-05-21 Aidan Kehoe <kehoea@parhasard.net> 2037 2008-05-21 Aidan Kehoe <kehoea@parhasard.net>
1492 2038
1493 * mule/mule-coding.el (make-8-bit-choose-category): 2039 * mule/mule-coding.el (make-8-bit-choose-category):
1494 Merge my change of 2008-05-14 to the query-coding-region code. 2040 Merge my change of 2008-05-14 to the query-coding-region code.
1495 2041
1496 2008-05-14 Stephen J. Turnbull <stephen@xemacs.org> 2042 2008-05-14 Stephen J. Turnbull <stephen@xemacs.org>
1497 2043
1498 * subr.el (add-to-list): Fix Aidan's last commit. 2044 * subr.el (add-to-list): Fix Aidan's last commit.
1499 2045
1500 2008-05-14 Aidan Kehoe <kehoea@parhasard.net> 2046 2008-05-14 Aidan Kehoe <kehoea@parhasard.net>
1501 2047
1502 * subr.el (add-to-list): Implement the same logic with a more 2048 * subr.el (add-to-list): Implement the same logic with a more
1503 concise syntax; thank you Stephen, in 2049 concise syntax; thank you Stephen, in
1504 http://mid.gmane.org/87ablomdwx.fsf@uwakimon.sk.tsukuba.ac.jp . 2050 http://mid.gmane.org/87ablomdwx.fsf@uwakimon.sk.tsukuba.ac.jp .
1505 2051
1506 2008-02-25 bpalmer <bpalmer@gmail.com> 2052 2008-02-25 bpalmer <bpalmer@gmail.com>
1507 2053
1508 * subr.el(add-to-list): add support for `compare-fn' to sync with 2054 * subr.el(add-to-list): add support for `compare-fn' to sync with
1514 Control-1 characters extend from #x80 to #x9F (inclusive), 2060 Control-1 characters extend from #x80 to #x9F (inclusive),
1515 not from #x80 to #xBF. 2061 not from #x80 to #xBF.
1516 2062
1517 2008-05-13 Aidan Kehoe <kehoea@parhasard.net> 2063 2008-05-13 Aidan Kehoe <kehoea@parhasard.net>
1518 2064
1519 * printer.el (generic-print-region): 2065 * printer.el (generic-print-region):
1520 (generic-print-buffer): 2066 (generic-print-buffer):
1521 Use #'valid-device-type-p instead of #'valid-specifier-tag-p to 2067 Use #'valid-device-type-p instead of #'valid-specifier-tag-p to
1522 check if the msprinter device is available, now that msprinter is 2068 check if the msprinter device is available, now that msprinter is
1523 always available as a specifier tag. 2069 always available as a specifier tag.
1524 2070
1525 2008-05-11 Aidan Kehoe <kehoea@parhasard.net> 2071 2008-05-11 Aidan Kehoe <kehoea@parhasard.net>
1526 2072
1527 * disp-table.el (make-display-table): 2073 * disp-table.el (make-display-table):
1528 Update the example code to make it more general, and more 2074 Update the example code to make it more general, and more
1529 compatible with GNU. Also, I previously said #xFF when I meant 2075 compatible with GNU. Also, I previously said #xFF when I meant
1530 ?\xFF; correct this. 2076 ?\xFF; correct this.
1531 * mule/cyril-util.el (standard-display-cyrillic-translit): 2077 * mule/cyril-util.el (standard-display-cyrillic-translit):
1532 Make the selection of the default language more sensible; change 2078 Make the selection of the default language more sensible; change
1533 the API a little to make a sensible default Cyrillic language 2079 the API a little to make a sensible default Cyrillic language
1534 available, checking current-language-environment. 2080 available, checking current-language-environment.
1535 2081
1536 2007-07-21 Aidan Kehoe <kehoea@parhasard.net> 2082 2007-07-21 Aidan Kehoe <kehoea@parhasard.net>
1537 2083
1538 * mule/cyril-util.el: 2084 * mule/cyril-util.el:
1539 * mule/cyril-util.el (cyrillic-encode-koi8-r-char): Removed. 2085 * mule/cyril-util.el (cyrillic-encode-koi8-r-char): Removed.
1540 * mule/cyril-util.el (cyrillic-encode-alternativnyj-char): 2086 * mule/cyril-util.el (cyrillic-encode-alternativnyj-char):
1541 Removed. No-one uses these functions in google.com/codesearch, 2087 Removed. No-one uses these functions in google.com/codesearch,
1542 GNU have a comment doubting their utility, and their 2088 GNU have a comment doubting their utility, and their
1543 implementation is trivial. 2089 implementation is trivial.
1544 * mule/cyril-util.el (cyrillic-language-alist): 2090 * mule/cyril-util.el (cyrillic-language-alist):
1545 Reformatted. 2091 Reformatted.
1546 * mule/cyril-util.el (standard-display-table)): Removed. It wasn't 2092 * mule/cyril-util.el (standard-display-table)): Removed. It wasn't
1547 used anyway. 2093 used anyway.
1548 * mule/cyril-util.el (standard-display-cyrillic-translit): 2094 * mule/cyril-util.el (standard-display-cyrillic-translit):
1549 Rewrite it to work with character tables as display tables, and 2095 Rewrite it to work with character tables as display tables, and
1550 not to abort with an error. 2096 not to abort with an error.
1551 2097
1552 2007-07-21 Aidan Kehoe <kehoea@parhasard.net> 2098 2007-07-21 Aidan Kehoe <kehoea@parhasard.net>
1553 2099
1554 * disp-table.el: 2100 * disp-table.el:
1555 * disp-table.el (make-display-table): Moved earlier in the file in 2101 * disp-table.el (make-display-table): Moved earlier in the file in
1556 a weak attempt at making syncing with GNU easier. 2102 a weak attempt at making syncing with GNU easier.
1557 * disp-table.el (frob-display-table): 2103 * disp-table.el (frob-display-table):
1558 Autoload it, accept TAG-SET, for editing specifiers. 2104 Autoload it, accept TAG-SET, for editing specifiers.
1559 * disp-table.el (describe-display-table): 2105 * disp-table.el (describe-display-table):
1560 Have it handle character sets. 2106 Have it handle character sets.
1561 * disp-table.el (standard-display-8bit-1): 2107 * disp-table.el (standard-display-8bit-1):
1562 * disp-table.el (standard-display-8bit): 2108 * disp-table.el (standard-display-8bit):
1563 * disp-table.el (standard-display-default-1): 2109 * disp-table.el (standard-display-default-1):
1564 * disp-table.el (standard-display-ascii): 2110 * disp-table.el (standard-display-ascii):
1565 * disp-table.el (standard-display-g1): 2111 * disp-table.el (standard-display-g1):
1566 * disp-table.el (standard-display-graphic): 2112 * disp-table.el (standard-display-graphic):
1567 * disp-table.el (standard-display-underline): 2113 * disp-table.el (standard-display-underline):
1568 * disp-table.el (standard-display-european): 2114 * disp-table.el (standard-display-european):
1569 Rework them all to use put-char-table, remove-char-table instead 2115 Rework them all to use put-char-table, remove-char-table instead
1570 of aset. Limit standard-display-g1, standard-display-graphic to 2116 of aset. Limit standard-display-g1, standard-display-graphic to
1571 TTYs; have standard-display-underline work on X11 too. 2117 TTYs; have standard-display-underline work on X11 too.
1572 2118
1573 * font.el (font-caps-display-table): 2119 * font.el (font-caps-display-table):
1574 Use put-char-table instead of aset when editing a display table. 2120 Use put-char-table instead of aset when editing a display table.
1575 * x-init.el: 2121 * x-init.el:
1576 * x-init.el (tab): 2122 * x-init.el (tab):
1577 Create the initial display table as a char-table, not a vector. 2123 Create the initial display table as a char-table, not a vector.
1578 2124
1579 2008-01-20 Aidan Kehoe <kehoea@parhasard.net> 2125 2008-01-20 Aidan Kehoe <kehoea@parhasard.net>
1580 2126
1581 * startup.el (command-line-do-script): New. 2127 * startup.el (command-line-do-script): New.
1582 (command-switch-alist): Use command-line-do-script. 2128 (command-switch-alist): Use command-line-do-script.
1584 the following argument as a file to load in batch mode". 2130 the following argument as a file to load in batch mode".
1585 2131
1586 2008-05-07 Aidan Kehoe <kehoea@parhasard.net> 2132 2008-05-07 Aidan Kehoe <kehoea@parhasard.net>
1587 2133
1588 * mule/latin.el (windows-1250): Add the Central European Windows 2134 * mule/latin.el (windows-1250): Add the Central European Windows
1589 coding system. 2135 coding system.
1590 * mule/mule-win32-init.el: Don't use the Windows-specific CP1250 2136 * mule/mule-win32-init.el: Don't use the Windows-specific CP1250
1591 implementation, rely on that in latin.el instead. 2137 implementation, rely on that in latin.el instead.
1592 2138
1593 2008-05-11 Aidan Kehoe <kehoea@parhasard.net> 2139 2008-05-11 Aidan Kehoe <kehoea@parhasard.net>
1594 2140
1595 * coding.el (query-coding-clear-highlights): 2141 * coding.el (query-coding-clear-highlights):
1596 New function--clear any face information added by 2142 New function--clear any face information added by
1597 `query-coding-region'. 2143 `query-coding-region'.
1598 (default-query-coding-region): Use it. 2144 (default-query-coding-region): Use it.
1599 2145
1600 2008-04-13 Henry S. Thompson <ht@inf.ed.ac.uk>, Mike Sperber <mike@xemacs.org> 2146 2008-04-13 Henry S. Thompson <ht@inf.ed.ac.uk>, Mike Sperber <mike@xemacs.org>
1601 2147
1602 * window-xemacs.el (save-window-excursion/mapping, 2148 * window-xemacs.el (save-window-excursion/mapping,
1603 set-window-configuration/mapping): Add. These function return an 2149 set-window-configuration/mapping): Add. These function return an
1604 alist mapping the window objects from the original window 2150 alist mapping the window objects from the original window
1605 configuration to the window objects corresponding to them in the 2151 configuration to the window objects corresponding to them in the
1606 restored configuration. 2152 restored configuration.
1607 (set-window-configuration): 2153 (set-window-configuration):
1608 (saved-window): 2154 (saved-window):
1609 (root-window->saved-window): 2155 (root-window->saved-window):
1610 (really-set-window-configuration): 2156 (really-set-window-configuration):
1611 (restore-saved-window): Record the mapping for above functions. 2157 (restore-saved-window): Record the mapping for above functions.
1612 2158
1613 2008-04-12 Henry S. Thompson <ht@inf.ed.ac.uk> 2159 2008-04-12 Henry S. Thompson <ht@inf.ed.ac.uk>
1614 2160
1615 * window-xemacs.el (real-split-window, real-delete-window): Define 2161 * window-xemacs.el (real-split-window, real-delete-window): Define
1616 these to the original definitions of `split-window' and 2162 these to the original definitions of `split-window' and
1617 `delete-window', and use them in the window-configuration code to 2163 `delete-window', and use them in the window-configuration code to
1618 make sure it doesn't get affected by advice to these functions. 2164 make sure it doesn't get affected by advice to these functions.
1619 2165
1620 2008-04-10 Aidan Kehoe <kehoea@parhasard.net> 2166 2008-04-10 Aidan Kehoe <kehoea@parhasard.net>
1621 2167
1622 * help.el (describe-function-1): 2168 * help.el (describe-function-1):
1623 Rely on #'symbol-file to tell which file an autoloaded function 2169 Rely on #'symbol-file to tell which file an autoloaded function
1624 belongs to, don't special-case them. 2170 belongs to, don't special-case them.
1625 2171
1626 2008-03-19 Stephen J. Turnbull <stephen@xemacs.org> 2172 2008-03-19 Stephen J. Turnbull <stephen@xemacs.org>
1627 2173
1680 2226
1681 2008-01-21 Aidan Kehoe <kehoea@parhasard.net> 2227 2008-01-21 Aidan Kehoe <kehoea@parhasard.net>
1682 2228
1683 * info.el (Info-suffix-list): 2229 * info.el (Info-suffix-list):
1684 Support LZMA compression, as used--oddly--by Mandriva Linux. 2230 Support LZMA compression, as used--oddly--by Mandriva Linux.
1685 * coding.el (decode-coding-string): 2231 * coding.el (decode-coding-string):
1686 (encode-coding-string): Accept GNU's NOCOPY argument for 2232 (encode-coding-string): Accept GNU's NOCOPY argument for
1687 these. Todo; write compiler macros to use it. 2233 these. Todo; write compiler macros to use it.
1688 (query-coding-warning-face): New face, to show unencodable 2234 (query-coding-warning-face): New face, to show unencodable
1689 characters. 2235 characters.
1690 (default-query-coding-region-safe-charset-skip-chars-map): 2236 (default-query-coding-region-safe-charset-skip-chars-map):
1691 New variable, a cache used by #'default-query-coding-region. 2237 New variable, a cache used by #'default-query-coding-region.
1692 (default-query-coding-region): Default implementation of 2238 (default-query-coding-region): Default implementation of
1693 #'query-coding-region, using the safe-charsets and safe-chars 2239 #'query-coding-region, using the safe-charsets and safe-chars
1694 coding systemproperties. 2240 coding systemproperties.
1695 (query-coding-region): New function; can a given coding system 2241 (query-coding-region): New function; can a given coding system
1696 encode a given region? 2242 encode a given region?
1697 (query-coding-string): New function; can a given coding system 2243 (query-coding-string): New function; can a given coding system
1698 encode a given string? 2244 encode a given string?
1699 (unencodable-char-position): Function API taken from GNU; return 2245 (unencodable-char-position): Function API taken from GNU; return
1700 the first unencodable position given a string and coding system. 2246 the first unencodable position given a string and coding system.
1701 (encode-coding-char): Function API taken from GNU; return CHAR 2247 (encode-coding-char): Function API taken from GNU; return CHAR
1702 encoded using CODING-SYSTEM, or nil if CODING-SYSTEM would trash 2248 encoded using CODING-SYSTEM, or nil if CODING-SYSTEM would trash
1703 CHAR. 2249 CHAR.
1704 ((unless (featurep 'mule)): Override the default 2250 ((unless (featurep 'mule)): Override the default
1705 query-coding-region implementation on non-Mule. 2251 query-coding-region implementation on non-Mule.
1706 * mule/mule-coding.el (make-8-bit-generate-helper): Eliminate a 2252 * mule/mule-coding.el (make-8-bit-generate-helper): Eliminate a
1707 duplicate comment. 2253 duplicate comment.
1708 (make-8-bit-choose-category): Simplify implementation. 2254 (make-8-bit-choose-category): Simplify implementation.
1709 (8-bit-fixed-query-coding-region): Implementation of 2255 (8-bit-fixed-query-coding-region): Implementation of
1710 #'query-coding-region for coding systems created with 2256 #'query-coding-region for coding systems created with
1711 #'make-8-bit-coding-system. 2257 #'make-8-bit-coding-system.
1712 (make-8-bit-coding-system): Initialise the #'query-coding-region 2258 (make-8-bit-coding-system): Initialise the #'query-coding-region
1713 implementation for these character sets. 2259 implementation for these character sets.
1714 (make-8-bit-coding-system): Ditto for the compiler macro version 2260 (make-8-bit-coding-system): Ditto for the compiler macro version
1715 of this function. 2261 of this function.
1716 * unicode.el (unicode-query-coding-skip-chars-arg): New variable, 2262 * unicode.el (unicode-query-coding-skip-chars-arg): New variable,
1717 used by unicode-query-coding-region, initialised in 2263 used by unicode-query-coding-region, initialised in
1718 mule/general-late.el. 2264 mule/general-late.el.
1719 (unicode-query-coding-region): New function, the 2265 (unicode-query-coding-region): New function, the
1720 #'query-coding-region implementation for Unicode coding systems. 2266 #'query-coding-region implementation for Unicode coding systems.
1721 Initialise the query-coding-function property for the Unicode 2267 Initialise the query-coding-function property for the Unicode
1722 coding systems to #'unicode-query-coding-region. 2268 coding systems to #'unicode-query-coding-region.
1723 * mule/mule-charset.el (charset-skip-chars-string): New 2269 * mule/mule-charset.el (charset-skip-chars-string): New
1724 function. Return a #'skip-chars-forward argument that skips all 2270 function. Return a #'skip-chars-forward argument that skips all
1725 characters in CHARSET. 2271 characters in CHARSET.
1726 (map-charset-chars): Function synced from GNU, modified to work 2272 (map-charset-chars): Function synced from GNU, modified to work
1727 with XEmacs. Map FUNC across the int value charset ranges of 2273 with XEmacs. Map FUNC across the int value charset ranges of
1728 CHARSET. 2274 CHARSET.
1729 2275
1730 2008-01-21 Aidan Kehoe <kehoea@parhasard.net> 2276 2008-01-21 Aidan Kehoe <kehoea@parhasard.net>
1731 2277
1732 * info.el (Info-suffix-list): 2278 * info.el (Info-suffix-list):
1733 Support LZMA compression, as used--oddly--by Mandriva Linux. 2279 Support LZMA compression, as used--oddly--by Mandriva Linux.
1734 2280
1735 2008-01-17 Mike Sperber <mike@xemacs.org> 2281 2008-01-17 Mike Sperber <mike@xemacs.org>
1736 2282
1737 * files.el (insert-directory): Bind `coding-system-for-read' to 2283 * files.el (insert-directory): Bind `coding-system-for-read' to
1738 the `file-name' coding system. (Previously, the default ended up 2284 the `file-name' coding system. (Previously, the default ended up