From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: References: <87tv7rk0t9.fsf@delllaptop.lockywolf.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52992) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPUXS-0000sG-Vf for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 12:40:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPUXR-0004xq-EI for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 12:40:10 -0400 Received: from mail-eopbgr10090.outbound.protection.outlook.com ([40.107.1.90]:7454 helo=EUR02-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPUXR-0004x9-5x for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 12:40:09 -0400 In-Reply-To: <87tv7rk0t9.fsf@delllaptop.lockywolf.net> (Vladimir Nikishkin's message of "Tue, 29 Oct 2019 23:50:58 +0800") Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Vladimir Nikishkin Cc: "emacs-orgmode@gnu.org" 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.)=20 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 --=20 Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-544-gd215c3