From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Nikishkin 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: Wed, 30 Oct 2019 10:16:04 +0800 Message-ID: References: <87tv7rk0t9.fsf@delllaptop.lockywolf.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51732) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPdX0-00011Z-LD for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 22:16:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPdWz-0007RJ-KC for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 22:16:18 -0400 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:44708) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPdWz-0007PT-9V for emacs-orgmode@gnu.org; Tue, 29 Oct 2019 22:16:17 -0400 Received: by mail-ed1-x531.google.com with SMTP id b18so459928edr.11 for ; Tue, 29 Oct 2019 19:16:17 -0700 (PDT) In-Reply-To: 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: "Fraga, Eric" Cc: "emacs-orgmode@gnu.org" That's probably a working solution, but I still wonder why org 8 doesn't have this problem. Thanks anyway. =D1=81=D1=80, 30 =D0=BE=D0=BA=D1=82. 2019 =D0=B3. =D0=B2 00:40, Fraga, Eric= : > > 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 --=20 Yours sincerely, Vladimir Nikishkin