Subject: bug#74970: Supercite sc-setup-filladapt accesses void variable filladapt-prefix-table (from Filladapt)

From: Mekeor Melire <[email-masked]>
Date: Thu, 19 Dec 2024 11:22:56 +0000

(Supercite is a built-in package and Filladapt is on GNU Elpa.) 
Supercite's manual [1] states that one can install Filladapt and 
call the `sc-setup-filladapt' function.  But calling 
`sc-setup-filladapt' will result in the error (void-variable 
filladapt-prefix-table).

It seems like Filladapt has renamed that variable from 
"filladapt-prefix-table" to "filladapt-token-table".  I only found 
one very old version of Filladapt [2] where the old name is used.

Apparently, the variable has not only been renamed but the logic 
of has changed quite a bit.  For example, filladapt-prefix-table 
had the format ((REGXP . FUNCTION) ...) while 
filladapt-token-table has the format ((REGEXP SYM) ...).

I'm CCing the authors of both packages.

[1] (info "(sc) Filling Cited Text")

[2] https://www.ic.unicamp.br/~stolfi/EXPORT/elisp/JUNK/mandel-disabled/filladapt.el