unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#8479: 24.0.50; Strange error message upon M-z M-z
Date: Wed, 13 Apr 2011 20:05:40 -0600	[thread overview]
Message-ID: <io5kp7$30b$1@dough.gmane.org> (raw)
In-Reply-To: <E1Q9We3-0005ie-Kl@fencepost.gnu.org>

On 4/12/11 12:00 AM, Eli Zaretskii wrote:
>> From: Kevin Rodgers<kevin.d.rodgers@gmail.com>
>> Date: Mon, 11 Apr 2011 23:15:50 -0600
>>
>> Yes, but why is M-z not a character?
>
> Because the "M-" part sets bits in the area outside the valid range of
> character code points.

This is what I was looking for, in the Meta-Character Syntax section of the
Emacs Lisp manual:

A "meta character" is a character typed with the <META> modifier key.
The integer that represents such a character has the 2**27 bit set.  We
use high bits for this and other modifiers to make possible a wide
range of basic character codes.

    In a string, the 2**7 bit attached to an ASCII character indicates a
meta character; thus, the meta characters that can fit in a string have
codes in the range from 128 to 255, and are the meta versions of the
ordinary ASCII characters.  *Note Strings of Events::, for details
about <META>-handling in strings.

-- 
Kevin Rodgers
Denver, Colorado, USA






  reply	other threads:[~2011-04-14  2:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-11 16:01 bug#8479: 24.0.50; Strange error message upon M-z M-z David Kastrup
2011-04-11 16:56 ` Eli Zaretskii
2011-10-07  6:59   ` Glenn Morris
2011-10-07 12:17     ` Eli Zaretskii
2011-10-08 21:07     ` Glenn Morris
2011-04-11 22:10 ` Andy Moreton
2011-04-12  5:15   ` Kevin Rodgers
2011-04-12  6:00     ` Eli Zaretskii
2011-04-14  2:05       ` Kevin Rodgers [this message]
2011-04-15  1:17     ` Stefan Monnier

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='io5kp7$30b$1@dough.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=bug-gnu-emacs@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).