On Tue, 8 Apr 2008, Christiaan Hofman wrote:
>> 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,
To avoid such, I grabbed your script and changed the path to the
emacsclient by copy/paste from Terminal.
> or there is a problem with your emacsclient.
I do not know how to check this. But isn't emacsclient activated with the
working without the script? Without this script, Shift + Cmd + Click
works finely, except that I have to launch Emacs at the beginning of the
work Emacs <-> Skim.
>
> emacsclient_tool="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient"
>
> /usr/bin/osascript -e "tell application \"Emacs\" to activate"
> "${emacsclient_tool}" --no-wait +$1 "$2"
This is exactly what I have in my script.
Roussanka
>
>
> 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