[英]Can't open any file with emacs-live configuration on OSX
我看了Sam Aaron emacs-live
演示的emacs-live
演示。 我去了GitHub存儲庫,獲取了他的.emacs.d
設置,並通過刪除現有的.emacs
文件將其替換為我的設置。
一切似乎都很好,我具有emacs-live
大多數功能,但似乎無法打開任何現有文件。
每次我執行Cx Cf並選擇一個文件時,都會收到以下消息:
"Searching for program: no such file or directory, git "
此外,它會加載很多程序包,並且需要花費一些時間來初始化,並停留在以下消息中:
Zoning... (zone-pgm-putz-with-case)
我是Emacs的新手,知道在這里出什么問題了嗎?
編輯1 :
我的系統上已安裝Git!
這是我使用的倉庫: https : //github.com/overtone/emacs-live
編輯2 :
調試器的輸出:
Debugger entered--Lisp error: (file-error "Searching for program" "no such file or directory" "git")
call-process("git" nil (t nil) nil "--no-pager" "rev-parse" "--show-cdup")
apply(call-process "git" nil (t nil) nil ("--no-pager" "rev-parse" "--show-cdup"))
process-file("git" nil (t nil) nil "--no-pager" "rev-parse" "--show-cdup")
apply(process-file "git" nil (t nil) nil ("--no-pager" "rev-parse" "--show-cdup"))
(progn (apply (function process-file) magit-git-executable nil (list t nil) nil (append magit-git-standard-options args)) (if (= (point-m$
(unwind-protect (progn (apply (function process-file) magit-git-executable nil (list t nil) nil (append magit-git-standard-options args))$
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (apply (function process-file) magit-git-executable nil (list t nil)$
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (apply (functio$
magit-git-string("rev-parse" "--show-cdup")
(let* ((default-directory (file-name-as-directory cwd)) (cdup (magit-git-string "rev-parse" "--show-cdup"))) (if cdup (progn (file-name-a$
(progn (let* ((default-directory (file-name-as-directory cwd)) (cdup (magit-git-string "rev-parse" "--show-cdup"))) (if cdup (progn (file$
(if (file-directory-p cwd) (progn (let* ((default-directory (file-name-as-directory cwd)) (cdup (magit-git-string "rev-parse" "--show-cdu$
magit-get-top-dir()
(and magit-turn-on-auto-revert-mode (not auto-revert-mode) (not auto-revert-tail-mode) (not global-auto-revert-mode) (magit-get-top-dir))
(if (and magit-turn-on-auto-revert-mode (not auto-revert-mode) (not auto-revert-tail-mode) (not global-auto-revert-mode) (magit-get-top-d$
magit-maybe-turn-on-auto-revert-mode()
run-hooks(find-file-hook)
after-find-file(nil t)
find-file-noselect-1(#<buffer access.clj> "~/Desktop/hulk/src/core/models/access.clj" nil nil "~/Desktop/hulk/src/core/models/access.clj"$
find-file-noselect("/Users/amogh/Desktop/hulk/src/core/models/access.clj" nil nil)
ido-file-internal(selected-window)
ido-find-file()
call-interactively(ido-find-file nil nil)
嘗試使用exec-path-from-shell 。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.