emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Parens matching off in babel code block
Date: Sun, 05 May 2019 17:02:37 +0200	[thread overview]
Message-ID: <84imupc5bm.fsf@gmail.com> (raw)
In-Reply-To: xuu6d0kz3n87.fsf@ucl.ac.uk

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> On Thursday,  2 May 2019 at 21:11, Lawrence Bottorff wrote:
>> Well, at least there is a sane explanation. Ironically, I was also about to
>> complain about all my loose ">"s getting flagged. So they are related!
>> Would there be a way to make an exception for < and > inside of actual code
>> forms? Languages need them for "greater than" and "less than".
>
> I have the following in my org mode customization:
>
>     (modify-syntax-entry ?< ".")
>     (modify-syntax-entry ?> ".")
>
> as many of my org files have these symbols not as paren but as operators.

I'll follow your lead and add the lines

	(add-hook
	 'org-mode-hook
	 (lambda ()
	    (modify-syntax-entry ?< ".")
	    (modify-syntax-entry ?> ".")))

to my config.


Thanks,
-- 
Marco 

  parent reply	other threads:[~2019-05-05 15:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-02  2:56 Parens matching off in babel code block Lawrence Bottorff
2019-05-02 15:35 ` Berry, Charles
2019-05-02 16:01   ` Lawrence Bottorff
2019-05-02 20:11     ` Bruno BARBIER
2019-05-02 20:28       ` Marco Wahl
2019-05-02 21:38         ` Nicolas Goaziou
2019-05-03  2:11           ` Lawrence Bottorff
2019-05-03  9:23             ` Fraga, Eric
2019-05-04 12:54               ` John Kitchin
2019-05-05 15:02               ` Marco Wahl [this message]
2019-05-03  8:20           ` Marco Wahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84imupc5bm.fsf@gmail.com \
    --to=marcowahlsoft@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).