bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#4400: 23.1.50; char-syntax


From: Andreas Röhler
Subject: bug#4400: 23.1.50; char-syntax
Date: Sat, 12 Sep 2009 10:31:06 +0200
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

Kenichi Handa wrote:
> In article <4AA9F057.5080507@online.de>, Andreas Roehler 
> <andreas.roehler@online.de> writes:
>
>   
>> Emacs -Q
>>     
>
>   
>> (char-syntax (char-after))a
>> --> 119
>>     
>
>   
>> which seems not what's told in docu:
>>     
>
>   
>> Return the syntax code of CHARACTER, described by a character.
>> For example, if CHARACTER is a word constituent,
>> the character `w' is returned.
>>     
>
> The character `w' == 119.
>
> In Emacs, a character is represented by an integer object
> (of valid character-code range).
>
> ---
> Kenichi Handa
> handa@m17n.org
>
>
>
>
>   

Thanks.
Seems I have difficulties with understanding.
What if docu would say:

"For example, if CHARACTER is a word constituent, `119' is returned."

or maybe still better

"For example, if CHARACTER is a word constituent, numeric value of character 
`w' is returned, which is 
`119' in Emacs internal representation."

BTW:

Can't Emacs have more internal representations of `w' with Unicode?


Andreas





reply via email to

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