19 Apr 2024 |
grallo666 | * Okay, so I found out that it does not seems to happen with the standard emacs version, though I was using emacs-pgtk. | 12:41:27 |
| @belak:matrix.org joined the room. | 19:18:21 |
@belak:matrix.org | Does the emacs-overlay work well on macOS? I'm currently using the emacs-plus homebrew tap, but wanted to move as many packages to nix rather than installing via nix-darwin and homebrew. | 19:19:50 |
antifuchs | In reply to @belak:matrix.org Does the emacs-overlay work well on macOS? I'm currently using the emacs-plus homebrew tap, but wanted to move as many packages to nix rather than installing via nix-darwin and homebrew. I've been using it for some years and it's been very solid. can recommend. | 20:24:05 |
antifuchs | you'll have to make some adjustments from emacs-plus , I suppose, but once you're running you should be good. | 20:24:40 |
@belak:matrix.org | In reply to @antifuchs:asf.computer I've been using it for some years and it's been very solid. can recommend. That's good to hear! Are your dotfiles/nix setup public for me to yoink some of the setup? | 20:25:46 |
antifuchs | no, sorry, I'm not publishing mine /: | 20:26:02 |
@belak:matrix.org | Is there anything special you had to do, or did you just use the overlay? | 20:26:40 |
@belak:matrix.org | I guess I'll just try it and see what happens | 20:26:58 |
@belak:matrix.org | Looks like on darwin builds, it uses --with-ns, which is essentially the mac Cocoa-based build, which seems to be right | 21:45:05 |
@belak:matrix.org | Now to just figure out how to link it into /Applications/ | 21:45:17 |
bandithedoge | In reply to @belak:matrix.org Now to just figure out how to link it into /Applications/ nix-darwin should do that for you | 21:46:55 |
bandithedoge | see https://github.com/nix-community/home-manager/issues/1341 if you're using hm | 21:47:05 |
@belak:matrix.org | Oh interesting, yeah it seems to be symlinked into ~/Applications/Home Manager Apps/Emacs.app . Guess it's not being picked up by Alfred. | 21:48:43 |
bandithedoge | i had issues with that too back when i was on mac | 21:49:35 |
@belak:matrix.org | I think I can add it to the search path | 21:49:43 |
bandithedoge | it seems to be this way because hm creates symlinks instead of aliases | 21:50:02 |
@belak:matrix.org | Ah, yeah | 21:50:15 |
bandithedoge | and afaik things like spotlight and alfred don't index application symlinks | 21:50:20 |
bandithedoge | i remember there being some applescript hack you could put in your config that would automatically create aliases for hm apps | 21:50:59 |
@belak:matrix.org | osascript -e 'tell application "Finder" to make alias file to posix file "/Users/belak/Applications/Home Manager Apps/Emacs.app" at POSIX file "/Applications" with properties {name:"Emacs.app"}'
| 21:52:08 |
bandithedoge | ew | 21:52:36 |
@belak:matrix.org | Yeah | 21:52:40 |
@belak:matrix.org | At least this way I won't have to update the link whenever I upgrade emacs | 21:53:03 |
bandithedoge | /Users/belak/Applications/Home Manager Apps/Emacs.app is still a symlink though, right?
| 21:53:49 |
bandithedoge | that will just make an alias to a symlink | 21:54:08 |
@belak:matrix.org | Never mind, it resolved the symlink and seems to point directly to the store, which isn't what I wanted | 21:54:20 |
bandithedoge | oh | 21:54:34 |
bandithedoge | actually that could be the proper solution | 21:54:46 |
@belak:matrix.org | Yeah, need to automate it though | 21:55:04 |