bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4751: 23.1; `read-char' inserts accented chars when you use `M-' mod


From: Andreas Schwab
Subject: bug#4751: 23.1; `read-char' inserts accented chars when you use `M-' modifier
Date: Mon, 19 Oct 2009 00:36:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

"Drew Adams" <drew.adams@oracle.com> writes:

> emacs -Q
> M-: (read-char "aaa: ")
> Hit `M-a'.
>  
> That returns an `a' char with acute accent - 225 (#o341, #xe1).
> Similarly, for other `Meta' key sequences. `read-char-exclusive' does
> the same thing.
>  
> The doc string does say:
> "If the character has modifiers, they are resolved and reflected to the
> character code if possible (e.g. C-SPC -> 0)."
>  
> That's a bit cryptic ("reflected to the char code"?), but I guess it
> means this has something to do with character encodings?

Like "\M-a" (*note (elisp) Strings of Events::).

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."






reply via email to

[Prev in Thread] Current Thread [Next in Thread]