bug#73724: [PATCH] Add folding support for begin and end macros

2024-10-16 Thread Arash Esbati
Paul Nelson writes: > Hi Arash, thanks, please find attached the updated patch. Paul Hi Paul, many thanks for your contribution and your patience. I installed that patch under your name, and therefore closing this report. Best, Arash ___ bug-auc

bug#73840: [PATCH] Improved folding for citations

2024-10-16 Thread Paul Nelson
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

bug#73840: [PATCH] Improved folding for citations

2024-10-16 Thread Arash Esbati
Paul Nelson writes: > I hope you're not too disappointed to hear that I only anticipate > three further tex-fold.el patches. Sad news, but hey, AUCTeX has also other files ;-) > Citation macros \cite{...} are currently folded as [c]. This patch > gives more descriptive folding when possible, u

bug#73840: [PATCH] Improved folding for citations

2024-10-16 Thread Paul Nelson
Hi Arash, > I didn't read the code carefuly, but Why can't we conditionalize this, > i.e., use RefTeX/BibTeX code if the libraries are loaded and plugged > into AUCTeX (RefTeX mainly), otherwise stick with what we have? This is > actually AUCTeX mostly does. OK, I did this with RefTeX (checking