简体   繁体   中英

cannot link homebrew emacs

Recently I uninstalled and reinstalled Homebrew entirely on my macbook (OSX 10.9.5) because there was some problem with my Python. Then I reinstalled all the programs in Homebrew and everything worked fine except for Emacs. When I tried to link emacs

$ brew link emacs
Linking /Users/myname/homebrew/Cellar/emacs/24.3... 21 symlinks created

I expected it to create a shortcut in Applications and I open the Emacs GUI from there, but Emacs is not showing up there and I don't know how I can open the GUI. What did I do wrong and how can I link my Emacs?

Try running it from the command line to see what's wrong:

emacs --debug-init

The program is likely not able to find some elc files or something among those lines.

If all fails, try using the master branch (I update my emacs frequently, such as today).

brew install emacs --HEAD --use-git-head --cocoa --srgb --with-xml2 && brew linkapps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM