unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>,
	4400@emacsbugs.donarmstrong.com
Cc: lekktu@gmail.com
Subject: bug#4400: 23.1.50; char-syntax
Date: Sat, 12 Sep 2009 18:53:51 +0300	[thread overview]
Message-ID: <83skesyx9s.fsf@gnu.org> (raw)
In-Reply-To: <4AAB5C4A.4040606@easy-emacs.de>

> Date: Sat, 12 Sep 2009 10:31:06 +0200
> From: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@easy-emacs.de>
> Cc: Juanma Barranquero <lekktu@gmail.com>, 4400@emacsbugs.donarmstrong.com
> 
> > 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	other threads:[~2009-09-12 15:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87pr9nom5d.fsf@stupidchicken.com>
2009-09-11  6:38 ` bug#4400: 23.1.50; char-syntax Andreas Roehler
2009-09-11 10:15   ` Juanma Barranquero
2009-09-11 11:04   ` Kenichi Handa
2009-09-12  8:31     ` Andreas Röhler
2009-09-12 15:53       ` Eli Zaretskii [this message]
2009-09-12 17:16         ` martin rudalics
2009-09-18 23:50   ` bug#4400: marked as done (23.1.50; char-syntax) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83skesyx9s.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=4400@emacsbugs.donarmstrong.com \
    --cc=andreas.roehler@easy-emacs.de \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).