hi all, thanks for the prompt response.  here is a complete reproducible
example.

I use:
/Applications/Emacs.app/Contents/MacOS/Emacs -geometry 80x30 --load
~/.emacs.d/Hacking/.emacs-debug-auctex -Q test.tex

I am attaching the files .emacs-debug-auctex and test.tex below.

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.

E

.emacs-debug-auctex:

; file: ~/.emacs.d/Hacking/.emacs-debug-auctex
; use:
; /Applications/Emacs.app/Contents/MacOS/Emacs -geometry 80x30 --load
~/.emacs.d/Hacking/.emacs-debug-auctex -Q

  (add-to-list 'load-path "~/.emacs.d/auctex-installed")
  (load "auctex.el" nil t t)
  (load "preview-latex.el" nil t t)
  (setq TeX-auto-save nil)
  (setq TeX-auto-global nil)
  (setq TeX-parse-self t)
  (setq bib-cite-use-reftex-view-crossref t)
  (autoload 'turn-on-bib-cite "bib-cite")
   (add-hook 'LaTeX-mode-hook
       (function (lambda ()
    (turn-on-bib-cite)
    (turn-on-reftex) ; with AUCTeX LaTeX mode
  )))

test.tex:

%**start header
\documentclass{article}
\begin{document}
%**end of header

Hey hey asdf asdf asdf  \citep[e.g.,][]{one-2010:testing,
Guilyardi-Bellenger-Collins-et-al-2012:first, Linz-Tziperman-2013:Process}.
 Huha huha \citep[]{two-2010:enso}.  More.

\end{document}



On Sat, Nov 9, 2013 at 12:44 AM, David Kastrup <[email protected]> wrote:

> Ralf Angeli <[email protected]> writes:
>
> > * emacs user (2013-11-08) writes:
> >
> >> I find that when I move the mouse over a text such as
> >>
> >> Blah blah asdf asdf  \citep[e.g.,][]{first-ref}. Blah blah asdf asdf
> >> \citep[e.g.,][]{second-ref}.  Blah blah more.
> >>
> >> The green highlighting starts with the first \citep and ends only at
> the }
> >> of the *second* \citep, highlighting everything in between.
> >
> > How did you enable this type of highlighting?
>
> I'd guess using RefTeX.
>
> --
> David Kastrup
>
_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to