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


Message #11 received at 55714 <at> debbugs.gnu.org (full text, mbox):

From: "Mark A. Hershberger" <mah <at> nichework.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "Mark A. Hershberger" <mah <at> everybody.org>, 55714 <at> debbugs.gnu.org
Subject: Re: bug#55714: 29.0.50; eval-when-compile leaves behind artifacts
 in init.el?
Date: Mon, 30 May 2022 08:40:23 -0700 (PDT)
Hrm... I can't seem to reproduce this now.

I'm gonna put this down to some stray .elc files or something after I re-compiled emacs.

This can be closed.

----- On May 29, 2022, at 10:24 PM, Eli Zaretskii eliz <at> gnu.org wrote:

>> 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.