aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2002-09-04 08:17:23 +0000
committerKenichi Handa2002-09-04 08:17:23 +0000
commit1e7f6327e3311487515d0b92bd36de08a691c90b (patch)
tree7d7cdaf8e704a642029a791eec78fc8326718d4f
parent6218196f53890745083ad995b4b63b82cac246c5 (diff)
downloademacs-1e7f6327e3311487515d0b92bd36de08a691c90b.tar.gz
emacs-1e7f6327e3311487515d0b92bd36de08a691c90b.zip
(decode-char): Translate a character by
utf-8-translation-table-for-decode only when utf-8-fragment-on-decoding is non-nil.
-rw-r--r--lisp/ChangeLog20
-rw-r--r--lisp/international/mule.el12
2 files changed, 23 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2cb6d8e4021..e8cf59eade8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,9 +1,15 @@
12002-09-04 Kenichi Handa <handa@etl.go.jp>
2
3 * international/mule.el (decode-char): Translate a character by
4 utf-8-translation-table-for-decode only when
5 utf-8-fragment-on-decoding is non-nil.
6
12002-09-02 Stefan Monnier <monnier@cs.yale.edu> 72002-09-02 Stefan Monnier <monnier@cs.yale.edu>
2 8
3 * mail/sendmail.el (mail-mode): Don't set local-abbrev-table. 9 * mail/sendmail.el (mail-mode): Don't set local-abbrev-table.
4 (mail-mode-abbrev-table): Set to text-mode-abbrev-table. 10 (mail-mode-abbrev-table): Set to text-mode-abbrev-table.
5 11
62002-09-02 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 122002-09-02 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7 13
8 * net/tramp.el: Version 2.0.15 released. 14 * net/tramp.el: Version 2.0.15 released.
9 (require 'base64): Most modern Emacsen have the base64 15 (require 'base64): Most modern Emacsen have the base64
@@ -385,7 +391,7 @@
385 Always call x-focus-frame, if using x. 391 Always call x-focus-frame, if using x.
386 Use set-mouse-position on all systems, if focus-follows-mouse. 392 Use set-mouse-position on all systems, if focus-follows-mouse.
387 393
3882002-08-22 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 3942002-08-22 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
389 395
390 * net/tramp.el: Version 2.0.14 released. 396 * net/tramp.el: Version 2.0.14 released.
391 (tramp-shell-prompt-pattern): New variable. 397 (tramp-shell-prompt-pattern): New variable.
@@ -420,7 +426,7 @@
420 pushing mark. 426 pushing mark.
421 (f90-abbrev-start): unread-command-event is obsolete in XEmacs. 427 (f90-abbrev-start): unread-command-event is obsolete in XEmacs.
422 428
4232002-08-21 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 4292002-08-21 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
424 430
425 * tramp.el: Version 2.0.13 released. 431 * tramp.el: Version 2.0.13 released.
426 (tramp-handle-write-region): Don't check to see if remote end is 432 (tramp-handle-write-region): Don't check to see if remote end is
@@ -711,7 +717,7 @@
711 717
712 * wid-browse.el (widget-minor-mode): Fix doc typo. 718 * wid-browse.el (widget-minor-mode): Fix doc typo.
713 719
7142002-08-07 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 7202002-08-07 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
715 721
716 * net/tramp.el: Version 2.0.12 released. 722 * net/tramp.el: Version 2.0.12 released.
717 (tramp-find-shell, tramp-open-connection-setup-interactive-shell): 723 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
@@ -789,7 +795,7 @@
789 795
790 * image.el (image-jpeg-p): Accept "Exif" marker. 796 * image.el (image-jpeg-p): Accept "Exif" marker.
791 797
7922002-08-05 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 7982002-08-05 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
793 799
794 * net/tramp.el: Version 2.0.11 released. 800 * net/tramp.el: Version 2.0.11 released.
795 (tramp-perl-file-attributes): Print uid and gid as signed integers. 801 (tramp-perl-file-attributes): Print uid and gid as signed integers.
@@ -811,7 +817,7 @@
811 817
812 * startup.el (fancy-splash-frame): Check selected frame last. 818 * startup.el (fancy-splash-frame): Check selected frame last.
813 819
8142002-08-04 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 8202002-08-04 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
815 821
816 * net/tramp.el: Version 2.0.10 released. 822 * net/tramp.el: Version 2.0.10 released.
817 (tramp-uudecode): New shell function `tramp_uudecode' to decode to 823 (tramp-uudecode): New shell function `tramp_uudecode' to decode to
@@ -824,7 +830,7 @@
824 (tramp-coding-commands): Add an alternative for `tramp_uudecode'. 830 (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
825 (tramp-bug): Include more variables in the report. 831 (tramp-bug): Include more variables in the report.
826 832
8272002-08-04 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 8332002-08-04 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
828 834
829 * net/tramp.el: Version 2.0.9 released. 835 * net/tramp.el: Version 2.0.9 released.
830 (tramp-bug): Add wording about additional info to include in bug 836 (tramp-bug): Add wording about additional info to include in bug
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index e937d11030e..8b1dbf89762 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -308,7 +308,8 @@ See also the documentation of `make-char'."
308Return nil if such a character is not supported. 308Return nil if such a character is not supported.
309Currently the only supported coded character set is `ucs' (ISO/IEC 309Currently the only supported coded character set is `ucs' (ISO/IEC
31010646: Universal Multi-Octet Coded Character Set), and the result is 31010646: Universal Multi-Octet Coded Character Set), and the result is
311translated through the char table `utf-8-translation-table-for-decode'. 311translated through the char table `utf-8-translation-table-for-decode'
312if the variable `utf-8-fragment-on-decoding' is non-nil.
312 313
313Optional argument RESTRICTION specifies a way to map the pair of CCS 314Optional argument RESTRICTION specifies a way to map the pair of CCS
314and CODE-POINT to a character. Currently not supported and just ignored." 315and CODE-POINT to a character. Currently not supported and just ignored."
@@ -331,7 +332,9 @@ and CODE-POINT to a character. Currently not supported and just ignored."
331 (setq code-point (- code-point #xe000)) 332 (setq code-point (- code-point #xe000))
332 (make-char 'mule-unicode-e000-ffff 333 (make-char 'mule-unicode-e000-ffff
333 (+ (/ code-point 96) 32) (+ (% code-point 96) 32)))))) 334 (+ (/ code-point 96) 32) (+ (% code-point 96) 32))))))
334 (if (and c (aref utf-8-translation-table-for-decode c)) 335 (if (and c
336 utf-8-fragment-on-decoding
337 (aref utf-8-translation-table-for-decode c))
335 (aref utf-8-translation-table-for-decode c) 338 (aref utf-8-translation-table-for-decode c)
336 c))))) 339 c)))))
337 340
@@ -843,6 +846,11 @@ following properties are recognized:
843 In the former case, the integer value is a valid byte code. In the 846 In the former case, the integer value is a valid byte code. In the
844 latter case, the integers specify the range of valid byte codes. 847 latter case, the integers specify the range of valid byte codes.
845 848
849 o composition (meaningful only when TYPE is 0 or 2)
850
851 If the value is non-nil, the coding system preserves information of
852 composition.
853
846These properties are set in PLIST, a property list. This function 854These properties are set in PLIST, a property list. This function
847also sets properties `coding-category' and `alias-coding-systems' 855also sets properties `coding-category' and `alias-coding-systems'
848automatically. 856automatically.