emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Elecrtic-pair-mode works incorrectly in code blocks


From: the_wurfkreuz
Subject: Elecrtic-pair-mode works incorrectly in code blocks
Date: Mon, 30 Sep 2024 17:31:47 +0000

Reproduction:

1. emacs -Q
2. In the scratch buffer enable to org-mode.
3. Enable electric-pair-mode.
4. Paste this code:

#+begin_src emacs-lisp

 
  ;; (if (eq major-mode 'org-mode)
  ;;     (org-cycle)
  ;;   (yas-expand)))
  ;;   ;; (my-completion-preview-insert)))

#+end_src

5. Then in the first line of the code block try to insert an opening
bracket - '('. It wont be closed. Writing a closing bracket will make
the cursor to jump to the next bracket. At the same time i don't have
such problem outside of org-mode.


Emacs  : GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2)
 of 2024-09-15
Package: Org mode version 9.8-pre (release_9.7.11-145-g28b631 @ /home/wurfkreuz/.source/org-mode/lisp/)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]