On Aug 24, 2013, at 3:29, Mahn-Soo Choi wrote: > Specifying "emacsclient" does not work while "/usr/local/bin/emacsclient" do. > Why? > > I recently switched from MacPorts to Homebrew. Homebrew installs > "/usr/local/bin/emacsclient" (actually, a symbolic link). To prevent Mac OS > X's "/usr/bin/emacsclient" from interfering, I put "/usr/local/bin" before > "/usr/bin" in the definition of PATH variable (/etc/paths). Shell command > `which emacsclient` clearly gives /usr/local/bin/emacsclient. > > However, specifying "emacsclient" in Skim's Preferences "PDF-TeX Sync > support" does not work: Command-Shift-Click on a PDF file does nothing. Only > when I put the full path "/usr/local/bin/emacsclient", it works. > > Interestingly, if I remove /usr/bin/emacsclient, then "emacsclient" is enough > and works. > > I thought this is odd. Is there an internal preference Skim favors? > > Mahn-Soo >
We don't use the PATH to search for the client, we do our own search, which prefers /usr/bin over /usr/bin/local. If you want to use a particular instance of the executable, you have to write it explicitly. Christiaan ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Skim-app-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/skim-app-users
