Thread View: gnu.epoch.misc
1 messages
1 total messages
Started by vincenzes
Fri, 21 Aug 1992 08:05
Epoch 4.1 and C-z bindings
Author: vincenzes
Date: Fri, 21 Aug 1992 08:05
Date: Fri, 21 Aug 1992 08:05
22 lines
1270 bytes
1270 bytes
I started running epoch-4.1 on my HP-UX 720 system and the C-z key bindings were
not there. Seems that epoch-lisp/epoch.el has changed from 4.0: define-prefix-command
and define-key are used to set up named maps rather than just a bunch of
global-set-key calls.
Now epoch.el does
(global-set-key "\C-z" 'epoch-cmds-prefix)
but the define-key for map entries is done on a variable, not the symbol. E.g.:
(define-key epoch-cmds-map "r" (definteractive (raise-screen)))
The variable is set to (symbol-function 'epoch-cmds-prefix) BEFORE the map is
set up, thus the map that 'epoch-cmds-prefix points to is never set up.
Putting the following in my .emacs file "fixes" things
(fset 'epoch-cmds-prefix epoch-cmds-map)
(fset 'other-screen-prefix other-screen-map)
Is this a bug? Is there a better way of setting the C-z prefix to the correct map?
Mark Vincenzes
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads