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: Arash Esbati <arash <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#73840: closed ([PATCH] Improved folding for citations)
Date: Mon, 21 Oct 2024 10:43:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 21 Oct 2024 12:42:02 +0200
with message-id <m2cyjteo05.fsf <at> macmutant.fritz.box>
and subject line Re: bug#73840: [PATCH] Improved folding for citations
has caused the debbugs.gnu.org bug report #73840,
regarding [PATCH] Improved folding for citations
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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 3 (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)]
[Message part 5 (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


This bug report was last modified 212 days ago.

Previous Next


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