Executing when byte compiling
When I check out my emacs settings to a new computer I would like the first emacs call to install my selected packages. I am using el-init
for organizing my init files, and have set it in a way, that it byte compiles init files with no valid elc before loading them. This dos not work with quelpa-use-package. When I start emacs --debut-init -Q
and then try to byte compile the following code:
(eval-when-compile
(require 'package)
(setq package-archives
(nconc package-archives
'(("melpa" . "http://melpa.org/packages/"))))
(package-initialize)
(package-refresh-contents)
(package-initialize)
(unless (package-installed-p 'use-package)
(package-install 'use-package))
(require 'use-package)
(use-package quelpa :ensure t)
(quelpa
'(quelpa-use-package
:fetcher git
:url "https://framagit.org/steckerhalter/quelpa-use-package.git")
:upgrade t)
(require 'quelpa-use-package))
(eval-when-compile
(use-package smart-whitespace-comment-fixup
:quelpa ((smart-whitespace-comment-fixup
:repo "nflath/smart-whitespace-comment-fixup"
:fetcher github)
:upgrade t)))
using (byte-compile "~/tmp/test.el")
I get
Debugger entered--Lisp error: (file-missing "Cannot open load file" "Datei oder Verzeichnis nicht gefunden" "smart-whitespace-comment-fixup")
load("smart-whitespace-comment-fixup" nil t)
...
after I deleted all previously installed packages, that is bind-key
, quelpa
, quelpa-use-package
, and use-package
are installed, but I still get the error.