comparison lisp/ChangeLog @ 4569:80e0588fb42f

Merge.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 28 Dec 2008 14:55:02 +0000
parents 69a1eda3da06 1d74a1d115ee
children e6a7054a9c30
comparison
equal deleted inserted replaced
4537:7ca6d57ce12d 4569:80e0588fb42f
1 2008-12-28 Aidan Kehoe <kehoea@parhasard.net>
2
3 * coding.el (default-query-coding-region):
4 Declare using defun*, so we can #'return-from to it on
5 encountering a safe-charsets value of t. Comment out a few
6 debug messages.
7 (query-coding-region):
8 Correct the docstring, it deals with a region, not a string.
9 (unencodable-char-position):
10 Correct the implementation for non-nil COUNT, special-case a zero
11 value for count, treat it as one. Don't rely on dynamic scope when
12 calling the main lambda.
13 * unicode.el (unicode-query-coding-region):
14 Comment out some debug messages here.
15 * mule/mule-coding.el (8-bit-fixed-query-coding-region):
16 Comment out some debug messages here.
17
18 * code-init.el (raw-text):
19 Add a safe-charsets property to this coding system.
20 * mule/korean.el (iso-2022-int-1):
21 * mule/korean.el (euc-kr):
22 * mule/korean.el (iso-2022-kr):
23 Add safe-charsets properties for these coding systems.
24 * mule/japanese.el (iso-2022-jp):
25 * mule/japanese.el (jis7):
26 * mule/japanese.el (jis8):
27 * mule/japanese.el (shift-jis):
28 * mule/japanese.el (iso-2022-jp-1978-irv):
29 * mule/japanese.el (euc-jp):
30 Add safe-charsets properties for all these coding systems.
31 * mule/iso-with-esc.el:
32 Add safe-charsets properties to all the coding systems in
33 here. Comment on the downside of a safe-charsets value of t for
34 iso-latin-1-with-esc.
35 * mule/hebrew.el (ctext-hebrew):
36 Add a safe-charsets property for this coding system.
37 * mule/devanagari.el (in-is13194-devanagari):
38 Add a safe-charsets property for this coding system.
39 * mule/chinese.el (cn-gb-2312):
40 * mule/chinese.el (hz-gb-2312):
41 * mule/chinese.el (big5):
42 Add safe-charsets properties for these coding systems.
43 * mule/latin.el (iso-8859-14):
44 Add an implementation for this, using #'make-8-bit-coding-system.
45 * mule/mule-coding.el (ctext):
46 * mule/mule-coding.el (iso-2022-8bit-ss2):
47 * mule/mule-coding.el (iso-2022-7bit-ss2):
48 * mule/mule-coding.el (iso-2022-jp-2):
49 * mule/mule-coding.el (iso-2022-7bit):
50 * mule/mule-coding.el (iso-2022-8):
51 * mule/mule-coding.el (escape-quoted):
52 * mule/mule-coding.el (iso-2022-lock):
53 Add safe-charsets properties for all these coding systems.
54
1 2008-12-22 Aidan Kehoe <kehoea@parhasard.net> 55 2008-12-22 Aidan Kehoe <kehoea@parhasard.net>
2 56
3 * loadhist.el (symbol-file): 57 * loadhist.el (symbol-file):
4 Add support for differentiating between variables and functions to 58 Add support for differentiating between variables and functions to
5 #'symbol-file. 59 #'symbol-file.
62 116
63 2008-08-23 Aidan Kehoe <kehoea@parhasard.net> 117 2008-08-23 Aidan Kehoe <kehoea@parhasard.net>
64 118
65 * custom.el: Move #'custom-variable-p to C, since it's now called 119 * custom.el: Move #'custom-variable-p to C, since it's now called
66 from #'user-variable-p. 120 from #'user-variable-p.
121
122 2008-08-23 Aidan Kehoe <kehoea@parhasard.net>
123
124 * mule/mule-coding.el (make-8-bit-coding-system):
125 * mule/general-late.el (posix-charset-to-coding-system-hash):
126 Use #'skip-chars-quote as appropriate.
67 127
68 2008-08-09 Aidan Kehoe <kehoea@parhasard.net> 128 2008-08-09 Aidan Kehoe <kehoea@parhasard.net>
69 129
70 * subr.el (skip-chars-quote): New. 130 * subr.el (skip-chars-quote): New.
71 Given STRING, return a string that means that all characters in 131 Given STRING, return a string that means that all characters in
255 Make this a char table of type generic, not of type char. Makes it 315 Make this a char table of type generic, not of type char. Makes it
256 possible to have the relevant logic in #'describe-char reasonably 316 possible to have the relevant logic in #'describe-char reasonably
257 clear; also, and this is undocumented, makes it much easier to 317 clear; also, and this is undocumented, makes it much easier to
258 implement #'frob-unicode-errors-region. I should document this, 318 implement #'frob-unicode-errors-region. I should document this,
259 and revise #'frob-unicode-errors-region. 319 and revise #'frob-unicode-errors-region.
320
321 2008-05-21 Aidan Kehoe <kehoea@parhasard.net>
322
323 * mule/mule-coding.el (make-8-bit-choose-category):
324 Merge my change of 2008-05-14 to the query-coding-region code.
260 325
261 2008-05-14 Stephen J. Turnbull <stephen@xemacs.org> 326 2008-05-14 Stephen J. Turnbull <stephen@xemacs.org>
262 327
263 * subr.el (add-to-list): Fix Aidan's last commit. 328 * subr.el (add-to-list): Fix Aidan's last commit.
264 329
353 * mule/latin.el (windows-1250): Add the Central European Windows 418 * mule/latin.el (windows-1250): Add the Central European Windows
354 coding system. 419 coding system.
355 * mule/mule-win32-init.el: Don't use the Windows-specific CP1250 420 * mule/mule-win32-init.el: Don't use the Windows-specific CP1250
356 implementation, rely on that in latin.el instead. 421 implementation, rely on that in latin.el instead.
357 422
423 2008-05-11 Aidan Kehoe <kehoea@parhasard.net>
424
425 * coding.el (query-coding-clear-highlights):
426 New function--clear any face information added by
427 `query-coding-region'.
428 (default-query-coding-region): Use it.
429
358 2008-04-13 Henry S. Thompson <ht@inf.ed.ac.uk>, Mike Sperber <mike@xemacs.org> 430 2008-04-13 Henry S. Thompson <ht@inf.ed.ac.uk>, Mike Sperber <mike@xemacs.org>
359 431
360 * window-xemacs.el (save-window-excursion/mapping, 432 * window-xemacs.el (save-window-excursion/mapping,
361 set-window-configuration/mapping): Add. These function return an 433 set-window-configuration/mapping): Add. These function return an
362 alist mapping the window objects from the original window 434 alist mapping the window objects from the original window
438 510
439 2008-01-21 Aidan Kehoe <kehoea@parhasard.net> 511 2008-01-21 Aidan Kehoe <kehoea@parhasard.net>
440 512
441 * info.el (Info-suffix-list): 513 * info.el (Info-suffix-list):
442 Support LZMA compression, as used--oddly--by Mandriva Linux. 514 Support LZMA compression, as used--oddly--by Mandriva Linux.
515 * coding.el (decode-coding-string):
516 (encode-coding-string): Accept GNU's NOCOPY argument for
517 these. Todo; write compiler macros to use it.
518 (query-coding-warning-face): New face, to show unencodable
519 characters.
520 (default-query-coding-region-safe-charset-skip-chars-map):
521 New variable, a cache used by #'default-query-coding-region.
522 (default-query-coding-region): Default implementation of
523 #'query-coding-region, using the safe-charsets and safe-chars
524 coding systemproperties.
525 (query-coding-region): New function; can a given coding system
526 encode a given region?
527 (query-coding-string): New function; can a given coding system
528 encode a given string?
529 (unencodable-char-position): Function API taken from GNU; return
530 the first unencodable position given a string and coding system.
531 (encode-coding-char): Function API taken from GNU; return CHAR
532 encoded using CODING-SYSTEM, or nil if CODING-SYSTEM would trash
533 CHAR.
534 ((unless (featurep 'mule)): Override the default
535 query-coding-region implementation on non-Mule.
536 * mule/mule-coding.el (make-8-bit-generate-helper): Eliminate a
537 duplicate comment.
538 (make-8-bit-choose-category): Simplify implementation.
539 (8-bit-fixed-query-coding-region): Implementation of
540 #'query-coding-region for coding systems created with
541 #'make-8-bit-coding-system.
542 (make-8-bit-coding-system): Initialise the #'query-coding-region
543 implementation for these character sets.
544 (make-8-bit-coding-system): Ditto for the compiler macro version
545 of this function.
546 * unicode.el (unicode-query-coding-skip-chars-arg): New variable,
547 used by unicode-query-coding-region, initialised in
548 mule/general-late.el.
549 (unicode-query-coding-region): New function, the
550 #'query-coding-region implementation for Unicode coding systems.
551 Initialise the query-coding-function property for the Unicode
552 coding systems to #'unicode-query-coding-region.
553 * mule/mule-charset.el (charset-skip-chars-string): New
554 function. Return a #'skip-chars-forward argument that skips all
555 characters in CHARSET.
556 (map-charset-chars): Function synced from GNU, modified to work
557 with XEmacs. Map FUNC across the int value charset ranges of
558 CHARSET.
559
560 2008-01-21 Aidan Kehoe <kehoea@parhasard.net>
561
562 * info.el (Info-suffix-list):
563 Support LZMA compression, as used--oddly--by Mandriva Linux.
443 564
444 2008-01-17 Mike Sperber <mike@xemacs.org> 565 2008-01-17 Mike Sperber <mike@xemacs.org>
445 566
446 * files.el (insert-directory): Bind `coding-system-for-read' to 567 * files.el (insert-directory): Bind `coding-system-for-read' to
447 the `file-name' coding system. (Previously, the default ended up 568 the `file-name' coding system. (Previously, the default ended up