abougouffa / minemacs

MinEmacs: an Emacs configuration framework for daily use
https://abougouffa.github.io/minemacs/
MIT License
143 stars 16 forks source link

Getting `wrong-type-argument sequencep t` on fresh installation #51

Closed mandarvaze closed 1 year ago

mandarvaze commented 1 year ago

rm -rf .emacs.d && git clone https://github.com/abougouffa/minemacs.git ~/.emacs.d && emacs --debug-init

Got the following stack trace.

Debugger entered--Lisp error: (wrong-type-argument sequencep t)
  cl-remove(nil t :if #f(compiled-function (denied) #<bytecode -0x3e0c13122e382f7>))
  cl-remove-if(#f(compiled-function (denied) #<bytecode -0x3e0c13122e382f7>) t)
  straight--build-native-compile((:type git :host github :repo "radian-software/straight.el" :files ("straight*.el") :branch "master" :package "straight" :local-repo "straight.el"))
  run-hook-with-args(straight--build-native-compile (:type git :host github :repo "radian-software/straight.el" :files ("straight*.el") :branch "master" :package "straight" :local-repo "straight.el"))
  straight--build-package((:type git :host github :repo "radian-software/straight.el" :files ("straight*.el") :branch "master" :package "straight" :local-repo "straight.el") nil)
  #f(compiled-function () #<bytecode -0x9421ad012ab59a2>)()
  straight--transaction-exec(use-package-\"c809124e9c5270ea1c72e2c3507331d1\"-nil-nil :now #f(compiled-function () #<bytecode -0x9421ad012ab59a2>))
  straight-use-package((straight :type git :host github :repo "radian-software/straight.el" :files ("straight*.el") :branch "master"))
  load-with-code-conversion("/Users/mandar/.emacs.d/local/straight/repos/..." "/Users/mandar/.emacs.d/local/straight/repos/..." nil t)
  load("~/.emacs.d/local/straight/repos/straight.el/bootst..." nil nomessage)
  (let ((bootstrap-file (concat straight-base-dir "straight/repos/straight.el/bootstrap.el")) (bootstrap-version 6)) (if (file-exists-p bootstrap-file) nil (save-current-buffer (set-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/radian-software/..." 'silent 'inhibit-cookies)) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage))
  load-with-code-conversion("/Users/mandar/.emacs.d/core/me-bootstrap.el" "/Users/mandar/.emacs.d/core/me-bootstrap.el" nil nil)
  load("~/.emacs.d/core/me-bootstrap.el" nil nil)
  (if (file-exists-p filename) (load filename nil (not minemacs-verbose)) (user-error "[MinEmacs:Error] Cannot load \"%s\", the file doesn'..." filename))
  (let ((filename (mapconcat #'identity filename-parts nil))) (if (file-exists-p filename) (load filename nil (not minemacs-verbose)) (user-error "[MinEmacs:Error] Cannot load \"%s\", the file doesn'..." filename)))
  +load("~/.emacs.d/core/me-bootstrap.el")
  (let ((module-file (car --dolist-tail--))) (+load module-file) (setq --dolist-tail-- (cdr --dolist-tail--)))
  (while --dolist-tail-- (let ((module-file (car --dolist-tail--))) (+load module-file) (setq --dolist-tail-- (cdr --dolist-tail--))))
  (let ((--dolist-tail-- (append (mapcar (apply-partially #'format "%s%s.el" minemacs-core-dir) minemacs-core-modules) (mapcar (apply-partially #'format "%s%s.el" minemacs-modules-dir) minemacs-modules)))) (while --dolist-tail-- (let ((module-file (car --dolist-tail--))) (+load module-file) (setq --dolist-tail-- (cdr --dolist-tail--)))))
  load-with-code-conversion("/Users/mandar/.emacs.d/init.el" "/Users/mandar/.emacs.d/init.el" t t)
  load("/Users/mandar/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode -0x14935a4cd9dd74f>) #f(compiled-function () #<bytecode -0x1f3c686ddc0d6275>) t)
  command-line()
  normal-top-level()

This is on emacs 28.2 on macOS (apple M2)

I was using Emacs doom on this machine cause I was unable to use magit earlier. Now that it is fixed, I wanted to get back to Minemacs, but I can't :(

mandarvaze commented 1 year ago

I wonder if https://emacs.stackexchange.com/questions/75284/problem-with-remove-if-and-cl-remove-if is helpful (As you can tell I'm emacs lisp noob :( )

abougouffa commented 1 year ago

Thanks for bringing this to my attention, it should be fixed now!

mandarvaze commented 1 year ago

I confirm that issue is fixed. Thanks @abougouffa