xuchunyang / setup-org-protocol-on-mac

Setting Up org-protocol on Mac
64 stars 6 forks source link

Work around for emacsclient blocking on MacOS #4

Open cwsteinbach opened 2 years ago

cwsteinbach commented 2 years ago

First, thanks for creating this repository! I would not have been able to get org-protocol to work without this information.

I discovered that the problem with graphical Emacs is caused by emacsclient blocking instead of returning immediately. I verified that this problem can be avoided by telling emacs to activate before starting emacsclient.

justinabrahms commented 2 years ago

@cwsteinbach You can also pass -n to emacsclient to tell it not to wait for responses.

cwsteinbach commented 2 years ago

Hi @justinabrahms, the --no-wait option doesn't appear to work on macOS. I noted this problem in a comment in the code but forgot to mention it in the PR description.