bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] 11.86; LaTeX-current-environment related bug


From: Mosè Giordano
Subject: Re: [Bug-AUCTeX] 11.86; LaTeX-current-environment related bug
Date: Fri, 24 May 2013 15:44:58 +0200

It seems `LaTeX-verbatim-p' is the bottleneck when executing
`TeX-in-comment' in latex mode.  The attached patch should speedup
`LaTeX-verbatim-p' (and so `LaTeX-current-environment' with
`TeX-in-comment')  when `font-latex-faces-present-p' is available,
otherwise it is still really slow.  Is there any objection?

Bye,
Mosè

2013/5/24 Mosè Giordano <address@hidden>:
> Hi Gerard,
>
> 2013/5/23 Gerard Brunick <address@hidden>:
>> I believe I have found a bug in LaTeX-current-environment which reads:
>> [...]
> Thank you for taking the time to report this bug.  The obvious
> solution would be to replace `TeX-in-commented-line' with
> `TeX-in-comment', but that would sensibly degrade performance of
> `LaTeX-current-environment', since `TeX-in-comment' is much slower
> than `TeX-in-commented-line'.  I'm thinking about a couple of ways to
> improve `TeX-in-comment' execution time.
>
> Bye,
> Mosè

Attachment: LaTeX-current-environment.patch
Description: Binary data


reply via email to

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