Subject: 24.0.50; completion-substring-try-completion bug ?

From: Andreas Politz <[email-masked]>
Date: Mon, 07 Mar 2011 19:38:33 +0100

(completion-substring-try-completion
        "foo" '("bar-foo" "baz-foo") nil 2)
=> ("ba-foo" . 6)

I would expect this to return ("ba-foo" . 2) .

-ap

In GNU Emacs 24.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2010-06-13 on raven
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings: [..]