Scott Coonce writes:
Dear Bug Team!
Thank you for your report!
I used the following command to "reset" the command
(global-set-key [(control x) 3] 'split-window-horizontally)
That is a bug, I think. I'll get back to you later after trying
It had the unfortunate side effect of also changing the behavior of
[(control x) c] from save-buffers-kill-emacs to
That is a typo, I think. You mean [(control x) (control c)], which is
the normal binding of `save-buffers-kill-emacs', I suppose? If so,
that is correct behavior.
According to the documentation in define-key (C-h f define-key),
characters are mapped to themselves:
`3' is an integer, which is mapped to a character according to the
ASCII table, ie, to ?\003, or control-C. (Larger integers use an
Emacs-specific extension of the ASCII table.) This is for
The 'workaround' I found was to prefix the "3" with
"?" as explained in
(global-set-key [(control x) ?3] 'split-window-horizontally)
That is the correct syntax for characters.
XEmacs-Beta mailing list