emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Elecrtic-pair-mode works incorrectly in code blocks
@ 2024-09-30 17:31 the_wurfkreuz
  2024-10-11  4:16 ` Dilip via General discussions about Org-mode.
  2024-10-12  8:32 ` Ihor Radchenko
  0 siblings, 2 replies; 4+ messages in thread
From: the_wurfkreuz @ 2024-09-30 17:31 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

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/)

[-- Attachment #2: Type: text/html, Size: 1499 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-12  8:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-30 17:31 Elecrtic-pair-mode works incorrectly in code blocks the_wurfkreuz
2024-10-11  4:16 ` Dilip via General discussions about Org-mode.
2024-10-11 18:19   ` Dilip via General discussions about Org-mode.
2024-10-12  8:32 ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).