I renamed my own .emacs.d and cloned yours. But it is not able to load evil and complains to me.
I am using Emacs for Mac OS X 24.3.
It seems that el-get failed to build evil.
Maybe you need to install texlive, as https://github.com/xiaohanyu/oh-my-emacs/blob/master/ome-advanced.org said. texlive need several hundred megabytes hard disk space, and it is a prerequisity of ome-tex.org.
I've already made a patch for evil to remove the texlive requirement for just build.
I don't have a Mac OS X, so please try it and let me know your result, thanks.
TexLive? you mean http://www.tug.org/texlive/ ? It's about 1GB large. I don't want to install. Is there a way to customise which package I want to load when staring Emacs? Actually, I don't like to use Evil. I just want to make the error message disappear when I start Emacs.
Yeah, you're right, it is that texlive, that maybe a weird "bug" of evil.
For your case, just M-x el-get-remove evil, and then comment out (ome-load "ome-advanced.org") in https://github.com/xiaohanyu/oh-my-emacs/blob/master/ome.org, then it should be OK.
M-x el-get-remove evil
I actually do have texlive (MacTex) installed already on my mac. Same problem.
@j-h-l Could you please paste the log of cd ~/.emacs.d/el-get/evil/ && make all info?
cd ~/.emacs.d/el-get/evil/ && make all info
Thanks. Maybe this is the problem of evil.
@xiaohanyu This is what I get. Not much, but hope it helps (edit It looks like same as the original image above)
emacs --batch -Q -L . -L lib -f batch-byte-compile evil-core.el
In toplevel form:
evil-core.el:104:1:Error: Symbol's value as variable is void: evil-visual-state-p
make: *** [evil-core.elc] Error 1
@j-h-l Thanks. Seems this is the same problem of dimitri/el-get#946.
Just disable and skip evil and continue. I'll try to fix this.
About how to disable evil, see #4.
Finally found the reason for evil not building. It's not a bug in evil or ome it's related to homebrew again. When compiling emacs calls the shell which in turn calls emacs. But if you do "which emacs" it should probably point to the system emacs and not the homebrew one. This could be solved by defining in alias for emacs in your shell or it could be done as a fix in ome. The smartest way would probably be adding a flag to the homebrew formula for overriding system-emacs just like it exists for vim. I'm going to do that later.
Thanks! I have no experience with Mac OS X and homebrew, any help will be appreciated.
Submitted a fix to el-get dimitri/el-get#1435.
It got merged we can close the issue.
Hi, @Herdinger , I've seen your patch dimitri/el-get#1435 has been merged, so I'll close this issue now.