Fork me on GitHub
#emacs
<
2024-03-18
>
andrea.crotti13:03:08

I just got a mac and installed emacs-plus with brew https://github.com/d12frosted/homebrew-emacs-plus any reason why http://Emacs.app is not in applications? (and Alfred doesn't see it because of that?)

practicalli-johnny14:03:00

I've only seen this issue when brew upgrades from an existing Emacs install (it's why Emacs plus recommended uninstall Emacs then install).

andrea.crotti14:03:32

Ah interesting mm maybe I had it already installed

andrea.crotti14:03:36

Ok I can try again

andrea.crotti14:03:41

==> Caveats
 was installed to:
  /opt/homebrew/opt/emacs-plus@29

To link the application to default Homebrew App location:
  osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at POSIX file "/Applications" with properties {name:""}'

andrea.crotti14:03:45

actually I noticed this

andrea.crotti14:03:50

so it doesn't do it on purpose

vemv16:03:24

with some distro I got some problem such that /Applications/Emacs.app doesn't properly show up in Spotlight, so I end up typing open /Applications/Emacs.app every time (which is just op <up> <ret> with a decent zshrc)

practicalli-johnny18:03:43

I just use the classic Linux command for a symbolic link, which seems to work just as well (and I can use tab completion for the path to minimise typing)

ln -s /opt/homebrew/opt/emacs-plus@29/Emacs.app /Applications/Emacs.app

👍 2
Cora (she/her)14:03:20

alfred still won't find it even if symlinked, ime, so I had to make an automator app launcher for it

jcsims17:03:20

Alfred picks up aliases properly, so I use the mkalias tool to create an alias in a folder Alfred already indexes: https://github.com/reckenrode/mkalias

thanks2 3
andrea.crotti10:03:09

apparently this is the best solution, haven't tried yet

andrea.crotti10:03:20

but in theory alfred started supporting that a long time ago

andrea.crotti10:03:19

yeah ok I tried that but it does not have native compilation\

andrea.crotti10:03:31

and emacs-plus seems better overall anway