unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Why does byte compilation affect existing Emacs session?
@ 2018-02-16 22:19 Alex Branham
  2018-02-18 22:26 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Branham @ 2018-02-16 22:19 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I'm trying to understand the following behavior. I've set the f1 key to
a keymap. Then I open a file with the contents

#+BEGIN_SRC emacs-lisp
(use-package help
  :defer t)
#+END_SRC

and byte compile it with M-x byte-compile-file. Now the f1 key is back
to the help keymap (same as C-h), and not whatever I had set it to
before.

Why does byte compilation affect an *existing* Emacs session if the elc
file isn't loaded?

(Yes, I know I can add :no-require t to prevent this, I just don't
understand what's going on in the first place)

Thanks in advance,
Alex



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Why does byte compilation affect existing Emacs session?
  2018-02-16 22:19 Why does byte compilation affect existing Emacs session? Alex Branham
@ 2018-02-18 22:26 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2018-02-18 22:26 UTC (permalink / raw)
  To: help-gnu-emacs

> #+BEGIN_SRC emacs-lisp
> (use-package help
>   :defer t)
> #+END_SRC
>
> and byte compile it with M-x byte-compile-file. Now the f1 key is back
> to the help keymap (same as C-h), and not whatever I had set it to
> before.

Please report this as a bug (i.e. via M-x report-emacs-bug).


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-18 22:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-16 22:19 Why does byte compilation affect existing Emacs session? Alex Branham
2018-02-18 22:26 ` Stefan Monnier

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