From kde-pim Sun Nov 06 22:25:19 2011 From: Ingo =?iso-8859-15?q?Kl=F6cker?= Date: Sun, 06 Nov 2011 22:25:19 +0000 To: kde-pim Subject: Re: [Kde-pim] KMail addressee completion Message-Id: <201111062325.20102 () thufir ! ingo-kloecker ! de> X-MARC-Message: https://marc.info/?l=kde-pim&m=132061837723708 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============3979496564082874560==" --===============3979496564082874560== Content-type: multipart/signed; boundary=nextPart4081451.se1quI0aKo; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit --nextPart4081451.se1quI0aKo Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Thursday 03 November 2011, Milian Wolff wrote: > On Wednesday 02 November 2011 22:01:10 Ingo =3D?ISO-8859-1?Q?Kl=3DF6cker?= =3D=20 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.: > > >=20 > > >=20 > > > fooasdf@barqwer.com > > >=20 > > > -> "foo" "bar" all match, but neither asdf nor qwer or anything > > > else after the beginning of a word. > >=20 > > 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. >=20 > 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=20 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. >=20 > 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.: >=20 > - 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=20 don't do it then nobody will. And: He who does the work decides. ;-) Regards, Ingo --nextPart4081451.se1quI0aKo Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAk63CVAACgkQGnR+RTDgudi9uACfa25Xe652cRH4WDeopXAF0BI4 92EAoJHO/fo1w+ut5X1c3OhnHwCSSqZS =IK5p -----END PGP SIGNATURE----- --nextPart4081451.se1quI0aKo-- --===============3979496564082874560== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KDE PIM mailing list kde-pim@kde.org https://mail.kde.org/mailman/listinfo/kde-pim KDE PIM home page at http://pim.kde.org/ --===============3979496564082874560==--