[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inputting characters by hexadigit
From: |
Chong Yidong |
Subject: |
Re: inputting characters by hexadigit |
Date: |
Tue, 29 Jul 2008 13:33:55 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Juri Linkov <address@hidden> writes:
>>>> From my experience using C-q to input a number was a pain in the echo area.
>>> IMHO, using the minibuffer is more convenient that reading a string
>>> with a sequence of `read-event'. That's why I have doubts about moving
>>
>> Then use C-x 8 RET. No need for us to choose.
>
> I installed a patch that changes `ucs-insert' to read Unicode names.
> Anyone could improve it further with a discussed multi-level
> completion mechanism.
>
> A patch below binds `ucs-insert' to `C-x 8 RET'. I tried to bind RET
> to iso-transl-ctl-x-8-map in iso-transl.el, but then `C-x 8 RET' calls
> `ucs-insert' as a non-interactive function (i.e. ignoring its `interactive'
> declaration). However, `ucs-insert' bound directly to `ctl-x-map' as below
> works without problems.
Look OK to me.
I'm curious, though: by default, when you use C-q to input a number, the
radix is octal; by changing read-quoted-char-radix, you can change this
to decimal or hexadecimal. In contrast, ucs-insert always reads the
code in hexadecimal. I don't use these commands myself, so I'm
wondering which is the preferred behavior (based on the defaults in
other applications, and so forth)?
- Re: inputting characters by hexadigit, (continued)
- Re: inputting characters by hexadigit, Miles Bader, 2008/07/23
- RE: inputting characters by hexadigit, Drew Adams, 2008/07/22
- Re: inputting characters by hexadigit, Ted Zlatanov, 2008/07/23
- Re: inputting characters by hexadigit, Lennart Borgman (gmail), 2008/07/23
- RE: inputting characters by hexadigit, Drew Adams, 2008/07/23
- Re: inputting characters by hexadigit, Juri Linkov, 2008/07/23
- Re: inputting characters by hexadigit, Stefan Monnier, 2008/07/23
- Re: inputting characters by hexadigit, Juri Linkov, 2008/07/23
- Re: inputting characters by hexadigit, Stefan Monnier, 2008/07/23
- Re: inputting characters by hexadigit, Juri Linkov, 2008/07/29
- Re: inputting characters by hexadigit,
Chong Yidong <=
- Re: inputting characters by hexadigit, Juri Linkov, 2008/07/29
- Re: inputting characters by hexadigit, Stefan Monnier, 2008/07/29
- Re: inputting characters by hexadigit, Chong Yidong, 2008/07/29
- Re: inputting characters by hexadigit, Juri Linkov, 2008/07/30
- Re: inputting characters by hexadigit, Ted Zlatanov, 2008/07/31
- Re: describe-char should display the character's Unicode name, Kenichi Handa, 2008/07/17
- Re: describe-char should display the character's Unicode name, Miles Bader, 2008/07/17
- Re: describe-char should display the character's Unicode name, Ted Zlatanov, 2008/07/18
- RE: describe-char should display the character's Unicode name, Drew Adams, 2008/07/18
- Re: describe-char should display the character's Unicode name, Stefan Monnier, 2008/07/18