Hrvoje Niksic <hniksic(a)xemacs.org> さんは書きました:
Mike FABIAN <mfabian(a)suse.de> writes:
>> (set-input-mode nil nil 'please-leave-8-bit-chars-alone-thankyouverymuch)
>> Obvious, isn't it? :-)
> This still doesn't work for me. In my case 'current-input-mode
> (nil nil t ?\^G)
> i.e. I have the above setting
No you don't, at least not necessarily. Contrary to appearances, the
third argument to set-input-mode is not boolean. According to the
docstring, Its meaning is:
nil -- ignore 8th bit altogether
t -- interpret 8th bit as the meta modifier (the default)
anything else -- just insert 8-bit chars without interpreting them specially.
That is why my example used a funny symbol rather than just t.
Thank you, I see. It still doesn't help much in UTF-8 though, now I
get U+00C3 and U+00B6 inserted when I type a German 'ö'. I.e. the
UTF-8 representation is inserted directly.
Mike FABIAN <mfabian(a)suse.de> http://www.suse.de/~mfabian