Subject: Re: bug#14120: invalid load-history in emacsen that CANNOT_DUMP

From: andrés ramírez <[email-masked]>
Date: Tue, 18 Feb 2020 13:50:13 +0000

Hi Stefan.

Stefan> Can you grep for `smartparens-config` in all your Elisp files
Stefan> and show us the surrounding Lisp code?

This is my emacs invoking line:
--8<---------------cut here---------------start------------->8---
gdb --args ./emacs -Q --eval "(progn (setq my-cli-not-init-pkgs-flag t)(load \"~/.emacs.d/init.el\") (s-load-now/god-mode)(s-load-now/ace-window-mode)(s-load-now/smartparens) (run-at-time \"1\" nil  #'find-file \"~/notes.md\"))"
--8<---------------cut here---------------end--------------->8---

This is s-load-now/smartparens
--8<---------------cut here---------------start------------->8---
(defun s-load-now/smartparens ()
  "load smartparent for emacs-23
  despues de instalarlo necesitaba un require para que funcione globalmente
just do smartparens-global-mode"
  (interactive)
  (when (file-exists-p "~/.emacs.d/elpa/dash/dash.el")
    (load-file "~/.emacs.d/elpa/dash/dash.el")
    (when (file-exists-p "~/.emacs.d/lisp/smartparens")
      (add-to-list 'load-path "~/.emacs.d/lisp/smartparens")
      (require (quote smartparens-config))
      (smartparens-global-mode)
      )))
 --8<---------------cut here---------------end--------------->8---

Best Regards