On Tue, May 02, 2006 at 12:13:37AM +0200, Bram Moolenaar wrote: > > Eric Van Dewoestine wrote: > > > > I know about this: When you type the "." and there no complete > > > match was inserted (showing the longest common text in this example), > > > Vim assumes you are extending the text to reduce the list of matches. > > > Thus the completion still starts at "BlahBlah". > > > > > > You need to stop completion somehow, e.g., with a space and backspace. > > > > > > This is not a nice way to work. I thought of having all punctuation > > > characters stop completion, but that breaks completion of items where > > > punctuation can be part of the match (e.g., () for functions). > > > > > > > Ah, that makes sense. What about an option for specifying what > > characters end the completion? > > > > setlocal completedelim+=. > > > > or something similar? > > It's too complicated already, adding another option will mainly cause > more users to get confused. Also, I wouldn't know what to set it to for > C.
It's not that confusing. This is not a good reason for not implementing something like 'completedelim'. A better reason would be that nobody feels like implementing it and documenting it. So far there are three options starting with "complete". This is complicated? I thought Vim/Emacs are ultra configurable... and the menu/completion system is a big feature. If it were up to me, I would have an option for what characters end the completion, and also what characters select the current completion and then end the completion... or something like that. Maybe not. At least something like completedelim. --Matt > > -- > ARTHUR: I've said I'm sorry about the old woman, but from the behind you > looked ... > DENNIS: What I object to is that you automatically treat me like an > inferior... > ARTHUR: Well ... I AM king. > "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD > > /// 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 ///