|
From: | Johan Bockgård |
Subject: | Re: change to try-completion behavior in 21.3? |
Date: | Sat, 17 Dec 2005 07:49:54 +0100 |
User-agent: | Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes: >> Why should it ever return the capital letter W? > > Because in your completion table, you have "W". "w" was also in the table. This change revision 1.237 date: 2002-04-09 19:28:42 +0000; author: monnier; state: Exp; lines: +89 -47 [...] (Ftry_completion): Allow lambda forms and lists of strings for `alist'. Short-circuit the search as soon as it "failed". [...] added this piece of code (approximately) if (matchsize <= SCHARS (string) && matchcount > 1) /* No need to look any further. */ break; When completion-ignore-case is t this doesn't necessarily find the best match _including case_ (AFAICS). -- Johan Bockgård
[Prev in Thread] | Current Thread | [Next in Thread] |