[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LaTeX mode (tex-mode.el) font-lock bug (?)
From: |
Marcin Borkowski |
Subject: |
Re: LaTeX mode (tex-mode.el) font-lock bug (?) |
Date: |
Tue, 23 Jan 2018 20:05:32 +0100 |
User-agent: |
mu4e 0.9.19; emacs 27.0.50 |
On 2018-01-22, at 04:20, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> 2. Why aren't you using AUCTeX?
>
> Don't know about Emmanuel, but I use tex-mode.el because I much prefer
> its C-c C-c and its indentation (no wonder: I wrote them).
Fair enough. Still, I prefer AUCTeX (with some functions I wrote to
it;-)).
>> 4. More precisely, stock Emacs' tex-mode seems to insist that the
>> argument to \textbf{...} does not contain newlines.
>
> Indeed, handling multiline font-lock elements is always a pain in the
> rear, so I haven't tried to do it yet, especially since with LaTeX
> there's always a risk of mis-parsing (it's nigh on impossible to parse
> it reliably without (re)implementing TeX).
That's true... IOW, the un-fontlocking of multiline elements is by
design.
Best,
--
Marcin Borkowski
Message not available