[Vimperator] :undo not working AND hintmatching=wordstartswith

Daniel Trstenjak Daniel.Trstenjak at online.de
Sat Jun 28 01:48:20 PDT 2008


Hi Harish,

> To Mahefa's point, "cm" matches "Compose Mail" for me as well.
> Though, when I enter "comma" to match "Compose Mail" in gmail, it
> matches some other links (other mails I have).  Essentially, "Compose
> Mail" is not being matched for "comma".  If no other links match
> "comma", it lists "comma" in the status bar.

Now I got it. The algorithm matches the least possible characters for
each word.  In this case '[Co]mpose [M]ail'. So the first 'm' isn't
mached in 'Compose' but in 'Mail'. Then the algorithm tries to match
the remaining characters 'ma' ... ups ... but there are no additional
words.

Previously the algorithm matched as much characters as possible for each
word. But this just leads to other problems ...


Greetings,
Daniel 


More information about the Vimperator mailing list