emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Parens matching off in babel code block


From: Marco Wahl
Subject: Re: [O] Parens matching off in babel code block
Date: Sun, 05 May 2019 17:02:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

"Fraga, Eric" <address@hidden> 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 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]