bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] 2013-10-14; highlighting of \cite[] commands


From: emacs user
Subject: Re: [Bug-AUCTeX] 2013-10-14; highlighting of \cite[] commands
Date: Sun, 10 Nov 2013 14:27:38 +0200

Hi, many thanks for your patience, and I hope all this is not due to some mistake I am making.  In any case, the first _expression_ leads to the point moving to the end of the second \citep, while the second _expression_ moves the point to the end of the first \citep.  In both cases I run a bare emacs using
/Applications/Emacs.app/Contents/MacOS/Emacs -Q ~/test.tex
thanks again, E


On Sun, Nov 10, 2013 at 2:00 PM, Ralf Angeli <address@hidden> wrote:
* emacs user (2013-11-09) writes:

> closing brace of the second one

Strange.

I've stripped some stuff from the code which should not be relevant for
the case at hand.  Does the following code also make point end up behind
the second closing brace?

(re-search-forward "\\\\cite[A-Za-z]*\\(\\[.*\\]\\)?{[^}]*}" nil t)

And does the following statement lead to a different result?

(re-search-forward "\\\\cite[A-Za-z]*\\(\\[[^]]*\\]\\)*{[^}]*}" nil t)

--
Ralf


reply via email to

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