Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 无法在OSX上使用emacs live配置打开任何文件_Macos_Git_Emacs_Clojure_Customization - Fatal编程技术网

Macos 无法在OSX上使用emacs live配置打开任何文件

Macos 无法在OSX上使用emacs live配置打开任何文件,macos,git,emacs,clojure,customization,Macos,Git,Emacs,Clojure,Customization,我看了Sam Aaron带泛音的emacs现场演示。我去了GitHub存储库,得到了他的.emacs.d安装程序,并用它替换了我的安装程序,删除了一个现有的.emacs文件 一切似乎都很好,我有大多数emacs live功能,但我似乎无法打开任何现有文件 每次执行C-x C-f并选择文件时,我都会收到以下消息: "Searching for program: no such file or directory, git " 此外,它会加载很多包,需要时间进行初始化,并且会被一条如下消息卡住:

我看了Sam Aaron带泛音的emacs现场演示。我去了GitHub存储库,得到了他的.emacs.d安装程序,并用它替换了我的安装程序,删除了一个现有的.emacs文件

一切似乎都很好,我有大多数emacs live功能,但我似乎无法打开任何现有文件

每次执行C-x C-f并选择文件时,我都会收到以下消息:

"Searching for program: no such file or directory, git "
此外,它会加载很多包,需要时间进行初始化,并且会被一条如下消息卡住:

Zoning... (zone-pgm-putz-with-case)
我是Emacs的新手,知道这里出了什么问题吗

编辑1:

我的系统上安装了Git

以下是我使用的回购协议:

编辑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)  

尝试使用。

通过在系统上安装,您应该能够消除第一个错误。另外:如果您可以提供一个指向GitHub存储库的链接,其中包含您试图加载的配置,那就太好了。。。这条消息是因为区域已被调用。括号中的部分告诉您哪些可用区域程序有效。几乎可以肯定的是,显示器当时做了一些有点古怪的事情。您可以使用M-x zone自己调用它。@AmoghTalpallikar C-x C-f绑定到哪个命令?做C-h k C-x C-f来找出答案。默认情况下,C-x C-f绑定到查找不依赖于git的文件。在Emacs中键入C-h v exec path RET,并从常规shell中键入哪个git,然后检查后者的路径是否出现在前者的结果中。哦。。。看起来像emacs live rebinds C-h;那不太友好。您需要使用v而不是C-hv。如果您在这里找不到解决方案,请在emacs live github问题队列中提出此问题。