For PDF-TeX Sync support, I often switch between two editors, Emacs and TextMate. For some reason the Emacs option as it is in Skim does not work for me. I always have to customize it by entering the full path to emacsclient. (/usr/local/bin/emacsclient.)
In case it's important, /usr/local/bin appears in echo $PATH .
When I change to TextMate, the custom setting for Emacs disappears and I have to re-enter it when I return to Emacs. It is only a matter of typing /usr/local/bin/, but I've been doing it for some time have come to wonder if it's necessary.
Would it be too much to ask to be able to save custom presets?
I don't see a reasonable enough way to save custom values, it quickly
becomes unwieldy.
Btw, what emacs app are you uding? It used to work with the preset. Where
is the embedded emacs-client script located?
How do I find the embedded emacs-client script?
I'm using railwaycat emacs from homebrew:
https://github.com/railwaycat/homebrew-emacsmacport
Last edit: AVP 2019-09-14
It's strange, the embedded emacsclient script is in our search path (which is different from your PATH) for that one. So it should work.
We do find the emacsclient script embedded in Emacs.app. But it must be defective, becaus eit does not work. There is nothing we can do about that, that's their problem.
As for remembering custo settings, I really don't think we should do that. There is alos no good way to indicate them in the popup, they are not associated to an app or any name.
Maybe I can submit a bug report. This script... I looked at the package contents and the only script I see is
Emacs.app/Contents/MacOS/Emac.sh
This doesn't refer to emacsclient anywhere, though... Am I looking in the right place?
It's at Emacs.app/Contents/MacOS/bin/emacsclient
Thanks! Interestingly, I don't have a bin directory in MacOS.
BTW, I have Emacs version 26.3.
Also, it does work for me, but you have to start the server (M-x server-start) for it to work.
Thank you! I just tried it. I both added (server-start) to init.el, restarted emacs, and also tried M-x ... .
I picked the emacs option in Skim, which it still does not work for me. I then chose custom and prepended /usr/local/bin/, which worked. Anyway, thanks again!
Last edit: AVP 2019-09-23
I'm not sure what changed, whether Emacs or Skim or it was something in Catalina, but it works now. The built in Emacs setting for pdf-TeX sync works for me now. If this was you, thanks!