closing brace of the second one

On Sat, Nov 9, 2013 at 10:48 PM, Ralf Angeli <[email protected]> wrote:

> * emacs user (2013-11-09) writes:
>
> > hi all, thanks for the prompt response.  here is a complete reproducible
> > example.
>
> Thanks a lot for the recipe.
>
> > the problem occurs only when the house is over the \citep commands and
> the
> > text between them.  Please let me know if there is anything else I can
> do.
>
> Hm, in my case the highlighting does not span both \citep's.  It stops
> at the closing brace of the first \citep.  I'm using the current
> development versions of Emacs and AUCTeX.
>
> AFAICT the code which adds these highlights is in the function
> `bib-highlight-mouse' in bib-cite.el.  And it hasn't changed since 2004.
>
> Do you perhaps have a really(!) old or a changed version of bib-cite.el
> lying around which might interfere?
>
> If you are in the mood you can also try what happens if you place point
> somewhere before the first \citep, type `M-:', paste the following code
> into the minibuffer and then hit `RET'.
>
> (re-search-forward
>  (concat
>   "\\\\\\(" (substring bib-ref-regexp 2)
>   "\\|label\\|[A-Za-z]*cite[A-Za-z]*\\(\\[.*\\]\\)?\\){[^}]*}")
>  nil t)
>
> Does point move to the closing brace of the first or the second \citep?
>
> --
> Ralf
>
_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to