* bug#25127: reftex: Highlight all missing references/citations @ 2016-12-07 6:06 Hong Xu 2022-05-13 13:59 ` Lars Ingebrigtsen 0 siblings, 1 reply; 4+ messages in thread From: Hong Xu @ 2016-12-07 6:06 UTC (permalink / raw To: 25127 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#25127: reftex: Highlight all missing references/citations 2016-12-07 6:06 bug#25127: reftex: Highlight all missing references/citations Hong Xu @ 2022-05-13 13:59 ` Lars Ingebrigtsen 2022-05-13 18:48 ` Arash Esbati 0 siblings, 1 reply; 4+ messages in thread From: Lars Ingebrigtsen @ 2022-05-13 13:59 UTC (permalink / raw To: Hong Xu; +Cc: bug-auctex, 25127 Hong Xu <hong@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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#25127: reftex: Highlight all missing references/citations 2022-05-13 13:59 ` Lars Ingebrigtsen @ 2022-05-13 18:48 ` Arash Esbati 2022-05-14 2:20 ` Lars Ingebrigtsen 0 siblings, 1 reply; 4+ messages in thread From: Arash Esbati @ 2022-05-13 18:48 UTC (permalink / raw To: Lars Ingebrigtsen; +Cc: bug-auctex, 25127, Hong Xu [-- Attachment #1: Type: text/plain, Size: 1505 bytes --] Lars Ingebrigtsen <larsi@gnus.org> writes: > Hong Xu <hong@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: [-- Attachment #2: warnings.png --] [-- Type: image/png, Size: 13515 bytes --] [-- Attachment #3: Type: text/plain, Size: 460 bytes --] 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#25127: reftex: Highlight all missing references/citations 2022-05-13 18:48 ` Arash Esbati @ 2022-05-14 2:20 ` Lars Ingebrigtsen 0 siblings, 0 replies; 4+ messages in thread From: Lars Ingebrigtsen @ 2022-05-14 2:20 UTC (permalink / raw To: Arash Esbati; +Cc: bug-auctex, 25127, Hong Xu Arash Esbati <arash@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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-14 2:20 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-12-07 6:06 bug#25127: reftex: Highlight all missing references/citations Hong Xu 2022-05-13 13:59 ` Lars Ingebrigtsen 2022-05-13 18:48 ` Arash Esbati 2022-05-14 2:20 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.