homebrew-emacsmacport
homebrew-emacsmacport copied to clipboard
It seems the App source '/Applications/Emacs.app' is not there.
When doing brew upgrade
or brew update
Everything works fine, until I get this error:
Error: railwaycat/emacsmacport/emacs-mac: It seems the App source '/Applications/Emacs.app' is not there.
My Mac:
Hi @dev-doshi, could you let me know if your emacs-mac app was installed from formula or cask? Also if you can paste the output of ls -l /Applications | grep Emacs
that would be great! Thanks!
Sorry for the late answer, there is no output for this.
https://user-images.githubusercontent.com/50024652/146589060-b7051e99-a198-47e6-847b-53ffeb03b1fb.mov
https://user-images.githubusercontent.com/50024652/146593097-5316fadc-f281-4cd6-bc2d-b3b75b9355fa.mov
Hi I'm facing a similar problem. The Emacs app is in my /Applications directory (it's an alias to Mac/usr/local/Cellar/emacs-mac/emacs-27.2-mac-8.3/Emacs
) but I can't open/find it via spotlight. I'm not sure if this is the default behaviour.
- I installed emacs-mac through the formula.
- Output of
ls -l /Applications | grep Emacs
:
lrwxr-xr-x 1 Yash admin 34 Dec 27 10:46 Emacs.app -> /usr/local/opt/emacs-mac/Emacs.app
Thank you!
I also faced the problem that there is no app in the /Applications
folder, and therefore, I could not find it.
The Emacs app is installed in the directory /opt/homebrew/Cellar/emacs-mac/emacs-27.2-mac-8.3
and also available in the linked direcotry /opt/homebrew/opt/emacs-mac/
.
Since I'm using Alfred instead of Spotlight, it complicated things a bit.
Creating a symlink ln -s /opt/homebrew/opt/emacs-mac/Emacs.app /Applications
didn't resolve the problem for me.
The directory /opt/homebrew/Cellar/
is included in the search scope of Alfred (Preferences: Features -> Default Results -> Search Scope)
What worked in the end for me was to create an alias (right-click -> Make Alias) of the Emacs.app
and copy the alias in the /Applications
folder instead of creating a symlink. As described in this post, you need to adjust settings in Alfred so that it includes aliases in the search results.
Open the Alfred preferences and go to Features -> Default Results -> Search Scope and click on Advanced. Drag then the alias in the popup window and it will create an entry as it is shown in the screenshot.

Try Raycast instead of Alfred, it'll load the .app from Cellar directly.