GNU bug report logs - #73840
[PATCH] Improved folding for citations

Previous Next

Package: auctex;

Reported by: Paul Nelson <ultrono <at> gmail.com>

Date: Wed, 16 Oct 2024 20:01:01 UTC

Severity: normal

Tags: patch

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Nelson <ultrono <at> gmail.com>
Subject: bug#73840: closed (Re: bug#73840: [PATCH] Improved folding for
 citations)
Date: Mon, 21 Oct 2024 10:43:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#73840: [PATCH] Improved folding for citations

which was filed against the auctex package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 73840 <at> debbugs.gnu.org.

-- 
73840: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73840
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Arash Esbati <arash <at> gnu.org>
To: Paul Nelson <ultrono <at> gmail.com>
Cc: 73840-done <at> debbugs.gnu.org
Subject: Re: bug#73840: [PATCH] Improved folding for citations
Date: Mon, 21 Oct 2024 12:42:02 +0200
Hi Paul,

Paul Nelson <ultrono <at> gmail.com> writes:

> OK, I did this with RefTeX (checking if it's bound and enabled).  For
> bibtex.el, I just require'd it inside the internal function where it's
> used.  I also implemented your correction to the docs.  Please find
> attached the updated patch.  Any further feedback welcome.

Many thank for this.  Installed, pushed and closing.

Best, Arash

[Message part 3 (message/rfc822, inline)]
From: Paul Nelson <ultrono <at> gmail.com>
To: bug-auctex <at> gnu.org
Subject: [PATCH] Improved folding for citations
Date: Wed, 16 Oct 2024 21:59:54 +0200
[Message part 4 (text/plain, inline)]
Hi again,

I hope you're not too disappointed to hear that I only anticipate
three further tex-fold.el patches.  Anyway:

Citation macros \cite{...} are currently folded as [c].  This patch
gives more descriptive folding when possible, using author names and
publication years, like [Ne21] or [ABC99].  These are extracted from
any bib files referenced in the document or specified by a user
option.

QUESTION: the new code uses reftex and bibtex.  Are we allowed to just
require those in tex-fold.el?  I wasn't sure, since AUCTeX in general
seems careful about (require) statements.

Any feedback welcome.

Thanks, best,

Paul
[0001-Improved-folding-for-citations.patch (application/octet-stream, attachment)]

This bug report was last modified 213 days ago.

Previous Next


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