emacs-orgmode
[Top][All Lists]
Advanced

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

org-babel parenthesis tracking blinded by > in code block


From: Jeremie Juste
Subject: org-babel parenthesis tracking blinded by > in code block
Date: Sat, 11 Jul 2020 11:10:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hello,

I noticed that with show-paren-mode on in an org-mode buffer,
the following the opening parenthesis "(> (point) 0)" in the following
code block is not detected.

#+begin_src emacs-lisp
(defun re-search-and-replace-in-buffer (regex replacement)
  (interactive)
  (save-excursion
    (goto-char  (buffer-end 0))
    (while (and (re-search-forward regex (buffer-end 1) t)
                (> (point) 0))
(replace-match replacement))
(save-buffer) 
))
#+end_src

If your solution to this problem. I would appreciate if you  would could you 
document how you solved
the issue. 

Best regards,

Jeremie



reply via email to

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