Re: avoid "Press Enter..." with new z= from function

2006-05-08 Thread Suresh Govindachar
Bram Moolenaar wrote: > Suresh Govindachar wrote: > >>> Actually I was trying to avoid writing all the wrapper code >>> that this code omits. :) z= does more than this snippet, it >>> figures out what word it is, displays the list, requests user >>> input, processes user input, an

RE: avoid "Press Enter..." with new z= from function

2006-05-08 Thread Bram Moolenaar
Suresh Govindachar wrote: > > Actually I was trying to avoid writing all the wrapper code that this > > code omits. :) z= does more than this snippet, it figures out what > > word it is, displays the list, requests user input, processes user > > input, and changes the word. > > > > The only th

RE: avoid "Press Enter..." with new z= from function

2006-05-07 Thread Suresh Govindachar
> Steve Hall Sent on May 07, 2006 > > On Sat, 2006-05-06 at 22:32 -0700, Suresh Govindachar wrote: > > > > Really was hard to figure out what you are after. > > Sorry, I was trying to be as clear as I could. > > > And if I understand you in your other post of today correctly, you > > want t

RE: avoid "Press Enter..." with new z= from function

2006-05-07 Thread Steve Hall
On Sat, 2006-05-06 at 22:32 -0700, Suresh Govindachar wrote: > > Really was hard to figure out what you are after. Sorry, I was trying to be as clear as I could. > And if I understand you in your other post of today correctly, you > want to use z= rather than spellsuggest() because you do not w

RE: avoid "Press Enter..." with new z= from function

2006-05-06 Thread Suresh Govindachar
A slight improvement in the format of the output from the code fragment in what I wrote a little while ago: > Steve Hall Sent on Saturday, May 06, 2006 > > On Fri, 2006-05-05 at 02:25 -0600, Eric Arnold wrote: > > > On 5/4/06, Steve Hall <[EMAIL PROTECTED]> wrote: > > > > > > >

RE: avoid "Press Enter..." with new z= from function

2006-05-06 Thread Suresh Govindachar
Steve Hall Sent on Saturday, May 06, 2006 > On Fri, 2006-05-05 at 02:25 -0600, Eric Arnold wrote: > > On 5/4/06, Steve Hall <[EMAIL PROTECTED]> wrote: > > > > > > Is there a way to avoid the "Press ENTER or type command to > > > continue" when requesting spelling suggestions from a

Re: avoid "Press Enter..." with new z= from function

2006-05-06 Thread Steve Hall
On Fri, 2006-05-05 at 02:25 -0600, Eric Arnold wrote: > On 5/4/06, Steve Hall <[EMAIL PROTECTED]> wrote: > > > > Is there a way to avoid the "Press ENTER or type command to > > continue" when requesting spelling suggestions from a :normal z= > > call in a function? > > > > I'm not able to make any

Re: avoid "Press Enter..." with new z= from function

2006-05-06 Thread Steve Hall
On Fri, 2006-05-05 at 09:22 +0200, Bram Moolenaar wrote: > Steve Hall wrote: > > > Is there a way to avoid the "Press ENTER or type command to > > continue" when requesting spelling suggestions from a :normal z= > > call in a function? > > > > I'm not able to make any of the usual tricks (&shm, rai

Re: avoid "Press Enter..." with new z= from function

2006-05-06 Thread Dominic Evans
On 5/5/06, Eric Arnold <[EMAIL PROTECTED]> wrote: Are you saying you always want the first entry? How about something like: nnoremap z= z=1 Though you might want to pick something else to remap than z= , in case you want to pick from the list sometimes. you can already use '1z=' to auto chan

Re: avoid "Press Enter..." with new z= from function

2006-05-05 Thread Eric Arnold
Are you saying you always want the first entry? How about something like: nnoremap z= z=1 Though you might want to pick something else to remap than z= , in case you want to pick from the list sometimes. On 5/4/06, Steve Hall <[EMAIL PROTECTED]> wrote: Is there a way to avoid the "Press ENT

Re: avoid "Press Enter..." with new z= from function

2006-05-05 Thread Bram Moolenaar
Steve Hall wrote: > Is there a way to avoid the "Press ENTER or type command to continue" > when requesting spelling suggestions from a :normal z= call in a > function? > > I'm not able to make any of the usual tricks (&shm, raising the > command height) work, and this statement blocks user inpu