Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-13 Fir de Conversatie mattn
MSVC make warning about prototype. https://gist.github.com/1286099 Below is a fixed patch. diff -r f530aef0d959 src/ex_getln.c --- a/src/ex_getln.c Wed Oct 12 22:02:14 2011 +0200 +++ b/src/ex_getln.c Fri Oct 14 11:25:08 2011 +0900 @@ -121,6 +121,12 @@ static int ex_window __ARGS((void)); #end

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-12 Fir de Conversatie Bram Moolenaar
Ingo Karkat wrote: > On 10/10/2011 03:43 PM, mattn wrote: > > I hope that functions should be following after global > > functions. Is this a problem of sort? > > Currently, functions are there before global functions. it's not > > useful. > > It's a good idea to show the functions last. "Nor

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-12 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: > Ok. > Bram, If anyone don't object to this changes, please check and include. > > https://gist.github.com/1280464 Thanks! I'll add it in the todo list. -- hundred-and-one symptoms of being an internet addict: 57. You begin to wonder how on earth your service provi

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-11 Fir de Conversatie mattn
Ok. Bram, If anyone don't object to this changes, please check and include. https://gist.github.com/1280464 diff -r 409691084d19 src/eval.c --- a/src/eval.c Tue Oct 04 21:22:44 2011 +0200 +++ b/src/eval.c Wed Oct 12 15:41:53 2011 +0900 @@ -21735,6 +21735,9 @@ ++hi; fp = HI2UF(hi); + if (

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-11 Fir de Conversatie Benjamin R. Haskell
On Mon, 10 Oct 2011, mattn wrote: Thanks for all in this thread. I still don't assent that vim show functions in complete candidates. And I wonder why they use ":echo " to get candidate from completion. I'm thinking who want to know SID are very minorities. And as Ingo Karkat says,  is the c

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-10 Fir de Conversatie mattn
Thanks for all in this thread. I still don't assent that vim show functions in complete candidates. And I wonder why they use ":echo " to get candidate from completion. I'm thinking who want to know SID are very minorities. And as Ingo Karkat says, is the cryptic names look intimidating. As yo

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-10 Fir de Conversatie Ingo Karkat
On 10/10/2011 03:43 PM, mattn wrote: I hope that functions should be following after global functions. Is this a problem of sort? Currently, functions are there before global functions. it's not useful. It's a good idea to show the functions last. "Normal" users don't use them, and the cryp

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-10 Fir de Conversatie mattn
I hope that functions should be following after global functions. Is this a problem of sort? Currently, functions are there before global functions. it's not useful. However, If I want to find global function leading "z", I may feed that " functions are not useful for complete". We should hea

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-10 Fir de Conversatie Christian Brabandt
On Sun, October 9, 2011 3:43 pm, Bram Moolenaar wrote: > > Christian Brabandt wrote: > >> On Sa, 08 Okt 2011, mattn wrote: >> >> > Do you mean that vim have better to show candidate like following? >> (for >> > example) >> > >> > :echo 14_foo >> > >> > and type >> > >> > :echo 14_foobar >> > >> >

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-09 Fir de Conversatie Benjamin R. Haskell
On Sun, 9 Oct 2011, Bram Moolenaar wrote: Christian Brabandt wrote: On Sa, 08 Okt 2011, mattn wrote: Do you mean that vim have better to show candidate like following? (for example) :echo 14_foo and type :echo 14_foobar I think no need to show it. Please don't turn that feature off.

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-09 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Sa, 08 Okt 2011, mattn wrote: > > > Do you mean that vim have better to show candidate like following? (for > > example) > > > > :echo 14_foo > > > > and type > > > > :echo 14_foobar > > > > I think no need to show it. > > Please don't turn that feature off

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-08 Fir de Conversatie Christian Brabandt
Hi mattn! On Sa, 08 Okt 2011, mattn wrote: > Do you mean that vim have better to show candidate like following? (for > example) > > :echo 14_foo > > and type > > :echo 14_foobar > > I think no need to show it. Please don't turn that feature off. I use it all the time. regards, Christian

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-08 Fir de Conversatie mattn
On Saturday, October 8, 2011 11:53:08 PM UTC+9, Bram Moolenaar wrote: > > Makes sense. I wonder if we should still show the matches when the user > is explicitly looking for such a function. > Do you mean that vim have better to show candidate like following? (for example) :echo 14_foo and

Re: Don't show dict functions in expression complete candidates in command-line.

2011-10-08 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: > When you type ':echo ', you can see complete candidates like variables, > functions, or etc. > But it include dict functions. For example, > > --- > $ cat foo.vim > let s:foo = {} > function! s:foo.bar() > endfunction > > $ vim -u foo.vim -N > --- > > Type

Don't show dict functions in expression complete candidates in command-line.

2011-10-07 Fir de Conversatie mattn
Hi. When you type ':echo ', you can see complete candidates like variables, functions, or etc. But it include dict functions. For example, --- $ cat foo.vim let s:foo = {} function! s:foo.bar() endfunction $ vim -u foo.vim -N --- Type ":echo ", it will be ":echo 1()". Below is a patch