GNU bug report logs - #55714
29.0.50; eval-when-compile leaves behind artifacts in init.el?

Previous Next

Package: emacs;

Reported by: "Mark A. Hershberger" <mah <at> everybody.org>

Date: Sun, 29 May 2022 19:45:02 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Mark A. Hershberger" <mah <at> everybody.org>
Cc: 55714 <at> debbugs.gnu.org
Subject: bug#55714: 29.0.50; eval-when-compile leaves behind artifacts in init.el?
Date: Mon, 30 May 2022 05:24:33 +0300
> Date: Sun, 29 May 2022 15:43:43 -0400
> From:  "Mark A. Hershberger" via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> 
> I've recently found “M-x woman RET” fails. In resolving this, it looks
> like it caused by the presense of
> 
>      (eval-when-compile
>          ....
>          (defvar dired-mode-map nil
>          ....
> 
> The only reason I had this was to avoid warnings during compilation.
> Previously, it did not cause problems, but now it looks like it is
> (maybe?) stored in the compiled init.el and re-used in latter emacs
> start ups.

Thanks, but could you perhaps present a recipe for reproducing the
problem starting from the smallest init.el?




This bug report was last modified 2 years and 360 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.