Bug#1134106: latex-cjk-common: emacs reports: Error while loading 50latex-cjk-common: Symbol’s value as variable is void: flavor

Kai Tetzlaff <[email protected]> Thu, 16 Apr 2026 23:59:07 +0200
Newsgroups gmane.linux.debian.devel.tetex
Message-ID <[email protected]>
"Preuße, Hilmar" <[email protected]> writes:

Hello Hilmar,

> Hello Kai,
>
>> starting emacs with either of the latex-cjk-common, latex-cjk-thai packages
>> installed, results in the following errors in the *Messages* buffer:
>> Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...
>> Error while loading 50latex-cjk-common: Symbol’s value as variable is void: flavor
>> Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...
>> Error while loading 50latex-cjk-thai: Symbol’s value as variable is void: flavor
>> I have attached a patch which fixes the issue.
>> 
> I'm unable to reproduce the issue in my chroot, probably b/c there is
> no emacs flavour installed. Patch looks plausible and has been
> committed.

Thanks!

> In the end I would like to replace the hand written code to compile
> and install the .el files by the one generated by dh-elpa. Until now I
> failed to do so. Do you have eventually experience with that?

Sorry - I probably can't help with that. I only learned about dh-elpa
just now. :-)

Are there any packages using dh-elpa already? If so, I can offer to have
a look.

BR, Kai