From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: handa@m17n.org, emacs-devel@gnu.org
Subject: Re: Meta characters in strings
Date: Sun, 30 Nov 2008 00:35:05 -0500 [thread overview]
Message-ID: <jwvmyfhye13.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <uej0ufc60.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Nov 2008 23:35:35 +0200")
>> > Is this text from the ELisp manual still correct?
>> > Sometimes key sequences are represented as strings. When a string is
>> > a key sequence, string elements in the range 128 to 255 represent meta
>> > characters (which are large integers) rather than character
>> > codes in the range 128 to 255.
>>
>> Almost: it's only true if the string is unibyte.
> That's not what I see:
> (multibyte-char-to-unibyte ?\M-a)
> => wrong-type-argument characterp 134217825
Why do you think this is related to the text you quoted?
> What am I missing?
The text only talks about what happens if you do
(define-key map "\M-a" 'foo)
Note that "\M-a" is a unibyte string whose first byte is 225.
Stefan
prev parent reply other threads:[~2008-11-30 5:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-29 12:03 Meta characters in strings Eli Zaretskii
2008-11-29 19:57 ` Stefan Monnier
2008-11-29 21:35 ` Eli Zaretskii
2008-11-30 5:35 ` Stefan Monnier [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvmyfhye13.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=handa@m17n.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.