Re: [Rd] more special completions

2009-08-22 Thread Vitalie S.
Not sure, but another example may be a class dependent completion for generic functions depending on first argument. Like print(df,... ) where df a data.frame to complete, digits = NULL, quote = FALSE, right = TRUE, row.names = TRUE instead of only (x,...). That sort of already happens (ha

Re: [Rd] more special completions

2009-08-21 Thread Deepayan Sarkar
On 8/21/09, Romain Francois wrote: > On 08/21/2009 06:59 PM, Deepayan Sarkar wrote: > > > > > On 8/21/09, Romain Francois > wrote: > > > > > Hi, > > > > > > Would it be possible to add the capability for functions to register > how > > > they would like to complete themselves. > > > > > > Curren

Re: [Rd] more special completions

2009-08-21 Thread Deepayan Sarkar
On 8/21/09, Vitalie S. wrote: > On Fri, 21 Aug 2009 11:21:03 +0200, Romain Francois > wrote: > > > > Hi, > > > > Would it be possible to add the capability for functions to register how > they would like to complete themselves. > > > > Currently, there is the .addFunctionInfo, but it allows only

Re: [Rd] more special completions

2009-08-21 Thread Vitalie S.
On Fri, 21 Aug 2009 11:21:03 +0200, Romain Francois wrote: Hi, Would it be possible to add the capability for functions to register how they would like to complete themselves. Currently, there is the .addFunctionInfo, but it allows only functions to register a static list of potential

Re: [Rd] more special completions

2009-08-21 Thread Romain Francois
On 08/21/2009 06:59 PM, Deepayan Sarkar wrote: On 8/21/09, Romain Francois wrote: Hi, Would it be possible to add the capability for functions to register how they would like to complete themselves. Currently, there is the .addFunctionInfo, but it allows only functions to register a stat

Re: [Rd] more special completions

2009-08-21 Thread Deepayan Sarkar
On 8/21/09, Romain Francois wrote: > Hi, > > Would it be possible to add the capability for functions to register how > they would like to complete themselves. > > Currently, there is the .addFunctionInfo, but it allows only functions to > register a static list of potential completions, I was t

[Rd] more special completions

2009-08-21 Thread Romain Francois
Hi, Would it be possible to add the capability for functions to register how they would like to complete themselves. Currently, there is the .addFunctionInfo, but it allows only functions to register a static list of potential completions, I was thinking of a way to register not a fixed list