[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] Bug with reftex-parse.el (reftex-using-biblatex-p)
From: |
Tassilo Horn |
Subject: |
Re: [Bug-AUCTeX] Bug with reftex-parse.el (reftex-using-biblatex-p) |
Date: |
Tue, 24 Jun 2014 21:41:27 +0200 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) |
Leonard Randall <address@hidden> writes:
Hi Leonard,
> The regexp called in reftex-using-biblatex-p will create a stack
> overflow in large files with few or no % marks in the file. This is
> not usually a problem with most tex files but it can be a problem if
> you use reftex with org-mode or other systems that export latex but do
> not use %s. This problem can be solved rather easily by making the
> search for comment lines non-greedy, or by making it stop at
> newlines. The fix below uses both approaches, as this seems to speed
> up the search, and avoid stack overflows in more cases.
Thanks, committed in Emacs trunk.
http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/117389
Bye,
Tassilo