[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[m17n-lib:00355] Re: mim syntax: mapping XKB non-ascii to non-ascii



> > ("b" "[b]")                      ;; yes
> > ((aacute) "[aacute]")            ;; no
> > ((c) "[LATIN_SMALL_LETTER_C]")   ;; yes
> > ((C) "[LATIN_CAPITAL_LETTER_C]") ;; yes
> > ((space) "[SPACE]")              ;; no
> > ((0) "[0]")                      ;; no
> > ((at) "[@]")                     ;; no
> 
> > Apparently, letters work both as strings and as symbols ("b" and (c)).
> > For non-letter characters, like @ (I tried both (at) and "@", not at the
> > same time), neither works.
> 
> The only strange part about your result is that (accute)
> didn't work.   Did you get the actual aacute character instead of the
> string "[accute]"?

I would expect the other symbols (like (c) and (space) and (dollar))
work also, at least as those are the key names given by the
keysymdefs.h, as you explained earlier. Never mind, that has no
importance at this moment.

> Please try this.
> 
> % killall scim-launcher
> % MDEBUG_OUTPUT_FILE=/tmp/m17n-log MDEBUG_INPUT=1 GTK_IM_MODULE=scim gedit

Huh, I did and it works nowâ unfortunately, I am unable to say what
caused the change since AFAIK there were no upgrades here meanwhile..??!
I will try yet with the another machine where I had the same trouble,
hoping that it does NOT work there ;-) so that I don't turn out as a
complete idiotâ

The whole map therefore looks thusly (Jens: there is a XKB latin keymap in
current xfree86, though not in xorg. Contributing the following no-brainer
makes no sense, though it may be useful as an example of how to cook up
a simple mapping). I am impressed with the ease of use of m17n now :-)

  	((aacute) "Ä")
	((eacute) "Ä")
	((iacute) "Ä")
	((dead_acute o) "Å")
	;; symbols produced with dead keys (which is the case for "Ã" (oacute) on
	;; Czech keyboard) do not work directly
  	((Aacute) "Ä")
	((Eacute) "Ä")
	((Iacute) "Ä")
	((dead_acute O) "Å")

Kenichi (I am never sure which way are the names put in Japanese, so I
hope that is the given name), I appreciate your help a lot. With kind
regards,

Vaclav Smilauer