Can not use meta key binding in repeat map #1

Closed
opened 2024-04-21 03:08:34 +00:00 by QiangF · 1 comment

In the following example, "M-o" is not binded:

(define-repeat-map winner
    (:enter winner-undo)
    (:continue
     "o" other-window
     "M-o" other-window
     "<left>" winner-undo
     "<right>" winner-redo)
    (:exit
     "ESC" keyboard-quit))

The error message is: Key sequence M-o starts with non-prefix key ESC

In the following example, "M-o" is not binded: (define-repeat-map winner (:enter winner-undo) (:continue "o" other-window "M-o" other-window "<left>" winner-undo "<right>" winner-redo) (:exit "ESC" keyboard-quit)) The error message is: Key sequence M-o starts with non-prefix key ESC
Author

Sorry, It's my mistake.

(bind-key "ESC" 'keyboard-quit 'other-window-repeat-map)

Sorry, It's my mistake. (bind-key "ESC" 'keyboard-quit 'other-window-repeat-map)
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: acdw/define-repeat-map.el#1
No description provided.