how to add support for more Unicode characters?

Mike FABIAN mfabian at suse.de
Wed Jun 15 16:49:27 EDT 2005


Mike FABIAN <mfabian at suse.de> さんは書きました:

>> [... Workaround to define UXXXX keysyms on demand
>>      using set-keymap-default-binding global-map  ...]

Aidan,

I wonder whether a similar workaround is possible for
the Unicode characters which are not yet supported by
XEmacs.

A while ago you explained me the following workaround:

    (make-charset 'suse-private    
                  "Private character set for SUSE"                            
                  '(dimension 2
                    chars 96              
                    columns 1             
                    final ?5 ;; 
                    long-name "Private charset for some Unicode char support."
                    short-name            
                    "Suse-Private"))

    (set-unicode-conversion (make-char 'suse-private #x20 #x20) #x01C0) ;; LATIN LETTER DENTAL CLICK
    [... add all needed characters here ...]


But the list of characters added is a static list here, adding *all*
unsupported characters this way in site-start.el would make the
startup of XEmacs unbearably slow.

Is it possible to call a function when XEmacs encounters an
unsupported character?

If yes, one could probably add unsupported characters to such a
private charset "just in time" when they are first used.

-- 
Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。




More information about the XEmacs-Beta mailing list