Hi the_wurfkreuz,

I tried with the code block.

I confirm that it did not insert the closing bracket near those comment
blocks. But it did create pair brackets when I inserted after those 4
lines.

> #+begin_src emacs-lisp
   ( ### No closing bracket here
>   ;; (if (eq major-mode 'org-mode)
>   ;;     (org-cycle)
>   ;;   (yas-expand)))
>   ;;   ;; (my-completion-preview-insert)))
    () ### there was closing bracket here
> #+end_src

> Writing a closing bracket will make the cursor to jump to the next
> bracket.

I did not face this, writing closing bracket in first few lines anywhere
did not jump me, it inserted at point itself.

Although, I'd like to point that in ~org-edit-special~ the pairing works
as expected.

Emacs: GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, 
cairo version 1.18.0)
Org: Org mode version 9.7.11 (9.7.11-6a5d0e @ 
/nix/store/8ci96509yzbng9nyb8wa9pfmp4ldmr2m-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.7.11/)

-- 
Best,
Dilip



Reply via email to