You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emacs version: GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.17.8) of 2023-04-13
Operating System: archlinux
Evil version: Tested with both 1.15.0 and evil-git-c61bc34
Evil installation type: Tested with MELPA and manual
Graphical/Terminal: X11
Tested in a make emacs session (see CONTRIBUTING.md): No
Reproduction steps
Start with the following minimal init.el:
(require'evil)
(evil-mode 1)
(defvar-keymap my-mode-map)
(define-derived-mode my-mode fundamental-mode "My Mode""Major mode for editing my files."
(goto-char (point-max))
(insert (propertize"some text with local map\n"'local-map (make-sparse-keymap)))
(insert"Hello world!\n")
)
(evil-define-key 'normal my-mode-map
(kbd"C-c C-c") (lambda () (interactive) (message"C-c C-c pressed")))
Switch to *scratch* buffer, run M-x my-mode
Move cursor to the middle of "some text with local map", press i to enter insert mode, then press <ESC> to leave insert mode
Move cursor to anywhere, press C-c C-c
Expected behavior
Prints "C-c C-c pressed"
Actual behavior
"C-c C-c is undefined"
The text was updated successfully, but these errors were encountered:
Issue type
Environment
Emacs version: GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.17.8) of 2023-04-13
Operating System: archlinux
Evil version: Tested with both 1.15.0 and evil-git-c61bc34
Evil installation type: Tested with MELPA and manual
Graphical/Terminal: X11
Tested in a
make emacs
session (see CONTRIBUTING.md): NoReproduction steps
*scratch*
buffer, runM-x my-mode
i
to enter insert mode, then press<ESC>
to leave insert modeC-c C-c
Expected behavior
Prints "C-c C-c pressed"
Actual behavior
"C-c C-c is undefined"
The text was updated successfully, but these errors were encountered: