emacs-devel
[Top][All Lists]
Advanced

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

Re: inputting characters by hexadigit


From: Stefan Monnier
Subject: Re: inputting characters by hexadigit
Date: Tue, 29 Jul 2008 14:00:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> Indeed, it's not valid any more.
>> It should probably try something like
>> 
>> (aref (decode-coding-string (unibyte-string char) locale-coding-system) 0)
>> 
>> instead, tho I'd argue that we should drop this feature and insert the
>> corresponding Unicode char instead (which would give the latin-1
>> equivalent as well).

> So is it ok to remove this code or it's better to comment it out?

You can comment it out.

> BTW, there are also warnings in the same function (and few other
> places):

>     In quoted-insert:
>     simple.el:685:22:Warning: `translation-table-for-input' is an obsolete
>         variable (as of Emacs 23.1).

> Could you tell what changes this requires?

None.  This is part of the code that provides the
translation-table-for-input feature, so the obsolescence of that feature
is not directly relevant (except for the fact that that code should
hopefully never be used and will disappear in the future).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]