Re: [9fans] programmable pathname completion in Acme?

2013-09-09 Thread Matthew Veety
I'm on the side of saying have an outside program do it for everything (at least in 9front). It would make things like this much easier. Veety

Re: [9fans] programmable pathname completion in Acme?

2013-09-09 Thread Bence Fábián
Yep. That way it is hard :) Although i think you could do it with acid without changing code. If you are masochistic. 2013/9/9 Lee Fallat > On Mon, Sep 9, 2013 at 10:20 AM, Bence Fábián wrote: > > nothing prevents textcomplete from forking. >> > > Sorry, I mean it is not possible without havin

Re: [9fans] programmable pathname completion in Acme?

2013-09-09 Thread Lee Fallat
On Mon, Sep 9, 2013 at 10:20 AM, Bence Fábián wrote: > nothing prevents textcomplete from forking. > Sorry, I mean it is not possible without having to change some source code. :)

Re: [9fans] programmable pathname completion in Acme?

2013-09-09 Thread Bence Fábián
nothing prevents textcomplete from forking. 2013/9/9 Lee Fallat > Source code says: no. > > Check out line 725* in text.c, and begin your journey! > > *Code at line 725 in text.c for 9front acme: > > case 0x06: > case Kins: //interesting, didn't know you could use the insert key to > invoke th

Re: [9fans] programmable pathname completion in Acme?

2013-09-09 Thread Lee Fallat
Source code says: no. Check out line 725* in text.c, and begin your journey! *Code at line 725 in text.c for 9front acme: case 0x06: case Kins: //interesting, didn't know you could use the insert key to invoke this too. rp = textcomplete(t); //the path completion if(rp == nil) return; nr = runes

[9fans] programmable pathname completion in Acme?

2013-09-09 Thread dexen deVries
currently the ^F pathname completion is handled internally by Acme. is there a way to pass the argument of ^F to a script instead? my use case: find an existing pathname by supplying /any/ substring of it and invoking completion, as opposed to current requirement of providing whole leading par

Re: [9fans] p9p mk(1) syntax

2013-09-09 Thread erik quanstrom
> single quotes are escaped? yes. - erik