emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-babel parenthesis tracking blinded by > in code block
@ 2020-07-11  9:10 Jeremie Juste
  2020-07-11 12:00 ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Jeremie Juste @ 2020-07-11  9:10 UTC (permalink / raw)
  To: emacs-orgmode


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


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

end of thread, other threads:[~2020-07-14 18:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-11  9:10 org-babel parenthesis tracking blinded by > in code block Jeremie Juste
2020-07-11 12:00 ` Eric S Fraga
2020-07-14 18:35   ` Jeremie Juste

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