Scott Coonce writes:
Dear Bug Team!
Thank you for your report!
I used the following command to "reset" the command
split-window-horizontally:
(global-set-key [(control x) 3] 'split-window-horizontally)
...which worked.
That is a bug, I think. I'll get back to you later after trying
reproduce it.
It had the unfortunate side effect of also changing the behavior of
[(control x) c] from save-buffers-kill-emacs to
split-window-horizontally.
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),
ascii
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
backward compatibility.
The 'workaround' I found was to prefix the "3" with
"?" as explained in
define-key:
(global-set-key [(control x) ?3] 'split-window-horizontally)
That is the correct syntax for characters.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta