I found a .el file for M+ 1mn in Gist.
And changed my init.el like
;;(when (member "M+ 1mn" (font-family-list))
;; (add-to-list 'default-frame-alist '(font . "M+ 1mn-12")))
(create-fontset-from-ascii-font "M+ 1mn:pixelsize=16:weight=normal:slant=normal:spacing=m" nil "mplus1mn")
(set-fontset-font "fontset-mplus1mn" ...
You need to add the straight keyword in the use-package macro call e.g. add :straight t
From straight.el documentation https://github.com/raxod502/straight.el#integration-with-use-package
To use use-package, first install it with straight.el:
Now use-package will use straight.el to automatically install missing ...
In general you need to initialize the package system if you're going to use packages at init time.
i.e. Do this first:
(setq package-enable-at-startup nil)
(That said, I'd be slightly surprised if use-package didn't do that itself, so maybe this isn't the issue; but it's certainly worth testing it.)
This error basically means the function is not defined. In order for it to be defined you have to ensure the file defining it is loaded. This is classicaly done by something like (require 'rtags).
Indeed, the minimal init.el configuration mentionned in the link you provided does include it:
This minimal init.el configuration should be enough to get ...
It turns out that my setup after requiring the files was ok, but the file itself was wrongly formatted. So a working example is then the following:
(setq custom-file (expand-file-name "secret.el" user-emacs-directory))
and the following file:
;;;; -*- epa-file-encrypt-to: ("kramer@example....