From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Fraga, Eric" Subject: scratching an itch: parenthesis matching in org Date: Mon, 8 Apr 2019 11:15:22 +0000 Message-ID: <875zro929i.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:39485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDSFL-00045S-9f for emacs-orgmode@gnu.org; Mon, 08 Apr 2019 07:15:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hDSFK-0005aB-GE for emacs-orgmode@gnu.org; Mon, 08 Apr 2019 07:15:27 -0400 Received: from mail-eopbgr60129.outbound.protection.outlook.com ([40.107.6.129]:15744 helo=EUR04-DB3-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 1hDSFK-0005Zg-4h for emacs-orgmode@gnu.org; Mon, 08 Apr 2019 07:15:26 -0400 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: "emacs-orgmode@gnu.org" Hello, just in case this is helpful to anybody out there, one of the (very minor) annoyances for me writing in org has been that org treats angle brackets (<>) as parenthesis in terms of syntax. I write a lot of mathematics in my document and these are typically operators and seldom intended as brackets. Having these known as parentheses in org's syntax table makes showing matching parentheses not work properly in most of my documents. Adding these two lines to my org mode hook: (modify-syntax-entry ?< ".") (modify-syntax-entry ?> ".") fixes the behaviour. I haven't seen any negative repercussions (yet...). Itched satisfactorily scratched! :) --=20 Eric S Fraga via Emacs 27.0.50, Org release_9.2.3-327-g3375f0