unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Andreas Roehler <andreas.roehler@online.de>
Cc: 4400@emacsbugs.donarmstrong.com
Subject: bug#4400: 23.1.50; char-syntax
Date: Fri, 11 Sep 2009 12:15:42 +0200	[thread overview]
Message-ID: <f7ccd24b0909110315k6ec5095fo78ad8c630b2fccd6@mail.gmail.com> (raw)
In-Reply-To: <4AA9F057.5080507@online.de>

On Fri, Sep 11, 2009 at 08:38, Andreas Roehler
<andreas.roehler@online.de> wrote:
>
> 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.

But 119 is `w'...

ELISP> (char-syntax ?a)
119
ELISP> ?w
119

Perhaps you were expecting `char-syntax' to return a string with the
syntax code, i.e., "w"?

    Juanma





  reply	other threads:[~2009-09-11 10:15 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 [this message]
2009-09-11 11:04   ` Kenichi Handa
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=f7ccd24b0909110315k6ec5095fo78ad8c630b2fccd6@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=4400@emacsbugs.donarmstrong.com \
    --cc=andreas.roehler@online.de \
    /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).