unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Mark A. Hershberger" <mah@everybody.org>
Cc: 55714@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	[thread overview]
Message-ID: <83o7zfkba6.fsf@gnu.org> (raw)
In-Reply-To: <87tu98m8eo.fsf@everybody.org> (bug-gnu-emacs@gnu.org)

> 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@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?





  reply	other threads:[~2022-05-30  2:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-29 19:43 bug#55714: 29.0.50; eval-when-compile leaves behind artifacts in init.el? Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-30  2:24 ` Eli Zaretskii [this message]
2022-05-30 15:40   ` Mark A. Hershberger
2022-05-30 16:00     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83o7zfkba6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=55714@debbugs.gnu.org \
    --cc=mah@everybody.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).