Giter Site home page Giter Site logo

Comments (8)

abougouffa avatar abougouffa commented on May 29, 2024

Hello @oatmealm, thank you for the feedback.

Can you try to launch Emacs with debug init and share the error trace?

emacs --debug-init

from minemacs.

abougouffa avatar abougouffa commented on May 29, 2024

I've just tested it on a build (on Manjaro Linux) of the latest commit (emacs-mirror/emacs@43a6b3f) and didn't manage to reproduce the error.

from minemacs.

oatmealm avatar oatmealm commented on May 29, 2024

Yes, got this (same version of Emacs):

 Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "f-shortdoc")
  require(f-shortdoc)
  byte-code("\301\302!\210\301\303!\210\304\305\10\"\203\23\0\301\306!\210\307\310\311\312#\210\307\310\313\314#\207" [emacs-version require s dash version<= "28.1" f-shortdoc put f-guard-error error-conditions (error f-guard-error) error-message "Destructive operation outside sandbox"] 4)
  require(f)
  byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\207" [require dash s f rx] 2)
  require(shrink-path)
  byte-code("\302\303!\210\302\304!\210\302\305!\210\302\306!\210\302\307\310\311#\210\10\312=\203\36\0\311\21\310\207" [system-type inhibit-compacting-font-caches require cl-lib subr-x compat shrink-path all-the-icons nil t windows-nt] 4)
  require(doom-modeline-core)
  byte-code("\300\301!\210\300\302!\210\303\304\305\306#\210\303\307\310\311#\210\303\312\313\314#\210\303\315\316\317#\210\303\320\321\322#\210\303\323\324\325#\210\303\326\327\330#\210..." [require doom-modeline-core doom-modeline-segments doom-modeline-def-modeline main (bar workspace-name window-number modals matches follow buffer-info remote-host buffer-position word-count parrot selection-info) (compilation objed-state misc-info persp-name battery grip irc mu4e gnus github debug repl lsp minor-modes input-method indent-info buffer-encoding major-mode process vcs checker time) minimal (bar matches buffer-info-simple) (media-info major-mode time) special (bar window-number modals matches buffer-info remote-host buffer-position word-count parrot selection-info) (compilation objed-state misc-info battery irc-buffers debug minor-modes input-method indent-info buffer-encoding major-mode process time) project (bar window-number modals buffer-default-directory remote-host buffer-position) (compilation misc-info battery irc mu4e gnus github debug minor-modes input-method major-mode process time) dashboard (bar window-number buffer-default-directory-simple remote-host) (compilation misc-info battery irc mu4e gnus github debug minor-modes input-method major-mode process time) vcs (bar window-number modals matches buffer-info remote-host buffer-position parrot selection-info) (compilation misc-info battery irc mu4e gnus github debug minor-modes buffer-encoding major-mode process time) package (bar window-number package) (compilation misc-info major-mode process time) info (bar window-number buffer-info info-nodes buffer-position parrot selection-info) (compilation misc-info buffer-encoding major-mode time) media (bar window-number buffer-size buffer-info) (compilation misc-info media-info major-mode process vcs time) message (bar window-number modals matches buffer-info-simple buffer-position word-count parrot selection-info) (compilation objed-state misc-info battery debug minor-modes input-method indent-info buffer-encoding major-mode time) pdf (bar window-number matches buffer-info pdf-pages) (compilation misc-info major-mode process vcs time) org-src (bar window-number modals matches buffer-info-simple buffer-position word-count parrot selection-info) (compilation objed-state misc-info debug lsp minor-modes input-method indent-info buffer-encoding major-mode process checker time) helm (bar helm-buffer-id helm-number helm-follow helm-prefix-argument) (helm-help time) timemachine (bar window-number modals matches git-timemachine buffer-position word-count parrot selection-info) (misc-info minor-modes indent-info buffer-encoding major-mode time) calculator (window-number modals matches calc buffer-position) (misc-info minor-modes major-mode process)] 4)
  require(doom-modeline nil t)
  (not (require 'doom-modeline nil t))
  (if (not (require 'doom-modeline nil t)) (display-warning 'use-package (format "Cannot load %s" 'doom-modeline) :error) (let ((now (current-time))) (message "%s..." "Configuring package doom-modeline") (prog1 (condition-case err (progn (doom-modeline-def-modeline 'main '(bar workspace-name window-number modals matches follow buffer-info remote-host buffer-position word-count parrot selection-info) '(objed-state misc-info persp-name battery grip irc mu4e gnus github debug repl lsp minor-modes input-method indent-info buffer-encoding major-mode process vcs checker time "   ")) (doom-modeline-mode 1) t) ((debug error) (funcall use-package--warning3 :config err))) (let ((elapsed (float-time (time-subtract ... now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package doom-modeline" elapsed) (message "%s...done" "Configuring package doom-modeline"))))))
  (prog1 (if (not (require 'doom-modeline nil t)) (display-warning 'use-package (format "Cannot load %s" 'doom-modeline) :error) (let ((now (current-time))) (message "%s..." "Configuring package doom-modeline") (prog1 (condition-case err (progn (doom-modeline-def-modeline 'main '... '...) (doom-modeline-mode 1) t) ((debug error) (funcall use-package--warning3 :config err))) (let ((elapsed (float-time ...))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package doom-modeline" elapsed) (message "%s...done" "Configuring package doom-modeline")))))) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package doom-modeline" elapsed) (message "%s...done" "Loading package doom-modeline"))))
  (let ((now (current-time))) (message "%s..." "Loading package doom-modeline") (prog1 (if (not (require 'doom-modeline nil t)) (display-warning 'use-package (format "Cannot load %s" 'doom-modeline) :error) (let ((now (current-time))) (message "%s..." "Configuring package doom-modeline") (prog1 (condition-case err (progn (doom-modeline-def-modeline ... ... ...) (doom-modeline-mode 1) t) ((debug error) (funcall use-package--warning3 :config err))) (let ((elapsed ...)) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package doom-modeline" elapsed) (message "%s...done" "Configuring package doom-modeline")))))) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package doom-modeline" elapsed) (message "%s...done" "Loading package doom-modeline")))))
  (progn (let ((custom--inhibit-theme-enable nil)) (if (memq 'use-package custom-known-themes) nil (custom-declare-theme 'use-package 'use-package-theme nil (list)) (enable-theme 'use-package) (setq custom-enabled-themes (remq 'use-package custom-enabled-themes))) (custom-theme-set-variables 'use-package '(doom-modeline-height 35 nil nil "Customized with use-package doom-modeline") '(doom-modeline-bar-width 8 nil nil "Customized with use-package doom-modeline") '(doom-modeline-time-icon nil nil nil "Customized with use-package doom-modeline") '(doom-modeline-buffer-encoding 'nondefault nil nil "Customized with use-package doom-modeline") '(doom-modeline-unicode-fallback t nil nil "Customized with use-package doom-modeline"))) (let ((now (current-time))) (message "%s..." "Loading package doom-modeline") (prog1 (if (not (require 'doom-modeline nil t)) (display-warning 'use-package (format "Cannot load %s" 'doom-modeline) :error) (let ((now (current-time))) (message "%s..." "Configuring package doom-modeline") (prog1 (condition-case err (progn ... ... t) (... ...)) (let (...) (if ... ... ...))))) (let ((elapsed (float-time (time-subtract ... now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package doom-modeline" elapsed) (message "%s...done" "Loading package doom-modeline"))))))
  (condition-case err (progn (let ((custom--inhibit-theme-enable nil)) (if (memq 'use-package custom-known-themes) nil (custom-declare-theme 'use-package 'use-package-theme nil (list)) (enable-theme 'use-package) (setq custom-enabled-themes (remq 'use-package custom-enabled-themes))) (custom-theme-set-variables 'use-package '(doom-modeline-height 35 nil nil "Customized with use-package doom-modeline") '(doom-modeline-bar-width 8 nil nil "Customized with use-package doom-modeline") '(doom-modeline-time-icon nil nil nil "Customized with use-package doom-modeline") '(doom-modeline-buffer-encoding 'nondefault nil nil "Customized with use-package doom-modeline") '(doom-modeline-unicode-fallback t nil nil "Customized with use-package doom-modeline"))) (let ((now (current-time))) (message "%s..." "Loading package doom-modeline") (prog1 (if (not (require 'doom-modeline nil t)) (display-warning 'use-package (format "Cannot load %s" 'doom-modeline) :error) (let ((now ...)) (message "%s..." "Configuring package doom-modeline") (prog1 (condition-case err ... ...) (let ... ...)))) (let ((elapsed (float-time ...))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package doom-modeline" elapsed) (message "%s...done" "Loading package doom-modeline")))))) ((debug error) (funcall use-package--warning3 :catch err)))
  load-with-code-conversion("~/.emacs.d/core/me-core-ui.el" "~/.emacs.d/core/me-core-ui.el" nil nil)
  load("~/.emacs.d/core/me-core-ui.el" nil nil)
  (if (file-exists-p filename) (load filename nil (not minemacs-verbose)) (apply #'message (list (concat "[MinEmacs:Error] " "Core module \"%s\" not found!") module)))
  (let ((filename (concat minemacs-core-dir (format "%s.el" module)))) (if (file-exists-p filename) (load filename nil (not minemacs-verbose)) (apply #'message (list (concat "[MinEmacs:Error] " "Core module \"%s\" not found!") module))))
  (let ((module (car tail))) nil (let ((filename (concat minemacs-core-dir (format "%s.el" module)))) (if (file-exists-p filename) (load filename nil (not minemacs-verbose)) (apply #'message (list (concat "[MinEmacs:Error] " "Core module \"%s\" not found!") module)))) (setq tail (cdr tail)))
  (while tail (let ((module (car tail))) nil (let ((filename (concat minemacs-core-dir (format "%s.el" module)))) (if (file-exists-p filename) (load filename nil (not minemacs-verbose)) (apply #'message (list (concat "[MinEmacs:Error] " "Core module \"%s\" not found!") module)))) (setq tail (cdr tail))))
  (let ((tail minemacs-core-modules)) (while tail (let ((module (car tail))) nil (let ((filename (concat minemacs-core-dir (format "%s.el" module)))) (if (file-exists-p filename) (load filename nil (not minemacs-verbose)) (apply #'message (list (concat "[MinEmacs:Error] " "Core module \"%s\" not found!") module)))) (setq tail (cdr tail)))))
  load-with-code-conversion("~/.emacs.d/init.el" "~/.emacs.d/init.el" t t)
  load("~/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x12158e7512c681e6>) #f(compiled-function () #<bytecode -0x1f3c61addc0b3035>) t)
  command-line()
  normal-top-level()

from minemacs.

abougouffa avatar abougouffa commented on May 29, 2024

This seems to be related to f.el, for Emacs 28.1+, f.el requires f-shortdoc.el (included in the same package). Normally, it should be present under the installation directory ~/.emacs.d/local/straight/build-30.0.50/f/.

Please check if the file ~/.emacs.d/local/straight/build-30.0.50/f/f-shortdoc.el exists.

from minemacs.

oatmealm avatar oatmealm commented on May 29, 2024

I'm running both emacs 28 and next (30.x) off the same installation of minemacs and same .minemacs.d. While 28.2 starts fine, 30 shows the error.

Screenshot from 2023-02-22 07-55-05

from minemacs.

abougouffa avatar abougouffa commented on May 29, 2024

I'm running both emacs 28 and next (30.x) off the same installation of minemacs and same .minemacs.d.

Oops, I suspect this to be the cause. I didn't (and I don't plan to) test MinEmacs in such an environment (with both Emacs 28 and 30 on the same installation directory).

Can you test, if when running this:

cd ~/.emacs.d
make clean

Then, you launch Emacs 30 (before launching Emacs 28).

I want to see if the issue is related to the mixed versions of Emacs or is just an Emacs 30 thing.

from minemacs.

oatmealm avatar oatmealm commented on May 29, 2024

Oh I see. I thought straight building into separate build directories was enough, and I think I saw you were also checking for Emacs version in some of the init code...

Will check again.

from minemacs.

oatmealm avatar oatmealm commented on May 29, 2024

That solved the problem.

from minemacs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.