emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* scratching an itch: parenthesis matching in org
@ 2019-04-08 11:15 Fraga, Eric
  0 siblings, 0 replies; only message in thread
From: Fraga, Eric @ 2019-04-08 11:15 UTC (permalink / raw)
  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! :)

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.2.3-327-g3375f0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-08 11:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-08 11:15 scratching an itch: parenthesis matching in org Fraga, Eric

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