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

cmd-space no longer works #324

Open
dabrahams opened this issue Mar 1, 2023 · 3 comments
Open

cmd-space no longer works #324

dabrahams opened this issue Mar 1, 2023 · 3 comments

Comments

@dabrahams
Copy link
Contributor

This technique described here no longer works. What I currently do is open Script Editor and create a script containing

tell application "Finder" to open POSIX file "/opt/homebrew/opt/emacs-mac/Emacs.app"

Then I Save it as an Application in /Applications, and I copy the icon from the actual Emacs.app onto it. This can probably be automated or turned into better instructions.

@railwaycat
Copy link
Owner

railwaycat commented Mar 12, 2023

The creation of app bundle can be automated by the following command:

osacompile -o Emacs.app -e 'tell application "Finder" to open POSIX file "/opt/homebrew/opt/emacs-mac/Emacs.app"'

But Homebrew does not allow a formula to place artifacts out of Homebrew tree, so this step has to be done by a user.

I added a page to collect all the solutions: https://github.com/railwaycat/homebrew-emacsmacport/blob/master/docs/emacs-start-helpers.md#helper-2

BTW I'm a bit confusing on the subject of this issue, not sure if it related to "cmd-space"?

@dabrahams
Copy link
Contributor Author

All I really know is that Spotlight only wants to treat some files/bundles as first-class applications, and script editor is capable of making one such file/bundle.

@railwaycat
Copy link
Owner

I see. Spotlight still displays alias, but put them quite behind, which is nearly useless for fast access. You may jump results faster by CMD-up/down.

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

2 participants