emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

try-completion not showing all possible completions?


From: Chris Mears
Subject: try-completion not showing all possible completions?
Date: Wed, 04 Jan 2006 12:09:37 +1100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Hello all,

Executing the following code:

    (let ((table (make-vector 1021 0)))
      (intern "johnny jones" table)
      (intern "joe blow" table)
      (intern "jimi hendrix" table)
      (try-completion "j" table (lambda (s) (princ (format "%s\n" s)))))

I would expect the output to be all three names in the table.  However,
in the current CVS Emacs it produces:

    johnny jones
    jimi hendrix
    "j"

"joe blow" has been omitted.  I tested the same code in Emacs 21.4.1 and
it does what I expected:

    johnny jones
    jimi hendrix
    joe blow
    "j"

Can anyone shed some light on this?

Thanks,
Chris Mears




reply via email to

[Prev in Thread] Current Thread [Next in Thread]