(Please cc the bug tracker) On Wed, 23 Jul 2025 at 11:04, Kai Bagley <[email protected]> wrote:
> > On Wednesday, July 23rd, 2025 at 4:39 PM, Paul Nelson <[email protected]> > wrote: > > Hi Kai, > > On Wed, 23 Jul 2025 at 09:29, Kai Bagley via bug-auctex via Bug reporting > list for AUCTeX <[email protected]> wrote: > >> >> - ~edebug~ on ~TeX-fold-cite-display~, which reveals that >> ~TeX-fold-macro-nth-arg~ returns ~nil~ when evaluating ~TeX-fold-macro~ >> on a ~\cite~ macro. >> > > The call to TeX-fold-macro-nth-arg is used only for optional arguments. > Could you check what happens in the later parts of TeX-fold-cite-display, > particularly key-list > > > The key-list gets set to (#("<citationkey>" 0 48 (fontified t face > (font-lock-constant-face)))) > > > and references? > > > references gets set to nil, the mapcar call returns nil. Since that > uses TeX-fold--bib-abbrev, I know that TeX-fold-bib-file is set to the > correct bibliography file. > > > Thanks, best, > > Paul > > The key-list doesn’t sound correct. Could you please share the tex code you’re trying to fold, and also check the value of the KEYS argument?
_______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
