Closed ilgoat closed 2 years ago
I have the same issue. It doesn't matter whether I set up everything from scratch or copy stuff. Branches master
or development
show the same behavior. I installed emacs via pacman -S emacs
. Environment info:
$ uname -ro
4.18.16-arch1-1-ARCH GNU/Linux
$ emacs --version
GNU Emacs 26.1
Copyright (C) 2018 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Startup log:
Debugger entered--Lisp error: (file-missing "Setting current directory" "No such file or directory" "~/")
call-process("/usr/bin/fish" nil t nil "-c" "/usr/bin/timeout --help")
apply(call-process "/usr/bin/fish" nil t nil ("-c" "/usr/bin/timeout --help"))
process-file("/usr/bin/fish" nil t nil "-c" "/usr/bin/timeout --help")
shell-command-to-string("/usr/bin/timeout --help")
(string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))
(and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help"))))
(if (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) (progn prog))
(when (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) prog)
(let ((prog (or (executable-find "timeout") (executable-find "gtimeout")))) (when (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) prog))
eval((let ((prog (or (executable-find "timeout") (executable-find "gtimeout")))) (when (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) prog)))
custom-initialize-reset(quelpa-build-timeout-executable (let ((prog (or (executable-find "timeout") (executable-find "gtimeout")))) (when (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) prog)))
custom-declare-variable(quelpa-build-timeout-executable (let ((prog (or (executable-find "timeout") (executable-find "gtimeout")))) (when (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) prog)) "Path to a GNU coreutils \"timeout\" command if available.\nThis must be a version which supports the \"-k\" option." :type (file :must-match t))
eval-buffer(#<buffer *load*-888154> nil "/home/arne/.emacs.d/core/libs/quelpa.el" nil t) ; Reading at buffer position 15060
load-with-code-conversion("/home/arne/.emacs.d/core/libs/quelpa.el" "/home/arne/.emacs.d/core/libs/quelpa.el" nil t)
require(quelpa)
configuration-layer//configure-quelpa()
(let ((display-buffer-alist '(("\\(\\*Compile-Log\\*\\)\\|\\(\\*Warnings\\*\\)" (display-buffer-in-side-window) (inhibit-same-window . t) (side . bottom) (window-height . 0.2))))) (configuration-layer//configure-quelpa) (let* ((upkg-names (configuration-layer//get-uninstalled-packages packages)) (not-inst-count (length upkg-names)) installed-count) (if upkg-names (progn (spacemacs-buffer/set-mode-line "Installing packages..." t) (let ((delayed-warnings-backup delayed-warnings-list)) (spacemacs-buffer/append (format "Found %s new package(s) to install...\n" not-inst-count)) (configuration-layer/retrieve-package-archives) (setq installed-count 0) (spacemacs//redisplay) (let ((--dolist-tail-- upkg-names) pkg-name) (while --dolist-tail-- (setq pkg-name (car --dolist-tail--)) (let ((pkg (configuration-layer/get-package pkg-name))) (if (and pkg (memq (eieio-oref pkg ':step) '(bootstrap pre))) (progn (setq installed-count (1+ installed-count)) (configuration-layer//install-package pkg)))) (setq --dolist-tail-- (cdr --dolist-tail--)))) (let ((--dolist-tail-- upkg-names) pkg-name) (while --dolist-tail-- (setq pkg-name (car --dolist-tail--)) (let ((pkg (configuration-layer/get-package pkg-name))) (if (and pkg (memq (eieio-oref pkg ':step) '(bootstrap pre))) nil (setq installed-count (1+ installed-count)) (configuration-layer//install-package pkg))) (setq --dolist-tail-- (cdr --dolist-tail--)))) (spacemacs-buffer/append "\n") (if init-file-debug nil (setq delayed-warnings-list delayed-warnings-backup)))))))
configuration-layer//install-packages((ac-ispell ace-jump-helm-line ace-link ace-window afternoon-theme aggressive-indent alect-themes ample-theme ample-zen-theme anti-zenburn-theme apropospriate-theme async auto-compile auto-complete auto-dictionary auto-highlight-symbol auto-yasnippet avy badwolf-theme bind-key bind-map birds-of-paradise-plus-theme browse-at-remote bubbleberry-theme busybee-theme centered-cursor-mode cherry-blossom-theme cider cider-eval-sexp-fu clean-aindent-mode clojure-cheatsheet clojure-mode clojure-snippets clues-theme color-identifiers-mode color-theme-sanityinc-solarized color-theme-sanityinc-tomorrow column-enforce-mode company company-quickhelp company-shell company-statistics company-tern company-web counsel-projectile css-mode cyberpunk-theme dakrone-theme darkburn-theme darkmine-theme darkokai-theme darktooth-theme define-word desktop diff-hl diff-mode diminish django-theme doom-modeline doom-themes dotenv-mode dracula-theme dumb-jump editorconfig elisp-slime-nav emmet-mode espresso-theme eval-sexp-fu evil evil-anzu evil-args evil-cleverparens evil-ediff evil-escape evil-exchange evil-goggles evil-iedit-state evil-indent-plus evil-lion evil-lisp-state evil-magit evil-matchit evil-nerd-commenter evil-numbers evil-org evil-surround evil-tutor evil-unimpaired evil-visual-mark-mode evil-visualstar exotica-theme expand-region eyebrowse eziam-theme fancy-battery farmhouse-theme fill-column-indicator fish-mode flatland-theme flatui-theme flx-ido flycheck flycheck-bashate flycheck-pos-tip flyspell flyspell-correct flyspell-correct-helm font-lock+ fuzzy gandalf-theme gh-md git-commit git-gutter git-gutter+ git-gutter-fringe git-gutter-fringe+ git-link git-messenger git-timemachine gitattributes-mode gitconfig-mode gitignore-mode gitignore-templates gnuplot golden-ratio google-translate gotham-theme grandshell-theme gruber-darker-theme gruvbox-theme haml-mode hc-zenburn-theme helm helm-ag helm-c-yasnippet helm-company helm-css-scss helm-descbinds helm-flx helm-git-grep helm-gitignore helm-make helm-mode-manager helm-org-rifle helm-projectile helm-purpose helm-swoop helm-themes helm-xref hemisu-theme heroku-theme highlight-indentation highlight-numbers highlight-parentheses hippie-exp hl-todo htmlize hungry-delete hydra impatient-mode indent-guide inkpot-theme insert-shebang ir-black-theme jazz-theme jbeans-theme js-doc js2-mode js2-refactor json-mode json-navigator json-reformat json-snatcher kaolin-themes less-css-mode light-soap-theme link-hint livid-mode lorem-ipsum lush-theme macrostep madhat2r-theme magit magit-gitflow magit-svn majapahit-theme markdown-mode markdown-toc material-theme minimal-theme mmm-mode moe-theme molokai-theme monochrome-theme monokai-theme move-text mustang-theme nameless naquadah-theme neotree noctilux-theme ob-http obsidian-theme occidental-theme oldlace-theme omtose-phellack-theme open-junk-file org-brain org-bullets org-download org-mime org-plus-contrib org-pomodoro org-present org-projectile organic-green-theme orgit overseer ox-reveal paradox password-generator pcre2el persp-mode phoenix-dark-mono-theme phoenix-dark-pink-theme planet-theme popup popwin prettier-js professional-theme projectile pug-mode purple-haze-theme railscasts-theme rainbow-delimiters rainbow-identifiers rainbow-mode rebecca-theme request restart-emacs reverse-theme sass-mode scss-mode seti-theme skewer-mode slim-mode smartparens smeargle smyx-theme soft-charcoal-theme soft-morning-theme soft-stone-theme solarized-theme soothe-theme spacegray-theme spaceline spaceline-all-the-icons string-inflection subatomic-theme subatomic256-theme sublime-themes sunny-day-theme symon tagedit tango-2-theme tango-plus-theme tangotango-theme tao-theme tern toc-org toxi-theme twilight-anti-bright-theme twilight-bright-theme twilight-theme ujelly-theme underwater-theme undo-tree use-package uuidgen vi-tilde-fringe volatile-highlights web-beautify web-mode which-key white-sand-theme window-purpose winum ws-butler yasnippet yasnippet-snippets zen-and-art-theme zenburn-theme))
(let ((packages (append (configuration-layer//filter-distant-packages configuration-layer--used-packages t '(not (oref pkg :lazy-install))) (if (eq 'all dotspacemacs-install-packages) (progn (let (all-other-packages) (let ((--dolist-tail-- (configuration-layer/get-layers-list)) layer) (while --dolist-tail-- (setq layer (car --dolist-tail--)) (let ((configuration-layer--declared-layers-usedp nil) (configuration-layer--load-packages-files t)) (configuration-layer/declare-layer layer) (let* ((obj (configuration-layer/get-layer layer)) (pkgs (if obj (progn (eieio-oref obj ':packages))))) (configuration-layer/make-packages-from-layers (list layer)) (let ((--dolist-tail-- pkgs) pkg) (while --dolist-tail-- (setq pkg (car --dolist-tail--)) (let ((pkg-name (if (listp pkg) (car pkg) pkg))) (if (member pkg-name all-other-packages) all-other-packages (setq all-other-packages (cons pkg-name all-other-packages)))) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (setq --dolist-tail-- (cdr --dolist-tail--)))) (configuration-layer//filter-distant-packages all-other-packages nil))))))) (configuration-layer//install-packages packages) (if (and (or (eq 'used dotspacemacs-install-packages) (eq 'used-only dotspacemacs-install-packages)) (not configuration-layer-force-distribution) (not configuration-layer-exclude-all-layers)) (progn (configuration-layer/delete-orphan-packages packages))))
(progn (let ((packages (append (configuration-layer//filter-distant-packages configuration-layer--used-packages t '(not (oref pkg :lazy-install))) (if (eq 'all dotspacemacs-install-packages) (progn (let (all-other-packages) (let ((--dolist-tail-- (configuration-layer/get-layers-list)) layer) (while --dolist-tail-- (setq layer (car --dolist-tail--)) (let ((configuration-layer--declared-layers-usedp nil) (configuration-layer--load-packages-files t)) (configuration-layer/declare-layer layer) (let* ((obj (configuration-layer/get-layer layer)) (pkgs (if obj (progn (eieio-oref obj ':packages))))) (configuration-layer/make-packages-from-layers (list layer)) (let ((--dolist-tail-- pkgs) pkg) (while --dolist-tail-- (setq pkg (car --dolist-tail--)) (let ((pkg-name (if (listp pkg) (car pkg) pkg))) (if (member pkg-name all-other-packages) all-other-packages (setq all-other-packages (cons pkg-name all-other-packages)))) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (setq --dolist-tail-- (cdr --dolist-tail--)))) (configuration-layer//filter-distant-packages all-other-packages nil))))))) (configuration-layer//install-packages packages) (if (and (or (eq 'used dotspacemacs-install-packages) (eq 'used-only dotspacemacs-install-packages)) (not configuration-layer-force-distribution) (not configuration-layer-exclude-all-layers)) (progn (configuration-layer/delete-orphan-packages packages)))))
(if spacemacs-sync-packages (progn (let ((packages (append (configuration-layer//filter-distant-packages configuration-layer--used-packages t '(not (oref pkg :lazy-install))) (if (eq 'all dotspacemacs-install-packages) (progn (let (all-other-packages) (let ((--dolist-tail-- (configuration-layer/get-layers-list)) layer) (while --dolist-tail-- (setq layer (car --dolist-tail--)) (let ((configuration-layer--declared-layers-usedp nil) (configuration-layer--load-packages-files t)) (configuration-layer/declare-layer layer) (let* ((obj (configuration-layer/get-layer layer)) (pkgs (if obj (progn (eieio-oref obj ':packages))))) (configuration-layer/make-packages-from-layers (list layer)) (let ((--dolist-tail-- pkgs) pkg) (while --dolist-tail-- (setq pkg (car --dolist-tail--)) (let ((pkg-name (if (listp pkg) (car pkg) pkg))) (if (member pkg-name all-other-packages) all-other-packages (setq all-other-packages (cons pkg-name all-other-packages)))) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (setq --dolist-tail-- (cdr --dolist-tail--)))) (configuration-layer//filter-distant-packages all-other-packages nil))))))) (configuration-layer//install-packages packages) (if (and (or (eq 'used dotspacemacs-install-packages) (eq 'used-only dotspacemacs-install-packages)) (not configuration-layer-force-distribution) (not configuration-layer-exclude-all-layers)) (progn (configuration-layer/delete-orphan-packages packages))))))
configuration-layer//load()
(cond (changed-since-last-dump-p (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message "Layer list has changed since last dump.") (configuration-layer//dump-emacs)))) (spacemacs-force-dump (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat "--force-dump passed on the command line, " "forcing a redump.")) (configuration-layer//dump-emacs)))) ((spacemacs-is-dumping-p) (configuration-layer//load) (configuration-layer/message "Dumping Emacs...")) ((and (spacemacs/emacs-with-pdumper-set-p) (spacemacs-run-from-dump-p)) (configuration-layer/message "Running from a dumped file. Skipping the loading process!")) (t (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat "Layer list has not changed since last time. " "Skipping dumping process!"))))))
configuration-layer/load()
(let ((file-name-handler-alist nil)) (require 'core-spacemacs) (if (eq 'dumping spacemacs-dump-mode) nil (if (boundp 'load-path-backup) (progn (setq load-path load-path-backup)))) (configuration-layer/load-lock-file) (spacemacs/init) (configuration-layer/stable-elpa-download-tarball) (configuration-layer/load) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (if (eq 'dumping spacemacs-dump-mode) nil (global-font-lock-mode) (global-undo-tree-mode t) (winner-mode t)) (if (and dotspacemacs-enable-server (not (spacemacs-is-dumping-p))) (progn (require 'server) (if dotspacemacs-server-socket-dir (progn (setq server-socket-dir dotspacemacs-server-socket-dir))) (if (server-running-p) nil (message "Starting a server...") (server-start)))) (if (eq 'dumping spacemacs-dump-mode) (progn (setq load-path-backup load-path) (global-undo-tree-mode -1) (setq spacemacs-dump-mode 'dumped) (garbage-collect))))
(if (not (version<= spacemacs-emacs-min-version emacs-version)) (error (concat "Your version of Emacs (%s) is too old. " "Spacemacs requires Emacs version %s or above.") emacs-version spacemacs-emacs-min-version) (let ((file-name-handler-alist nil)) (require 'core-spacemacs) (if (eq 'dumping spacemacs-dump-mode) nil (if (boundp 'load-path-backup) (progn (setq load-path load-path-backup)))) (configuration-layer/load-lock-file) (spacemacs/init) (configuration-layer/stable-elpa-download-tarball) (configuration-layer/load) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (if (eq 'dumping spacemacs-dump-mode) nil (global-font-lock-mode) (global-undo-tree-mode t) (winner-mode t)) (if (and dotspacemacs-enable-server (not (spacemacs-is-dumping-p))) (progn (require 'server) (if dotspacemacs-server-socket-dir (progn (setq server-socket-dir dotspacemacs-server-socket-dir))) (if (server-running-p) nil (message "Starting a server...") (server-start)))) (if (eq 'dumping spacemacs-dump-mode) (progn (setq load-path-backup load-path) (global-undo-tree-mode -1) (setq spacemacs-dump-mode 'dumped) (garbage-collect)))))
eval-buffer(#<buffer *load*> nil "/home/arne/.emacs.d/init.el" nil t) ; Reading at buffer position 2288
load-with-code-conversion("/home/arne/.emacs.d/init.el" "/home/arne/.emacs.d/init.el" t t)
load("/home/arne/.emacs.d/init" t t)
#f(compiled-function () #<bytecode 0x25ee0d>)()
command-line()
normal-top-level()
I just installed emacs25-git from aur:
$ emacs --version
GNU Emacs 25.3.50.1
Copyright (C) 2017 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
This shows the same behavior.
@ilgoat I found the error in my case: ~/.spacemacs.env
contained warnings. I deleted the file, did git clone -b develop
again and now everything's fine! Maybe that helps.
What was the content of the ~/.spacemacs.env
file ?
The file looked like this:
# ... truncated
# It is recommended to get used to this file as it unambiguously and
# explicitly set the values of your environment variables.
# ---------------------------------------------------------------------------
# Environment variables:
# ----------------------
<W> fish: Could not set up terminal.
<W> fish: TERM environment variable not set.
<W> fish: Using fallback terminal type 'ansi'.
# ... truncated
Same issue, but only on develop with Emacs 26.2 https://github.com/syl20bnr/spacemacs/issues/12227
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
我是邹代宇,我收到啦。
Info:
The config file .spacemacs and .emacs.d are working well in my another laptop(Ubuntu18.04) , and I copied them to deepin directly.
debug-init output