[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblat
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblatex) |
Date: |
Thu, 27 Nov 2014 13:28:56 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Alan Schmitt <address@hidden> writes:
>> Oh, and in the emacs master branch the regex has been fixed to
>>
>> "^[^%\n]*\\\\usepackage.*{biblatex}"
>>
>> but not in the emacs-24 branch. I'll do that right now.
>
> Great, thanks. Will it be pushed on ELPA (I'm using version 11.88 from
> there)?
That's been a bug in reftex which is maintained by the AUCTeX team but
lives directly in emacs. So the fix will be in Emacs 24.5 or 25,
whatever comes first.
For the time being, you can put
(defun reftex-using-biblatex-p ()
"Return non-nil if we are using biblatex rather than bibtex."
(if (boundp 'TeX-active-styles)
;; the sophisticated AUCTeX way
(member "biblatex" TeX-active-styles)
;; poor-man's check...
(save-excursion
(re-search-forward "^[^%\n]*?\\\\usepackage.*{biblatex}" nil t))))
into your ~/.emacs.
Bye,
Tassilo
signature.asc
Description: PGP signature
- [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblatex), Alan Schmitt, 2014/11/27
- Re: [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblatex), Uwe Brauer, 2014/11/27
- Re: [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblatex), Tassilo Horn, 2014/11/27
- Re: [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblatex), Uwe Brauer, 2014/11/27
- Re: [AUCTeX-devel] stack overflow in regexp matcher (reftex-using-biblatex), Tassilo Horn, 2014/11/27