Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find Proof General Directory on Windows 10 #15

Open
luochen1990 opened this issue Jul 20, 2017 · 2 comments
Open

Cannot find Proof General Directory on Windows 10 #15

luochen1990 opened this issue Jul 20, 2017 · 2 comments

Comments

@luochen1990
Copy link

File error: Cannot open load file, No such file or directory, /usr/local/share/emacs/site-lisp/proof-general/generic/proof-site

@njmaeff
Copy link

njmaeff commented May 30, 2019

I was able to fix this by updating the config.el file. I use .spacemacs.d for my configuration and I downloaded proof-general to %USERPROFILE%\.spacemacs.d\bin.

diff --git a/config.el b/config.el
index c243f3d..b678634 100644
--- a/config.el
+++ b/config.el
@@ -9,6 +9,6 @@
 ;;
 ;;; License: GPLv3

-(defvar proof-general-path "/usr/local/share/emacs/site-lisp/proof-general/generic/proof-site"
+(defvar proof-general-path (concat (getenv "USERPROFILE") "\\.spacemacs.d\\bin\\proof-general-20190523.740\\generic\\proof-site.el")
   "The path to proof general")

@CJex
Copy link

CJex commented Sep 7, 2019

The path can be set in ~/.spacemacs section dotspacemacs/user-init:

(defun dotspacemacs/user-init ()
  (setq proof-general-path ("/your/local/git/PG/generic/proof-site")))

The cons is that we have to clone and make PG manually, add proof-general to dotspacemacs-additional-packages seems not work.

My emacs config: https://github.com/CJex/syslocal/tree/master/etc/emacs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants