* entering Unicode characters as hex numbers not documented
@ 2006-06-01 7:20 Werner LEMBERG
2006-06-01 12:23 ` Eli Zaretskii
` (3 more replies)
0 siblings, 4 replies; 30+ messages in thread
From: Werner LEMBERG @ 2006-06-01 7:20 UTC (permalink / raw)
Please add documentation and index entries (for `unicode', `ucs',
`utf-8', etc.) for the function `ucs-insert'! IMHO this is a very
essential function, and after the release it will become quite
important, I think.
Werner
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-01 7:20 entering Unicode characters as hex numbers not documented Werner LEMBERG
@ 2006-06-01 12:23 ` Eli Zaretskii
2006-06-01 14:46 ` Werner LEMBERG
2006-06-01 12:24 ` Eli Zaretskii
` (2 subsequent siblings)
3 siblings, 1 reply; 30+ messages in thread
From: Eli Zaretskii @ 2006-06-01 12:23 UTC (permalink / raw)
Cc: emacs-devel
> Date: Thu, 01 Jun 2006 09:20:45 +0200 (CEST)
> From: Werner LEMBERG <wl@gnu.org>
>
> Please add documentation and index entries (for `unicode', `ucs',
> `utf-8', etc.) for the function `ucs-insert'! IMHO this is a very
> essential function, and after the release it will become quite
> important, I think.
Evidently, someone thinks that it's not worth documenting, since it is
marked as such in etc/NEWS.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-01 12:23 ` Eli Zaretskii
@ 2006-06-01 14:46 ` Werner LEMBERG
2006-06-01 20:38 ` Eli Zaretskii
0 siblings, 1 reply; 30+ messages in thread
From: Werner LEMBERG @ 2006-06-01 14:46 UTC (permalink / raw)
Cc: emacs-devel
> > Please add documentation and index entries (for `unicode', `ucs',
> > `utf-8', etc.) for the function `ucs-insert'! IMHO this is a very
> > essential function, and after the release it will become quite
> > important, I think.
>
> Evidently, someone thinks that it's not worth documenting, since it is
> marked as such in etc/NEWS.
Hmmm. I don't understand this decision. How shall Joe User find this
function? Even I who am quite accustomed to the Emacs source files
had to search for more than 10 minutes because the function's name
neither has `unicode' nor `code' nor `character' in its name, and an
`apropos unicode' doesn't give anything useful. I didn't give up
because I *knew* that there is such a function but forgot its name.
Additionally, there are a lot of Unicode characters which aren't
accessible with quial input methods. How do you enter such characters
then if not with `ucs-insert'?
Werner
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-01 14:46 ` Werner LEMBERG
@ 2006-06-01 20:38 ` Eli Zaretskii
2006-06-01 21:25 ` Werner LEMBERG
0 siblings, 1 reply; 30+ messages in thread
From: Eli Zaretskii @ 2006-06-01 20:38 UTC (permalink / raw)
Cc: emacs-devel
> Date: Thu, 01 Jun 2006 16:46:50 +0200 (CEST)
> Cc: emacs-devel@gnu.org
> From: Werner LEMBERG <wl@gnu.org>
>
> How shall Joe User find this function?
I don't know who decided that and why, but are you saying that we
should document every single command in the manual?
> Even I who am quite accustomed to the Emacs source files
> had to search for more than 10 minutes because the function's name
> neither has `unicode' nor `code' nor `character' in its name, and an
> `apropos unicode' doesn't give anything useful.
If `apropos' doesn't find something, try `apropos-documentation',
which searches the doc strings, not only the symbols' names.
> Additionally, there are a lot of Unicode characters which aren't
> accessible with quial input methods. How do you enter such characters
> then if not with `ucs-insert'?
Examples will help. In general, characters that are very popular
should be added to the respective input methods.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-01 20:38 ` Eli Zaretskii
@ 2006-06-01 21:25 ` Werner LEMBERG
2006-06-01 21:36 ` Werner LEMBERG
0 siblings, 1 reply; 30+ messages in thread
From: Werner LEMBERG @ 2006-06-01 21:25 UTC (permalink / raw)
Cc: emacs-devel
[-- Attachment #1: Type: Text/Plain, Size: 1731 bytes --]
> > How shall Joe User find this function?
>
> I don't know who decided that and why, but are you saying that we
> should document every single command in the manual?
Please don't generalize what I've written. This particular function
is so important IMHO that it deserves an entry in the manual, and it
should be inserted at a very prominent place. For comparison, even
Windows has a similar function which is well documented -- and these
guys have paid millions of dollars to find out what users need...
> If `apropos' doesn't find something, try `apropos-documentation',
> which searches the doc strings, not only the symbols' names.
Good point, thanks! I wasn't aware of this function which is
extremely helpful.
> > Additionally, there are a lot of Unicode characters which aren't
> > accessible with quial input methods. How do you enter such
> > characters then if not with `ucs-insert'?
>
> Examples will help.
??? What kind of examples do you mean?
> In general, characters that are very popular should be added to the
> respective input methods.
I'm not sure whether we are talking about the same thing. For
example, I have been asked more than once how to find the Chinese
character with the highest number of strokes. This particular
character doesn't have a known reading, and it isn't covered by *any*
input methods which are part of Emacs. The same holds for at least
10000 other Chinese characters, especially the recent additions from
Unicode 4.0.
Werner
PS: The character in question is U+2A6A5 (�, CNS plane 5, character
0x7C51), four times the symbol for `dragon'; it consists of 64
strokes. Now tell me how you would input this.
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-01 7:20 entering Unicode characters as hex numbers not documented Werner LEMBERG
2006-06-01 12:23 ` Eli Zaretskii
@ 2006-06-01 12:24 ` Eli Zaretskii
2006-06-01 12:57 ` David Kastrup
2006-06-01 14:48 ` Werner LEMBERG
2006-06-01 23:59 ` Juri Linkov
2006-06-02 2:39 ` Kenichi Handa
3 siblings, 2 replies; 30+ messages in thread
From: Eli Zaretskii @ 2006-06-01 12:24 UTC (permalink / raw)
Cc: emacs-devel
> Date: Thu, 01 Jun 2006 09:20:45 +0200 (CEST)
> From: Werner LEMBERG <wl@gnu.org>
>
> Please add documentation and index entries (for `unicode', `ucs',
> `utf-8', etc.) for the function `ucs-insert'!
Btw, why did you ask for an index entry `utf-8'? This function has
nothing to do with UTF-8.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-01 12:24 ` Eli Zaretskii
@ 2006-06-01 12:57 ` David Kastrup
2006-06-01 17:19 ` Eli Zaretskii
2006-06-01 14:48 ` Werner LEMBERG
1 sibling, 1 reply; 30+ messages in thread
From: David Kastrup @ 2006-06-01 12:57 UTC (permalink / raw)
Cc: emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Thu, 01 Jun 2006 09:20:45 +0200 (CEST)
>> From: Werner LEMBERG <wl@gnu.org>
>>
>> Please add documentation and index entries (for `unicode', `ucs',
>> `utf-8', etc.) for the function `ucs-insert'!
>
> Btw, why did you ask for an index entry `utf-8'? This function has
> nothing to do with UTF-8.
Except for the hoi polloi, for which a character set and its encoding
are synonymous. We are going to have a lot of fun with explaining
that difference in Emacs 23...
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-01 12:24 ` Eli Zaretskii
2006-06-01 12:57 ` David Kastrup
@ 2006-06-01 14:48 ` Werner LEMBERG
2006-06-01 20:32 ` Eli Zaretskii
1 sibling, 1 reply; 30+ messages in thread
From: Werner LEMBERG @ 2006-06-01 14:48 UTC (permalink / raw)
Cc: emacs-devel
> Btw, why did you ask for an index entry `utf-8'? This function has
> nothing to do with UTF-8.
David has answered this. It's far easier IMHO to provide a `wrong'
index entry than making Joe User learn the distinction between a
character set and an encoding.
Werner
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-01 14:48 ` Werner LEMBERG
@ 2006-06-01 20:32 ` Eli Zaretskii
2006-06-01 20:43 ` David Kastrup
0 siblings, 1 reply; 30+ messages in thread
From: Eli Zaretskii @ 2006-06-01 20:32 UTC (permalink / raw)
Cc: emacs-devel
> Date: Thu, 01 Jun 2006 16:48:19 +0200 (CEST)
> From: Werner LEMBERG <wl@gnu.org>
> Cc: emacs-devel@gnu.org
>
> > Btw, why did you ask for an index entry `utf-8'? This function has
> > nothing to do with UTF-8.
>
> David has answered this. It's far easier IMHO to provide a `wrong'
> index entry than making Joe User learn the distinction between a
> character set and an encoding.
We shouldn't cater only to the ignorant. If I type "i utf-8 RET" and
land on the page that describes ucs-insert, I don't want to waste time
looking for information that just isn't there.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-01 20:32 ` Eli Zaretskii
@ 2006-06-01 20:43 ` David Kastrup
2006-06-01 20:58 ` Eli Zaretskii
0 siblings, 1 reply; 30+ messages in thread
From: David Kastrup @ 2006-06-01 20:43 UTC (permalink / raw)
Cc: emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Thu, 01 Jun 2006 16:48:19 +0200 (CEST)
>> From: Werner LEMBERG <wl@gnu.org>
>> Cc: emacs-devel@gnu.org
>>
>> > Btw, why did you ask for an index entry `utf-8'? This function has
>> > nothing to do with UTF-8.
>>
>> David has answered this. It's far easier IMHO to provide a `wrong'
>> index entry than making Joe User learn the distinction between a
>> character set and an encoding.
>
> We shouldn't cater only to the ignorant.
It is the ignorant who need to consult a manual in the first place.
> If I type "i utf-8 RET" and land on the page that describes
> ucs-insert, I don't want to waste time looking for information that
> just isn't there.
The time to press `,' is not exactly taxing for a cognoscente.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-01 20:43 ` David Kastrup
@ 2006-06-01 20:58 ` Eli Zaretskii
0 siblings, 0 replies; 30+ messages in thread
From: Eli Zaretskii @ 2006-06-01 20:58 UTC (permalink / raw)
Cc: emacs-devel
> Cc: Werner LEMBERG <wl@gnu.org>, emacs-devel@gnu.org
> From: David Kastrup <dak@gnu.org>
> Date: Thu, 01 Jun 2006 22:43:20 +0200
>
> > We shouldn't cater only to the ignorant.
>
> It is the ignorant who need to consult a manual in the first place.
No, everybody needs to consult a manual. The only exceptions are
those super-humans who can remember a 600-page manual by heart.
> > If I type "i utf-8 RET" and land on the page that describes
> > ucs-insert, I don't want to waste time looking for information that
> > just isn't there.
>
> The time to press `,' is not exactly taxing for a cognoscente.
I was talking about the time it takes to read and re-read the node,
searching in vain where it talks about UTF. I have a bad habit of
trusting the index, so if it says there's something about UTF, I'll
try hard to find it.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-01 7:20 entering Unicode characters as hex numbers not documented Werner LEMBERG
2006-06-01 12:23 ` Eli Zaretskii
2006-06-01 12:24 ` Eli Zaretskii
@ 2006-06-01 23:59 ` Juri Linkov
2006-06-02 2:39 ` Kenichi Handa
3 siblings, 0 replies; 30+ messages in thread
From: Juri Linkov @ 2006-06-01 23:59 UTC (permalink / raw)
Cc: emacs-devel
> Please add documentation and index entries (for `unicode', `ucs',
> `utf-8', etc.) for the function `ucs-insert'! IMHO this is a very
> essential function, and after the release it will become quite
> important, I think.
One alternative to documenting this command is installing the patch that
allows C-q (`quoted-insert') to read Unicode characters as hex numbers and
insert them using `ucs-insert' function.
See http://lists.gnu.org/archive/html/bug-gnu-emacs/2005-06/msg00219.html.
--
Juri Linkov
http://www.jurta.org/emacs/
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-01 7:20 entering Unicode characters as hex numbers not documented Werner LEMBERG
` (2 preceding siblings ...)
2006-06-01 23:59 ` Juri Linkov
@ 2006-06-02 2:39 ` Kenichi Handa
2006-06-02 4:09 ` Werner LEMBERG
2006-06-02 9:27 ` Juri Linkov
3 siblings, 2 replies; 30+ messages in thread
From: Kenichi Handa @ 2006-06-02 2:39 UTC (permalink / raw)
Werner LEMBERG <wl@gnu.org> writes:
> Additionally, there are a lot of Unicode characters which aren't
> accessible with quial input methods. How do you enter such characters
> then if not with `ucs-insert'?
At least, you can use the input method "ucs" (leim/quail/uni-input.el).
Input method: ucs (mode line indicator:U)
Input as Unicode: U<hex> or u<hex>, where <hex> is a four-digit hex number.
---
Kenichi Handa
handa@m17n.org
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-02 2:39 ` Kenichi Handa
@ 2006-06-02 4:09 ` Werner LEMBERG
2006-06-02 9:27 ` Juri Linkov
1 sibling, 0 replies; 30+ messages in thread
From: Werner LEMBERG @ 2006-06-02 4:09 UTC (permalink / raw)
Cc: emacs-devel
> At least, you can use the input method "ucs" (leim/quail/uni-input.el).
>
> Input method: ucs (mode line indicator:U)
Ah, ok. Perhaps *this* can be documented...
Werner
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-02 2:39 ` Kenichi Handa
2006-06-02 4:09 ` Werner LEMBERG
@ 2006-06-02 9:27 ` Juri Linkov
2006-06-02 13:54 ` Werner LEMBERG
1 sibling, 1 reply; 30+ messages in thread
From: Juri Linkov @ 2006-06-02 9:27 UTC (permalink / raw)
Cc: emacs-devel
> At least, you can use the input method "ucs" (leim/quail/uni-input.el).
>
> Input method: ucs (mode line indicator:U)
>
> Input as Unicode: U<hex> or u<hex>, where <hex> is a four-digit hex number.
On a par with the recent proposal about \uXXXX and \UXXXXXXXX notation,
shouldn't this input method differentiate between upper- and lower-case
variants, and accept U<hex> with a 8-digit hex number?
--
Juri Linkov
http://www.jurta.org/emacs/
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-02 9:27 ` Juri Linkov
@ 2006-06-02 13:54 ` Werner LEMBERG
2006-06-03 6:43 ` Juri Linkov
0 siblings, 1 reply; 30+ messages in thread
From: Werner LEMBERG @ 2006-06-02 13:54 UTC (permalink / raw)
Cc: emacs-devel, handa
> > Input method: ucs (mode line indicator:U)
> >
> > Input as Unicode: U<hex> or u<hex>, where <hex> is a four-digit hex number.
>
> On a par with the recent proposal about \uXXXX and \UXXXXXXXX
> notation, shouldn't this input method differentiate between upper-
> and lower-case variants, and accept U<hex> with a 8-digit hex
> number?
Hmm, 6 hex digits are sufficient to cover Unicode. I think that
within that input encoding, *any* number of 1-6 hex digits should be
valid.
Werner
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: entering Unicode characters as hex numbers not documented
2006-06-02 13:54 ` Werner LEMBERG
@ 2006-06-03 6:43 ` Juri Linkov
0 siblings, 0 replies; 30+ messages in thread
From: Juri Linkov @ 2006-06-03 6:43 UTC (permalink / raw)
Cc: emacs-devel, handa
>> > Input method: ucs (mode line indicator:U)
>> >
>> > Input as Unicode: U<hex> or u<hex>, where <hex> is a four-digit hex number.
>>
>> On a par with the recent proposal about \uXXXX and \UXXXXXXXX
>> notation, shouldn't this input method differentiate between upper-
>> and lower-case variants, and accept U<hex> with a 8-digit hex
>> number?
>
> Hmm, 6 hex digits are sufficient to cover Unicode. I think that
> within that input encoding, *any* number of 1-6 hex digits should be
> valid.
If you mean that any non-digit character should terminate the input
like in most other multi-character input methods, then I agree.
--
Juri Linkov
http://www.jurta.org/emacs/
^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2006-06-05 13:05 UTC | newest]
Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-01 7:20 entering Unicode characters as hex numbers not documented Werner LEMBERG
2006-06-01 12:23 ` Eli Zaretskii
2006-06-01 14:46 ` Werner LEMBERG
2006-06-01 20:38 ` Eli Zaretskii
2006-06-01 21:25 ` Werner LEMBERG
2006-06-01 21:36 ` Werner LEMBERG
2006-06-01 21:46 ` Werner LEMBERG
2006-06-01 21:56 ` Werner LEMBERG
2006-06-01 12:24 ` Eli Zaretskii
2006-06-01 12:57 ` David Kastrup
2006-06-01 17:19 ` Eli Zaretskii
2006-06-01 17:29 ` David Kastrup
2006-06-02 3:13 ` Richard Stallman
2006-06-02 4:08 ` Werner LEMBERG
2006-06-02 8:12 ` Eli Zaretskii
2006-06-02 13:56 ` Werner LEMBERG
2006-06-02 22:00 ` Kevin Rodgers
2006-06-02 22:05 ` Drew Adams
2006-06-05 13:05 ` Kenichi Handa
2006-06-02 22:39 ` Chong Yidong
2006-06-01 14:48 ` Werner LEMBERG
2006-06-01 20:32 ` Eli Zaretskii
2006-06-01 20:43 ` David Kastrup
2006-06-01 20:58 ` Eli Zaretskii
2006-06-01 23:59 ` Juri Linkov
2006-06-02 2:39 ` Kenichi Handa
2006-06-02 4:09 ` Werner LEMBERG
2006-06-02 9:27 ` Juri Linkov
2006-06-02 13:54 ` Werner LEMBERG
2006-06-03 6:43 ` Juri Linkov
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).