[Top][All Lists]

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

bug#4400: 23.1.50; char-syntax

From: Eli Zaretskii
Subject: bug#4400: 23.1.50; char-syntax
Date: Sat, 12 Sep 2009 18:53:51 +0300

> Date: Sat, 12 Sep 2009 10:31:06 +0200
> From: Andreas =?UTF-8?Q?R=C3=B6hler?= <address@hidden>
> Cc: Juanma Barranquero <address@hidden>, address@hidden
> > In Emacs, a character is represented by an integer object
> > (of valid character-code range).
> 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."

In GNU Emacs, characters and integers are one and the same.  So the
text you suggest would make things even more confusing.

A Lisp code that needs to test against character syntax class should
use ?w etc.  ?w is another way to say 119.

reply via email to

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