[Kde-pim] KMail addressee completion

Ingo Klöcker kloecker at kde.org
Sun Nov 6 22:25:19 GMT 2011


On Thursday 03 November 2011, Milian Wolff wrote:
> On Wednesday 02 November 2011 22:01:10 Ingo =?ISO-8859-1?Q?Kl=F6cker?= 
wrote:
> > On Monday 31 October 2011, Milian Wolff wrote:
> > > Also note, that apparently the current code matches only
> > > beginning from a word boundary. E.g.:
> > > 
> > > 
> > > fooasdf at barqwer.com
> > > 
> > > -> "foo" "bar" all match, but neither asdf nor qwer or anything
> > > else after the beginning of a word.
> > 
> > AFAIK this is by design. The disadvantages of arbitrary substring
> > matches (e.g. a long list of mostly irrelevant matches) outnumber
> > the advantages. Many KDE applications behave similarly. If you
> > want to use substring matching with KLineEdit then you have to
> > press Ctrl+E. This also used to work in KMail1's addressee line
> > edit.
> 
> Wow, so much for discoverability ;-)  Can I change this setting
> somewhere?

I don't know. I didn't find it in the standard shortcuts. So it's 
probably hardcoded into KLineEdit.


> Esp. since if I hit CTRL+E and type some more chars to
> narrow the result list, I have to hit CTRL+E again to activate
> subpattern matching again.
> 
> One suggestion to improve the situation imo would be to copy the
> behavior we use in KDevelop's QuickOpen: Always do substring
> matches, but show the results sorted. I.e.:
> 
> - If a full word is matched, prefer that item
> - if a word is matched at the start, prefer that item (if you really
> need that, I see no advantage of that)
> - ...

Well, I guess that would be okay for me. You know how it works: If you 
don't do it then nobody will. And: He who does the work decides. ;-)


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20111106/73a215ee/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list