X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Futf-2000%2Fmaps-conf.el;h=08eaf30cfcbf4c2a54c40eb36b0dda795a308faa;hb=8e95af7c3fab4d33f38ce60d94fdc0a83f636c6d;hp=8a4ec69d914cb4aa7e4d8c98ee68a7bb42404acd;hpb=a5812bf2ff9a9cf40f4ff78dcb83f5b4c295bd18;p=chise%2Fxemacs-chise.git- diff --git a/lisp/utf-2000/maps-conf.el b/lisp/utf-2000/maps-conf.el index 8a4ec69..08eaf30 100644 --- a/lisp/utf-2000/maps-conf.el +++ b/lisp/utf-2000/maps-conf.el @@ -21,8 +21,22 @@ (map-char-attribute (lambda (c v) - (put-char-attribute (decode-char 'japanese-jisx0208-1990 v) - '=gt-pj-1 v) + (unless (memq v '(#x5C37 #x5C52 #x3521 #x5D62 #x5F4A + #x5F5B #x6062 #x4849 #x6173 #x306B + #x6328 #x6352 #x6362 #x6471 #x6524 + #x6530 #x6549 #x6628 #x4356 #x665C + #x665D #x6661 #x6660 #x6663 #x4F38 + #x666B #x4C2E #x6724 #x3D58 #x682B + #x427B #x4978 #x694A #x303A #x6A44 + #x6B43 #x6B78 #x6C2E #x6C57 #x6D36 + #x6D3A #x3D34 #x4A56 #x3063 #x3D3F + #x6E60 #x6F52 #x6F5C #x3458 #x4262 + #x4E59 #x6F58 #x7051 #x7056 #x375B + #x7123 #x712A #x3142 #x3B41 #x7149 + #x7165 #x7227 #x7233 #x733B #x4E6F + #x7366 #x7367 #x7368 #x736C)) + (put-char-attribute (decode-char 'japanese-jisx0208-1990 v) + '=gt-pj-1 v)) nil) '=gt-pj-1) @@ -49,3 +63,23 @@ (when (setq chr (apply (function make-char) ret)) (put-char-attribute chr '=gt-k i))) (setq i (1+ i)))) + +(let (gt) + (dolist (ccs '(=gt-pj-1 + =gt-pj-2 + =gt-pj-3 + =gt-pj-4 + =gt-pj-5 + =gt-pj-6 + =gt-pj-7 + =gt-pj-8 + =gt-pj-9 + =gt-pj-10 + =gt-pj-11)) + (map-char-attribute + (lambda (c v) + (when (setq gt (encode-char c '=gt)) + (put-char-attribute c '=gt gt) + (put-char-attribute (decode-char ccs v) '=gt gt)) + nil) + ccs)))