On 8 Apr 2008, at 11:24 PM, Roussanka Loukanova wrote:

On Tue, 8 Apr 2008, Christiaan Hofman wrote:

In my version of the script, I have put the path that I find on my
MBP,
which includes the "bin/":

=====>
emacsclient_tool="/Applications/Emacs.app/Contents/MacOS/bin/
emacsclient"

/usr/bin/osascript -e "tell application \"Emacs\" to activate"
"${emacsclient_tool}" --no-wait +$1 "$2"

Skim only launches Emacs.app without loading the file.tex; even after
opening file.tex, C-x C-f, the Shift + Cmd + Click only raises Emacs
without going to the right location in file.tex.

Roussanka


MacOSX -> MacOS should do it.

it doesn't work. I've tried it too:

=====>
emacsclient_tool="/Applications/Emacs.app/Contents/MacOSX/bin/ emacsclient"

/usr/bin/osascript -e "tell application \"Emacs\" to activate"
"${emacsclient_tool}" --no-wait +$1 "$2"
=====<

On my MBP, the path to emacsclient is:

/Applications/Emacs.app/Contents/MacOS/bin/emacsclient

But, in both cases, MacOS and MacOSX, the Emacs is launched, and raised with Shift + Cmd + Click, but doesn't open the file.tex, and doesn't go to
the relevant line: therefore, osascript calls  application
Emacs, but emacsclient is not activated at all.

Roussanka

Well, I can only tell you it WFM. So either you made a typing mistake somewhere, or there is a problem with your emacsclient.

emacsclient_tool="/Applications/Emacs.app/Contents/MacOS/bin/ emacsclient"

/usr/bin/osascript -e "tell application \"Emacs\" to activate"
"${emacsclient_tool}" --no-wait +$1 "$2"


Christiaan


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to