I had some issues resulting from emacsclient not being present in the app container, which I could resolve by simply copying it into MacOS folder in the container.
I just wanted to raise the issue to see whether there is a reason it was not included in the distribution.
Hey, sorry for missing your question.
I don't quite understand what you are saying :smile_cat: If you are talking about app file for the emacsclient executable (which is included), like Emacs client.app, so you can run it as a regular Emacs application, then the answer is - just because I never felt the need for it :smile_cat:
One more request for this: #9.
Sorry for not responding. My setup is different now and thus I solved it differently. I will try to explain how my setup is and what I needed to do for it this weekend :)
@oguzserbetci no problems :) would appreciate if you share your workflow :)
Excuse the wait. I just checked my setup on reinstalling emacs-plus. And removing any external app that might interfere (brew cask install emacsclient for org-protocol handling)
I don't see any problems with the fresh install regarding emacsclient. I think this issue stems from the fact that I didn't understand how to get emacsclient working. However there are some issues I had which I want to shortly mention here, I can open an issue if you find them worth pursuing:
brew services start emacs-plus doesn't enable executing whether server-start inside emacs because a server is already running or emacsclient --no-wait test. If I stop the brew service and run server-start manually, I'm able to get the emacsclient working.@oguzserbetci thank you very much for sharing this.
Regarding the org-protocol, I think it makes sense to enable its support out of box.
Thank you for the formula! It might help to look at https://github.com/railwaycat/homebrew-emacsmacport which has out of the box support for org-protocol. If you show me where to look, I can try to help. Don't want to get in the way though, if you think it's easier for you to handle :)
If you wish to help, go ahead :smile_cat: I would be really grateful. If you need any help, just let me know. :smile_cat:
I think we need to append few lines in the Info.plist to support this protocol. Also I think (it needs to be checked) that by default Emacs.app doesn't work with emacsclient, so the launcher script must be adapted as well.
Regarding the emacs-mac formula - it doesn't do anything special, as macport supports protocol by itself. I think lots of stuff can be salvaged from there.
I think this issue is conflating two things. https://github.com/sprig/org-capture-extension installs an app called EmacsClient _for org-capture-extension_. That isn't related to the emacsclient binary for the Emacs server. The emacs-plus cask does include emacsclient, but it doesn't symlink it into /usr/local/bin, so tools don't find it. It would be helpful if that symlink were included, along with symlinks to the other binaries.
FYI I could make org-protocol to work with Platypus-way described here: https://www.orgroam.com/manual/Installation-_00281_0029.html#Installation-_00281_0029
Most helpful comment
I think this issue is conflating two things. https://github.com/sprig/org-capture-extension installs an app called
EmacsClient_for org-capture-extension_. That isn't related to theemacsclientbinary for the Emacs server. The emacs-plus cask does includeemacsclient, but it doesn't symlink it into/usr/local/bin, so tools don't find it. It would be helpful if that symlink were included, along with symlinks to the other binaries.