« Return to Thread: [Linux] scvim

Re: [Linux] scvim

by Alex Norman-2 :: Rate this Message:

Reply to Author | View in Thread

Björn,

Hey, sorry it has taken me so long to respond, my mail/web server crashed and we
had to build up a new one :)

anyways, what that line does is update the syntax highlighting info by listing
all of the classes in supercollider and writing them to a file.. this is so that
scvim can have up to date syntax highlighting information.

We've changed some things in the newer versions of scvim, hopefully to make it
easier to install.  Anyways, with the older version you have to have write
permissions to your $SCVIM_DIR in order for the up to have up to date syntax
highlighting. But,  if you don't mind having your user added classes
un-highlighted you can just not execute that line and you'll be fine.

In the newer version of scvim, which is in the supercollider svn [though still
untested (would someone care to test it for me??? :)] scvim creates a ~/.scvim
folder for each user who runs scvim so that they can have personalized syntax
highlighting and help docs.

thanks for your kind words, I'm happy that scvim is useful to you and others,
enjoy!

-Alex

On  0, Björn Kessler <kebjoern@...> wrote:

> Hi everybody,
>
> at first I want to thank the people who made it possible to supercollide on Vim! It is realy beautyful! BTW, in my opinion one of the major strengths of supercollider: that almost everybody may use his favourit editor.
>
> Just as a matter of interest: What exactly does the following?
>
> thisProcess.interpreter.executeFile("SCVIM_DIR".getenv ++ "/vim.sc");
>
> I put it in my .sclang.sc, but afterwards I had to change the owner of /usr/local/share/scvim recursively to make sclang start properly. Otherwise there would be an Error (attached at the end of the mail).
>
> Would it be possible to have the directory owned by root and use the permissions of the group staff?
>
> Thanks again for your gorgeous work.
>
> sincerely, Björn
>
>
>
> ERROR: Primitive '_FileWrite' failed.
> Failed.
> RECEIVER:
> Instance of File {    (B7837DD0, gc=40, fmt=00, flg=00, set=01)
>   instance variables [1]
>     fileptr : nil
> }
> CALL STACK:
>         MethodError:reportError   08915050
>                 arg this = <instance of PrimitiveFailedError>
>         Nil:handleError   08914FF0
>                 arg this = nil
>                 arg error = <instance of PrimitiveFailedError>
>         Thread:handleError   08914E70
>                 arg this = <instance of Thread>
>                 arg error = <instance of PrimitiveFailedError>
>         Object:throw   08914810
>                 arg this = <instance of PrimitiveFailedError>
>         Function:protect   089147B0
>                 arg this = <instance of Function>
>                 arg handler = <instance of Function>
>                 var result = <instance of PrimitiveFailedError>
>         Interpreter:executeFile   B7847F50
>                 arg this = <instance of Interpreter>
>                 arg pathName = "/usr/local/share/scvim/vim.sc"
>                 arg args = [*0]
>                 var result = nil
>                 var saveExecutingPath = nil
>         Interpreter:interpretPrintCmdLine   B7847E10
>                 arg this = <instance of Interpreter>
>                 var res = nil
>                 var func = <instance of Function>
>                 var code = "
> thisProcess.interpreter.exe..."
>         Process:interpretPrintCmdLine   08914750
>                 arg this = <instance of Main>
>
>
>       Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
> www.yahoo.de/go
> _______________________________________________
> sc-users mailing list
> sc-users@...
> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

 « Return to Thread: [Linux] scvim