unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57494: `package-install' no longer byte-compiles files of installed packages
@ 2022-08-30 17:29 Paul Pogonyshev
  2022-08-31 10:15 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Pogonyshev @ 2022-08-30 17:29 UTC (permalink / raw)
  To: 57494

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

Originally reported as https://github.com/doublep/eldev/issues/76
but apparently boils down to the fact that Emacs 29 no longer byte-
compiles `.el' files in installed packages. I managed to reproduce the
original problem with `silex/emacs:master' Docker image.

To reproduce with Emacs only:

cat >does-install-byte-compile.el <<EOF
(setf package-user-dir (make-temp-file "emacs-packages" t))
(require 'package)
(package-initialize t)
(package-install 'dash)
(message "%S" (byte-code-function-p (symbol-function '-each)))
EOF

emacs --batch --load does-install-byte-compile.el

If the file is byte-compiled, the last line should read as "t". With all
images I have tested, this is the case. But Emacs 29 (i.e. that `:master'
image), it reads "nil" instead.

Paul

[-- Attachment #2: Type: text/html, Size: 1091 bytes --]

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

end of thread, other threads:[~2022-09-01 11:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-30 17:29 bug#57494: `package-install' no longer byte-compiles files of installed packages Paul Pogonyshev
2022-08-31 10:15 ` Lars Ingebrigtsen
2022-08-31 11:27   ` Paul Pogonyshev
2022-09-01 10:12     ` Lars Ingebrigtsen
2022-09-01 10:37       ` Paul Pogonyshev
2022-09-01 11:44         ` Lars Ingebrigtsen
2022-09-01 11:00       ` Paul Pogonyshev
2022-09-01 11:40         ` Eli Zaretskii

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