GNU bug report logs - #25127
reftex: Highlight all missing references/citations

Previous Next

Package: emacs;

Reported by: Hong Xu <hong <at> topbug.net>

Date: Wed, 7 Dec 2016 06:08:01 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25127 in the body.
You can then email your comments to 25127 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#25127; Package emacs. (Wed, 07 Dec 2016 06:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hong Xu <hong <at> topbug.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 07 Dec 2016 06:08:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hong Xu <hong <at> topbug.net>
To: bug-gnu-emacs <at> gnu.org
Subject: reftex: Highlight all missing references/citations
Date: Tue, 06 Dec 2016 22:06:48 -0800
It would be a nice feature if reftex can highlight all missing
references/citations in the buffer. For example, references/citations
such as \ref{nonexistence} or \cite{nonexistence} point to nonexistent
entries, which should be highlighted as errors.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25127; Package emacs. (Fri, 13 May 2022 14:00:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Hong Xu <hong <at> topbug.net>
Cc: bug-auctex <at> gnu.org, 25127 <at> debbugs.gnu.org
Subject: Re: bug#25127: reftex: Highlight all missing references/citations
Date: Fri, 13 May 2022 15:59:27 +0200
Hong Xu <hong <at> topbug.net> writes:

> It would be a nice feature if reftex can highlight all missing
> references/citations in the buffer. For example, references/citations
> such as \ref{nonexistence} or \cite{nonexistence} point to nonexistent
> entries, which should be highlighted as errors.

I've added bug-auctex to the CCs; perhaps they have some comments here.

(Does auctex have a separate bug tracker?  I think I asked once before,
but I forgot the answer.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25127; Package emacs. (Fri, 13 May 2022 14:00:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25127; Package emacs. (Fri, 13 May 2022 18:51:01 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: bug-auctex <at> gnu.org, 25127 <at> debbugs.gnu.org, Hong Xu <hong <at> topbug.net>
Subject: Re: bug#25127: reftex: Highlight all missing references/citations
Date: Fri, 13 May 2022 20:48:59 +0200
[Message part 1 (text/plain, inline)]
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Hong Xu <hong <at> topbug.net> writes:
>
>> It would be a nice feature if reftex can highlight all missing
>> references/citations in the buffer. For example, references/citations
>> such as \ref{nonexistence} or \cite{nonexistence} point to nonexistent
>> entries, which should be highlighted as errors.
>
> I've added bug-auctex to the CCs; perhaps they have some comments here.

Such a functionality is provided by AUCTeX (I can't tell about Emacs
stock LaTeX mode).  Take for example this file:

--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{natbib}

\begin{document}

Hit \verb|C-c C-t C-w| to set \verb|TeX-debug-warnings| to \verb|t|.
Run LaTeX on the file with \verb|C-c C-c RET|
Choose from the menu \verb|Command->Error Overview|
\cite{lamp1:94}
\cite{mitt1:97}

\begin{thebibliography}{}
\bibitem[Mittelbach et al.(1997)]{mitt:97} Goossens, Michel; Rahtz,
  Sebastian; Mittelbach, Frank: The LaTeX Graphics Companion --
  Illustrating documents with TeX and PostScript.  Addison-Wesley.
  1997.

\bibitem[Lamport(1994)]{lamp:94} Lamport, Leslie: LaTeX -- A Document
  Preparation System: User's Guide and Reference Manual, Second
  Edition.  Pearson/Prentice Hall.  1994.
\end{thebibliography}

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---

If you follow the steps mentioned above, you get this:
[warnings.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
I think this is what the request is about, so we don't need to teach
RefTeX the same thing what LaTeX is actually doing and AUCTeX is
parsing.  I also think this is the right order.

So I'd say this is wontfix.

> (Does auctex have a separate bug tracker?  I think I asked once before,
> but I forgot the answer.)

No, it uses debbugs as well.  You have to reassign the bug to AUCTeX and
you have one report less on your plate 😉

Best, Arash

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25127; Package emacs. (Fri, 13 May 2022 18:51:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25127; Package emacs. (Sat, 14 May 2022 02:22:02 GMT) Full text and rfc822 format available.

Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Arash Esbati <arash <at> gnu.org>
Cc: bug-auctex <at> gnu.org, 25127 <at> debbugs.gnu.org, Hong Xu <hong <at> topbug.net>
Subject: Re: bug#25127: reftex: Highlight all missing references/citations
Date: Sat, 14 May 2022 04:20:36 +0200
Arash Esbati <arash <at> gnu.org> writes:

> I think this is what the request is about, so we don't need to teach
> RefTeX the same thing what LaTeX is actually doing and AUCTeX is
> parsing.  I also think this is the right order.
>
> So I'd say this is wontfix.

Yup; so I've closed this now.

>> (Does auctex have a separate bug tracker?  I think I asked once before,
>> but I forgot the answer.)
>
> No, it uses debbugs as well.  You have to reassign the bug to AUCTeX and
> you have one report less on your plate 😉

Will do.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25127; Package emacs. (Sat, 14 May 2022 02:22:02 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 14 May 2022 02:22:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 25127 <at> debbugs.gnu.org and Hong Xu <hong <at> topbug.net> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 14 May 2022 02:22:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 11 Jun 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.