On Wed, Jan 23, 2013 at 10:16 AM, Lynn David Newton
<lynn.newton(a)gmail.com>wrote:
o I do M-x insert-file to read the following code into the *scratch*
buffer
(defvar ctl-z-map (make-keymap) "Keymap on C-z")
(defvar ctl-z-ctl-z-map (make-keymap) "Keymap on C-z C-z")
(define-key global-map "\C-z" ctl-z-map)
(define-key global-map "\C-z\C-z" ctl-z-ctl-z-map)
(define-key global-map "\C-zs" 'sort-lines)
(define-key global-map "\C-z\C-zf" 'free-notebook-entry)
o In xemacs 21.5 I get as far as C-z and it prompts me for a
character for zap-to-char, which is the default binding
for C-z.
Try
(defvar ctl-z-map (make-keymap) "Keymap on C-z")
(define-key global-window-system-map [(control z)] ctl-z-map)
(define-key ctl-z-map "s" 'sort-lines)
I believe "\C-z" will substitute for "[(control z)]. This implies that
somewhere in the code zap-to-char is bound to the global-window-system-map.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta