Suresh Govindachar wrote:
> {Added postscript to what I sent a few minutes ago.]
>
> >>>> version 7.0.1
> >>>> gvim --noplugin -u NONE -U NONE
> >>>> and type ifooey and do i_CTRL-X s
> >>>>
> >>>> Message at bottom will say: "match 1 of 100"
> >>>
> >>> I get "Spell checking is not enabled". Did you do ":set spell"?
> >>
> >> Yes, I did :set spell before ifooey.
[...]
>
> Not exactly -- the bug is _NOT_ "un-intutiveness".
>
> The bug, present in 7.0.10, is that both of Bram's intents, viz.,
>
> "Using the cursor only selects another entry,
> it doesn't insert it. Use Enter to insert the
> match (original text)."
>
> are _not_ happening.
>
> 1) <UP> -- just doing 1 <UP> -- after i_CTRL-X s actually inserts
> an entry -- Bram says it will not, but it does in fact.
>
> Moreover, even though the message at the bottom says Bram's
> intent "Back at original", the word inserted is in fact the
> "match 1 of 100" word -- after exactly 1 <UP> after i_CTRL-X s.
I don't know what you are doing exactly, but what happens for me, and
what should happen, is that after CTRL-X s you get the first match. As
mentioned before, this often is the one you want, thus it's logical that
this is inserted. After that, using the Up and Down cursor keys you can
select another entry without inserting it. If you type Esc or a space
then completion ends and the first match remains there. If you press
Enter the entry selected with the cursor keys is inserted.
> 2) Then -- after doing zero or more <UP> and <DOWN> -- hitting
> <ESC> will leave that inserted "match 1 of 100" word in the
> buffer rather than Bram's intent of leaving the buffer unmodified.
I didn't have the intent to leave the buffer unmodified when you press
Esc. CTRL-E does that.
--
>From "know your smileys":
:-* A big kiss!
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///