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
Git emacs live on windows打开文件时出现错误_Git_Emacs_Clojure - Fatal编程技术网

Git emacs live on windows打开文件时出现错误

Git emacs live on windows打开文件时出现错误,git,emacs,clojure,Git,Emacs,Clojure,我想知道是否有其他人看到过 使用cygwin 使用git版本1.8.3.msysgit.0 使用GNU Emacs 24.3.1 使用emacs live 启动emacs后,当尝试打开任何文件时,我看到以下错误消息: call-process-shell-command: Searching for program: permission denied, /bin/bash Error in post-command-hook (global-git-gutter-mode-check-bu

我想知道是否有其他人看到过

  • 使用cygwin
  • 使用git版本1.8.3.msysgit.0
  • 使用GNU Emacs 24.3.1
  • 使用emacs live
启动emacs后,当尝试打开任何文件时,我看到以下错误消息:

call-process-shell-command: Searching for program: permission denied, /bin/bash
Error in post-command-hook (global-git-gutter-mode-check-buffers): (file-error "Searching for program" "permission denied" "/bin/bash")
但是,以下内容不返回任何内容:

$ grep -R global-git-gutter-mode-check-buffers .emacs.d/
我不明白为什么这段代码会抱怨,为什么我找不到它所指的post命令钩子

  • post-command-hook
    函数,
    global-*
    ,可能位于您加载的
    .emacs.d
    目录之外的某个文件中

  • 您可以尝试递归地将init文件(
    ~/.emacs
    )一分为二,以找到有问题的部分。这将帮助您找到
    全局-*
    ,尽管听起来这不是真正的问题

  • 听起来真正的问题是Cygwin目录
    /bin/bash
    没有您作为所有者,或者您没有必要的权限

  • 希望有人能在这个问题上提供更多帮助,但这可能会让你开始

  • post-command-hook
    函数,
    global-*
    ,可能位于您加载的
    .emacs.d
    目录之外的某个文件中

  • 您可以尝试递归地将init文件(
    ~/.emacs
    )一分为二,以找到有问题的部分。这将帮助您找到
    全局-*
    ,尽管听起来这不是真正的问题

  • 听起来真正的问题是Cygwin目录
    /bin/bash
    没有您作为所有者,或者您没有必要的权限

  • 希望有人能在这个问题上提供更多帮助,但这可能会让你开始