Default install throws error
After installing via git clone https://github.com/darkstego/wakib-emacs.git ~/.emacs.d, the following error is thrown any time I run emacs: package.el is not yet initialized!
Emacs version GNU Emacs 26.1 running on RHEL 8
With --debug-init
Debugger entered--Lisp error: (error "package.el is not yet initialized!")
signal(error ("package.el is not yet initialized!"))
error("package.el is not yet initialized!")
package-installed-p(use-package)
(if (package-installed-p 'use-package) nil (package-refresh-contents) (package-install 'use-package))
eval-buffer(#<buffer *load*> nil "/home/whatever/.emacs.d/init.el" nil t) ; Reading at buffer position 1445
load-with-code-conversion("/home/whatever/.emacs.d/init.el" "/home/whatever/.emacs.d/init.el" t t)
load("/home/whatever/.emacs.d/init" t t)
#f(compiled-function () #<bytecode 0x23ba29>)()
command-line()
normal-top-level()
Can you test it on a recent version of Emacs. 26.1 is over 6 years old at this point and a lot has changed since then.
Unfortunately, I'm stuck on RHEL 8 (which is not going anywhere quickly) where the default version is 26.1. Ubuntu 22 isn't much better with the default emacs version being 27.1. If emacs has changed so much that supporting old versions is impossible, maybe add a version check/warning?
Everything seems to work fine on emacs 29.3 on Windows. A different problem pops up on emacs 27.1 on Ubuntu 22.04 (certificate error, packages not installed). It seems like project is rather dependent on more recent versions of emacs than will be found in most distro repos (even for relatively recent distros). Suggest adding this disclaimer to your docs and/or throwing a warning message on startup when run by an older/untested version of emacs.