unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* kbd vs read-key-sequence
@ 2007-02-28 22:27 Juanma Barranquero
  2007-02-28 22:40 ` Andreas Schwab
  0 siblings, 1 reply; 97+ messages in thread
From: Juanma Barranquero @ 2007-02-28 22:27 UTC (permalink / raw)
  To: Emacs Devel

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

I'm trying to bind a key which includes the character º (that's U+00BA
[MASCULINE ORDINAL INDICATOR], which is easy to access in a Spanish
keyboard).

ELISP> (event-basic-type (aref (kbd "C-M-º") 0))
2234

;; Now we type C-M-º
ELISP> (event-basic-type (aref (read-key-sequence "Try: ") 0))
186

ELISP> ?º
2234

ELISP> (format "%04X" 186)
"00BA"

This makes things interesting, because

(global-set-key (kbd "C-M-º") 'my-command)

produces a binding which is not recognized by `describe-key'.

             Juanma

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 97+ messages in thread

end of thread, other threads:[~2007-04-04 18:03 UTC | newest]

Thread overview: 97+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-28 22:27 kbd vs read-key-sequence Juanma Barranquero
2007-02-28 22:40 ` Andreas Schwab
2007-02-28 22:50   ` Lennart Borgman (gmail)
2007-02-28 23:32   ` Juanma Barranquero
2007-03-01  1:35     ` Juanma Barranquero
2007-03-01  5:28       ` Stefan Monnier
2007-03-01 12:48         ` Juanma Barranquero
2007-03-01 15:32           ` Stefan Monnier
2007-03-01 17:30             ` Juanma Barranquero
2007-03-01 23:23               ` Stefan Monnier
2007-03-01 23:53                 ` Juanma Barranquero
2007-03-02  0:03                   ` Juanma Barranquero
2007-03-02  9:09                     ` Jason Rumney
2007-03-02  9:48                       ` Juanma Barranquero
2007-03-02 16:47                   ` Stefan Monnier
2007-03-02 17:29                     ` Juanma Barranquero
2007-03-02 17:57                       ` Jason Rumney
2007-03-02 18:15                         ` Juanma Barranquero
2007-03-02 18:20                           ` David Kastrup
2007-03-02 21:03                           ` Stefan Monnier
2007-03-03  0:31                             ` Juanma Barranquero
2007-03-03 22:13                             ` Richard Stallman
2007-03-03 23:01                               ` Stefan Monnier
2007-03-05  2:55                                 ` Richard Stallman
2007-03-05 17:10                                   ` Stefan Monnier
2007-03-11 20:01                                     ` Richard Stallman
2007-03-12 15:19                                       ` Stefan Monnier
2007-03-13  1:17                                         ` Kenichi Handa
2007-03-13  3:12                                           ` Stefan Monnier
2007-03-13  4:06                                             ` Kenichi Handa
2007-03-13 14:47                                               ` Stefan Monnier
2007-03-19  5:14                                           ` Richard Stallman
2007-03-19 12:25                                             ` Kenichi Handa
2007-03-19 14:19                                               ` Kim F. Storm
2007-03-26  3:52                                               ` Richard Stallman
2007-03-26  7:22                                                 ` Kenichi Handa
2007-03-26 23:14                                                   ` Richard Stallman
2007-03-27  0:30                                                     ` Kenichi Handa
2007-03-27 16:42                                                       ` Richard Stallman
2007-03-28  0:29                                                         ` Kenichi Handa
2007-03-29 15:32                                                           ` Richard Stallman
2007-03-29 16:11                                                             ` Stefan Monnier
2007-03-30 21:23                                                               ` Richard Stallman
2007-03-31  0:38                                                                 ` Stefan Monnier
2007-03-31 10:07                                                                   ` Eli Zaretskii
2007-03-31 23:20                                                                     ` Richard Stallman
2007-04-01  3:09                                                                       ` Eli Zaretskii
2007-04-01 13:59                                                                         ` Richard Stallman
2007-04-01 19:14                                                                           ` Stefan Monnier
2007-04-01 20:18                                                                             ` Jason Rumney
2007-04-01 20:35                                                                               ` Stefan Monnier
2007-04-02 12:00                                                                                 ` Eli Zaretskii
2007-04-02  2:27                                                                               ` Kenichi Handa
2007-04-02 11:58                                                                                 ` Eli Zaretskii
2007-04-02 12:31                                                                                   ` Kenichi Handa
2007-04-02 12:46                                                                                     ` Eli Zaretskii
2007-04-02 14:33                                                                                       ` Stefan Monnier
2007-04-02 16:14                                                                                     ` Jason Rumney
2007-04-02 23:24                                                                                       ` Davis Herring
2007-04-03  6:58                                                                                         ` Jason Rumney
2007-04-03  7:46                                                                                       ` Richard Stallman
2007-04-03  8:42                                                                                         ` Eli Zaretskii
2007-04-03 14:58                                                                                           ` Stefan Monnier
2007-04-03 15:34                                                                                             ` Eli Zaretskii
2007-04-03 17:59                                                                                               ` Stefan Monnier
2007-04-03 18:20                                                                                                 ` Eli Zaretskii
2007-04-03 18:33                                                                                                   ` Stefan Monnier
2007-04-04 14:02                                                                                                 ` Richard Stallman
2007-04-04 14:02                                                                                             ` Richard Stallman
2007-04-03  9:05                                                                                         ` Jason Rumney
2007-04-03  9:37                                                                                           ` Eli Zaretskii
2007-04-03 10:24                                                                                             ` Jason Rumney
2007-04-04 14:02                                                                                           ` Richard Stallman
2007-04-03 10:12                                                                                       ` Eli Zaretskii
2007-04-04 14:02                                                                                         ` Richard Stallman
2007-04-04 18:03                                                                                           ` Eli Zaretskii
2007-03-31 20:42                                                                   ` Richard Stallman
2007-03-31 21:44                                                                     ` Eli Zaretskii
2007-03-31 22:06                                                                       ` Juanma Barranquero
2007-03-30  0:47                                                             ` Kenichi Handa
2007-03-30  3:25                                                               ` Stefan Monnier
2007-03-31 10:03                                                                 ` Eli Zaretskii
2007-03-31 20:27                                                                   ` Stefan Monnier
2007-03-30 21:22                                                               ` Richard Stallman
2007-03-31 10:02                                                               ` Eli Zaretskii
2007-03-19  5:14                                         ` Richard Stallman
2007-03-26 23:14                                         ` Richard Stallman
2007-03-28  0:57                                           ` Stefan Monnier
2007-03-28 16:09                                             ` Richard Stallman
2007-03-28 19:52                                               ` Stefan Monnier
2007-03-29 17:59                                                 ` Richard Stallman
2007-03-30 23:47                                               ` Chong Yidong
2007-03-31  9:08                                                 ` Eli Zaretskii
2007-03-03 22:13                           ` Richard Stallman
2007-03-02 18:21                         ` Juanma Barranquero
2007-03-02 19:04                           ` Jason Rumney
2007-03-03 10:39                       ` Eli Zaretskii

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).