unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Andreas Roehler <andreas.roehler@online.de>,
	4400@emacsbugs.donarmstrong.com
Cc: emacs-pretest-bug@gnu.org
Subject: bug#4400: 23.1.50; char-syntax
Date: Fri, 11 Sep 2009 20:04:32 +0900	[thread overview]
Message-ID: <tl7ocphn3nj.fsf@m17n.org> (raw)
In-Reply-To: <4AA9F057.5080507@online.de> (message from Andreas Roehler on Fri, 11 Sep 2009 08:38:15 +0200)

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





  parent reply	other threads:[~2009-09-11 11:04 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 [this message]
2009-09-12  8:31     ` Andreas Röhler
2009-09-12 15:53       ` Eli Zaretskii
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=tl7ocphn3nj.fsf@m17n.org \
    --to=handa@m17n.org \
    --cc=4400@emacsbugs.donarmstrong.com \
    --cc=andreas.roehler@online.de \
    --cc=emacs-pretest-bug@gnu.org \
    /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).