Sean Whitton wrote on 11/09/2023 18:59:
> control: severity -1 normal
> control: tag -1 + moreinfo
>
> Hello,
>
> On Sun 10 Sep 2023 at 01:15pm +02, Jörg-Volker Peetz wrote:
>
>> on my system each newly started emacs process does native-compilation of
>> all used modules, even the ones already compiled by previous processes.
>> Is this to be expected?
>> As I see it, the cached native-compiled modules should be re-used.
>> Do I have to configure something for that?
>
> It's not expected. But we will need more precise steps to reproduce to
> do anything about it.
>
Hello,
thanks for looking into this.
From a terminal (rxvt-unicode) running my shell (mksh) I start emacs
(emacs-lucid). After about 15 seconds the following warnings appear:
■ Warning (comp): debian-el.el:90:26: Warning: reference to free variable ‘di\
red-mode-map’
■ Warning (comp): debian-el.el:90:26: Warning: reference to free variable ‘di\
red-mode-map’
■ Warning (comp): debian-el.el:95:35: Warning: docstring has wrong usage of u\
nescaped single quotes (use \= or different quoting)
■ Warning (comp): mmm-vars.el:869:2: Warning: defvar `mmm-classes-alist' docs\
tring has wrong usage of unescaped single quotes (use \= or different quoting)
■ Warning (comp): mmm-auto.el:168:2: Warning: docstring has wrong usage of un\
escaped single quotes (use \= or different quoting)
I stop emacs (C-x C-c) and start the next emacs. And again, after about the same
time the same warnings appear.
As I understand it, the second emacs is re-compiling the modules mentioned in
the warnings (and others, as can be seen in the eln-cache directory).
This happens also when calling `emacs -nw`.
init.el is appended.
Best regards,
Jörg.