Re: [Factor-talk] osx emacs FUEL

2015-06-01 Thread Iain Gray
I have setup the file .factor-boot-rc as

USING: editors.emacs namespaces ;
“/Applications/languages” \ emacs-path sett-global

which sets up the path to emacs.app
running factor.app I get on doing “palindrome” edit

error code 1 which seems to be complaining about “emacsclient”

whereas loading palindrome.factor into emacs and typing meta-x run-factor I get 
a syntax aware editor
and a factor listener

What am I missing?

Thanks, Iain

p.s. original bounced as I included screen captures


> On 31 May 2015, at 00:11, Björn Lindqvist  wrote:
> 
> Could you explain in more detail what your problem is?
> 
> 2015-05-30 19:04 GMT+02:00 Iain Gray :
>> I have successfully integrated FUEL in emacs but cannot seem get it 
>> integrated with Factor. My emacs is 24..4.1 and an aoo and my os is OS X 
>> 10.3. Any advice appreciated. Iain
>> --
>> ___
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
> 
> 
> 
> -- 
> mvh/best regards Björn Lindqvist
> 
> --
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk


--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] osx emacs FUEL

2015-06-01 Thread Björn Lindqvist
You shouldn't need to set emacs-path if the emacs and emacsclient
binaries are on your path. emacsclient is not called correctly from
Factor, but as a workaround you can start the server manually. First
start emacs and in it type M-x server-start. Then you should be able
to run "io" edit in the Factor gui and have the file shown in emacs.

2015-06-01 10:54 GMT+02:00 Iain Gray :
> I have setup the file .factor-boot-rc as
>
> USING: editors.emacs namespaces ;
> “/Applications/languages” \ emacs-path sett-global
>
> which sets up the path to emacs.app
> running factor.app I get on doing “palindrome” edit
>
> error code 1 which seems to be complaining about “emacsclient”
>
> whereas loading palindrome.factor into emacs and typing meta-x run-factor I 
> get a syntax aware editor
> and a factor listener
>
> What am I missing?
>
> Thanks, Iain
>
> p.s. original bounced as I included screen captures
>
>
>> On 31 May 2015, at 00:11, Björn Lindqvist  wrote:
>>
>> Could you explain in more detail what your problem is?
>>
>> 2015-05-30 19:04 GMT+02:00 Iain Gray :
>>> I have successfully integrated FUEL in emacs but cannot seem get it 
>>> integrated with Factor. My emacs is 24..4.1 and an aoo and my os is OS X 
>>> 10.3. Any advice appreciated. Iain
>>> --
>>> ___
>>> Factor-talk mailing list
>>> Factor-talk@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
>>
>>
>> --
>> mvh/best regards Björn Lindqvist
>>
>> --
>> ___
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
> --
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk



-- 
mvh/best regards Björn Lindqvist

--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] osx emacs FUEL

2015-06-01 Thread Iain Gray
still doesn’t work sorry
I found emacsclient deep inside Emacs,app

> On 1 Jun 2015, at 13:00, Björn Lindqvist  wrote:
> 
> You shouldn't need to set emacs-path if the emacs and emacsclient
> binaries are on your path. emacsclient is not called correctly from
> Factor, but as a workaround you can start the server manually. First
> start emacs and in it type M-x server-start. Then you should be able
> to run "io" edit in the Factor gui and have the file shown in emacs.
> 
> 2015-06-01 10:54 GMT+02:00 Iain Gray :
>> I have setup the file .factor-boot-rc as
>> 
>> USING: editors.emacs namespaces ;
>> “/Applications/languages” \ emacs-path sett-global
>> 
>> which sets up the path to emacs.app
>> running factor.app I get on doing “palindrome” edit
>> 
>> error code 1 which seems to be complaining about “emacsclient”
>> 
>> whereas loading palindrome.factor into emacs and typing meta-x run-factor I 
>> get a syntax aware editor
>> and a factor listener
>> 
>> What am I missing?
>> 
>> Thanks, Iain
>> 
>> p.s. original bounced as I included screen captures
>> 
>> 
>>> On 31 May 2015, at 00:11, Björn Lindqvist  wrote:
>>> 
>>> Could you explain in more detail what your problem is?
>>> 
>>> 2015-05-30 19:04 GMT+02:00 Iain Gray :
 I have successfully integrated FUEL in emacs but cannot seem get it 
 integrated with Factor. My emacs is 24..4.1 and an aoo and my os is OS X 
 10.3. Any advice appreciated. Iain
 --
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk
>>> 
>>> 
>>> 
>>> --
>>> mvh/best regards Björn Lindqvist
>>> 
>>> --
>>> ___
>>> Factor-talk mailing list
>>> Factor-talk@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>> 
>> 
>> --
>> ___
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
> 
> 
> 
> -- 
> mvh/best regards Björn Lindqvist
> 
> --
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk


--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] osx emacs FUEL

2015-06-01 Thread John Benediktsson
The .factor-boot-rc is used during bootstrap, but if you just download and
use a release, you might want to put that code in .factor-rc which is run
each time Factor starts.

Also, I'm a bit confused -- your examples uses "emacspath" but the
documentation for editors.emacs says to set the path to emacsclient?

"editors.emacs" help

That means this would be it (either in the listener directly for testing,
or in .factor-rc on startup, or .factor-boot-rc on bootstrap):

USING: editors.emacs namespaces ;
"/path/to/the/emacsclient" emacsclient-path set-global

And in emacs you would need to make sure to have:

M-x server-start

I just tested that and it worked fine (meaning ``"io" edit`` opened the
file in my open emacs buffer).

Thanks,
John.


On Mon, Jun 1, 2015 at 7:53 AM, Iain Gray  wrote:

> still doesn’t work sorry
> I found emacsclient deep inside Emacs,app
>
> > On 1 Jun 2015, at 13:00, Björn Lindqvist  wrote:
> >
> > You shouldn't need to set emacs-path if the emacs and emacsclient
> > binaries are on your path. emacsclient is not called correctly from
> > Factor, but as a workaround you can start the server manually. First
> > start emacs and in it type M-x server-start. Then you should be able
> > to run "io" edit in the Factor gui and have the file shown in emacs.
> >
> > 2015-06-01 10:54 GMT+02:00 Iain Gray :
> >> I have setup the file .factor-boot-rc as
> >>
> >> USING: editors.emacs namespaces ;
> >> “/Applications/languages” \ emacs-path sett-global
> >>
> >> which sets up the path to emacs.app
> >> running factor.app I get on doing “palindrome” edit
> >>
> >> error code 1 which seems to be complaining about “emacsclient”
> >>
> >> whereas loading palindrome.factor into emacs and typing meta-x
> run-factor I get a syntax aware editor
> >> and a factor listener
> >>
> >> What am I missing?
> >>
> >> Thanks, Iain
> >>
> >> p.s. original bounced as I included screen captures
> >>
> >>
> >>> On 31 May 2015, at 00:11, Björn Lindqvist  wrote:
> >>>
> >>> Could you explain in more detail what your problem is?
> >>>
> >>> 2015-05-30 19:04 GMT+02:00 Iain Gray :
>  I have successfully integrated FUEL in emacs but cannot seem get it
> integrated with Factor. My emacs is 24..4.1 and an aoo and my os is OS X
> 10.3. Any advice appreciated. Iain
> 
> --
>  ___
>  Factor-talk mailing list
>  Factor-talk@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/factor-talk
> >>>
> >>>
> >>>
> >>> --
> >>> mvh/best regards Björn Lindqvist
> >>>
> >>>
> --
> >>> ___
> >>> Factor-talk mailing list
> >>> Factor-talk@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/factor-talk
> >>
> >>
> >>
> --
> >> ___
> >> Factor-talk mailing list
> >> Factor-talk@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/factor-talk
> >
> >
> >
> > --
> > mvh/best regards Björn Lindqvist
> >
> >
> --
> > ___
> > Factor-talk mailing list
> > Factor-talk@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
>
> --
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] osx emacs FUEL

2015-06-01 Thread John Benediktsson
I downloaded Emacs.app, and this works for me:

"/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_9/emacsclient"
emacsclient-path set-global

(There are binaries for different versions of OS X and architectures, use
the right one for your machine I guess):

 /Applications/Emacs.app $ find . | grep emacsclient
./Contents/MacOS/bin-i386-10_5/emacsclient
./Contents/MacOS/bin-powerpc-10_4/emacsclient
./Contents/MacOS/bin-x86_64-10_5/emacsclient
./Contents/MacOS/bin-x86_64-10_7/emacsclient
./Contents/MacOS/bin-x86_64-10_9/emacsclient



On Mon, Jun 1, 2015 at 8:04 AM, John Benediktsson  wrote:

> The .factor-boot-rc is used during bootstrap, but if you just download and
> use a release, you might want to put that code in .factor-rc which is run
> each time Factor starts.
>
> Also, I'm a bit confused -- your examples uses "emacspath" but the
> documentation for editors.emacs says to set the path to emacsclient?
>
> "editors.emacs" help
>
> That means this would be it (either in the listener directly for testing,
> or in .factor-rc on startup, or .factor-boot-rc on bootstrap):
>
> USING: editors.emacs namespaces ;
> "/path/to/the/emacsclient" emacsclient-path set-global
>
> And in emacs you would need to make sure to have:
>
> M-x server-start
>
> I just tested that and it worked fine (meaning ``"io" edit`` opened the
> file in my open emacs buffer).
>
> Thanks,
> John.
>
>
> On Mon, Jun 1, 2015 at 7:53 AM, Iain Gray  wrote:
>
>> still doesn’t work sorry
>> I found emacsclient deep inside Emacs,app
>>
>> > On 1 Jun 2015, at 13:00, Björn Lindqvist  wrote:
>> >
>> > You shouldn't need to set emacs-path if the emacs and emacsclient
>> > binaries are on your path. emacsclient is not called correctly from
>> > Factor, but as a workaround you can start the server manually. First
>> > start emacs and in it type M-x server-start. Then you should be able
>> > to run "io" edit in the Factor gui and have the file shown in emacs.
>> >
>> > 2015-06-01 10:54 GMT+02:00 Iain Gray :
>> >> I have setup the file .factor-boot-rc as
>> >>
>> >> USING: editors.emacs namespaces ;
>> >> “/Applications/languages” \ emacs-path sett-global
>> >>
>> >> which sets up the path to emacs.app
>> >> running factor.app I get on doing “palindrome” edit
>> >>
>> >> error code 1 which seems to be complaining about “emacsclient”
>> >>
>> >> whereas loading palindrome.factor into emacs and typing meta-x
>> run-factor I get a syntax aware editor
>> >> and a factor listener
>> >>
>> >> What am I missing?
>> >>
>> >> Thanks, Iain
>> >>
>> >> p.s. original bounced as I included screen captures
>> >>
>> >>
>> >>> On 31 May 2015, at 00:11, Björn Lindqvist  wrote:
>> >>>
>> >>> Could you explain in more detail what your problem is?
>> >>>
>> >>> 2015-05-30 19:04 GMT+02:00 Iain Gray :
>>  I have successfully integrated FUEL in emacs but cannot seem get it
>> integrated with Factor. My emacs is 24..4.1 and an aoo and my os is OS X
>> 10.3. Any advice appreciated. Iain
>> 
>> --
>>  ___
>>  Factor-talk mailing list
>>  Factor-talk@lists.sourceforge.net
>>  https://lists.sourceforge.net/lists/listinfo/factor-talk
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> mvh/best regards Björn Lindqvist
>> >>>
>> >>>
>> --
>> >>> ___
>> >>> Factor-talk mailing list
>> >>> Factor-talk@lists.sourceforge.net
>> >>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>> >>
>> >>
>> >>
>> --
>> >> ___
>> >> Factor-talk mailing list
>> >> Factor-talk@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/factor-talk
>> >
>> >
>> >
>> > --
>> > mvh/best regards Björn Lindqvist
>> >
>> >
>> --
>> > ___
>> > Factor-talk mailing list
>> > Factor-talk@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
>>
>>
>> --
>> ___
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
>
>
--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk