[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] recompile from code?



Hiho,

On Tuesday 02 December 2008 11:44:05 Артём Попов wrote:
> I would love to use such a primitive with gedit. The only way to
> recompile classes in gedit (and also Vim and Emacs, I think)

On Emacs, you could send the lisp command to the Emacs lisp interpreter and do 
it.
I guess I could write a method for it.

> is to 
> completely restart sclang, which also kills the local server and is
> generally a bad workaround..

there is a (secret) option called .sendQuit that can be set to false to 
prevent this from happening.

sincerely,
Marije

>
> --Artem
>
> 2008/12/2 Scott Wilson <s.d.wilson.1@xxxxxxxxxx>:
> > Well as I said, my version works, so far without any issues that I've
> > experienced.
> >
> > Honestly I can't see how it's different from Cmd-K, but...?
> >
> > I can commit it and let people test in advance of 3.3.
> >
> > S.
> >
> > On 1 Dec 2008, at 19:10, James Harkins wrote:
> >> Funny, this just came up for discussion. But it isn't clear whether
> >> it's actually possible to do it internally -- there might be some
> >> weird reason why it would break.
> >>
> >> https://listarc.bham.ac.uk/lists/sc-dev/msg04847.html
> >>
> >> hjh
> >>
> >> On Mon, Dec 1, 2008 at 1:44 PM, Wouter Snoei
> >>
> >> <mailinglists@xxxxxxxxxxxxxx> wrote:
> >>> Hi all,
> >>>
> >>> I'm looking for a way to recompile the library from within the language
> >>> (a
> >>> bit like .exit, but then recompile instead). The best I could come up
> >>> with
> >>> so far is an applescript playing cmd-k via System Events, activated
> >>> with the
> >>> osascript unix cmd. Very complex indeed, although it does work. Would
> >>> be nice if it could be done in a simpler way, or maybe a simpler unix
> >>> cmd. I'd
> >>> like to use it to recompile sc on a remote server without keyboard and
> >>> screen. The method described above does the trick but it needs apx 4
> >>> full lines of code in 3 languages with -lots- of escape characters..

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/