[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: Wrong syntax in org-mode files with babel fragments in src bloc
From: |
Fraga, Eric |
Subject: |
Re: Bug: Wrong syntax in org-mode files with babel fragments in src blocks [9.2.6 (9.2.6-4-ge30905-elpaplus @ /home/lockywolf/.emacs.d/elpa/org-plus-contrib-20191021/)] |
Date: |
Tue, 29 Oct 2019 16:40:06 +0000 |
On Tuesday, 29 Oct 2019 at 23:50, Vladimir Nikishkin wrote:
> The MWE would be the following:
>
> #+begin_src scheme
> (display (< 1 3))
> #+end_src
>
> In this example, if you put the point on the "<" symbol, it is
> highlighted (fontified) together with the ")" following 3, which is
> incorrect, since in general, "<" is not a paired entity. (I.e. is a
> symbol "less" rather than an angular bracket.)
I have the following 2 lines in my org-mode-hook to cater for this issue
which arises when using source blocks.
(modify-syntax-entry ?< ".")
(modify-syntax-entry ?> ".")
HTH
--
Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-544-gd215c3