Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect i" motion execution #1930

Open
Doodler8888 opened this issue Aug 24, 2024 · 0 comments
Open

Incorrect i" motion execution #1930

Doodler8888 opened this issue Aug 24, 2024 · 0 comments

Comments

@Doodler8888
Copy link

Issue type

  • Bug report

Environment

Emacs version: GNU Emacs 30.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.0) of 2024-08-20
Operating System: Arch linux
Evil version: Evil version evil-git-5db0bdc
Graphical/Terminal: GUI
Tested in a make emacs session (see CONTRIBUTING.md): yes

Reproduction steps

  1. git clone https://github.com/emacs-evil/evil.git
  2. cd evil
  3. make
  4. make emacs
  5. paste this into the scratch buffer:
;; (add-hook 'org-mode-hook
;;           (lambda ()
;;             (define-key org-mode-map (kbd "<S-tab>") nil)))
;;             ;; (evil-define-key 'normal org-mode-map (kbd "<S-tab>") 'mode-line-other-buffer)))

(define-key org-mode-map (kbd "<S-tab>") nil)
(define-key org-mode-map (kbd "C-c n") 'org-insert-heading)
  1. move poitner to the start of the ';; ;; (evil-define-key 'normal org-mode-map (kbd "") 'mode-line-other-buffer)))' line
  2. execute 'ci"'

Expected behavior

Remove everythinng inside the double quotes of the ';; ;; (evil-define-key 'normal org-mode-map (kbd "") 'mode-line-other-buffer)))' line and go into the insert mode.

Actual behavior

It does the 'ci"' action on the '(define-key org-mode-map (kbd "") nil)' line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant