bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#5495: 23.1.90; symbol completion fails


From: Roland Winkler
Subject: bug#5495: 23.1.90; symbol completion fails
Date: Fri, 29 Jan 2010 18:53:03 -0600

I am having trouble with symbol completion. The lisp manual says
about `try-completion'

  The value of COLLECTION must be a list of strings or symbols,
  an alist, an obarray, ...

So the following works well

  (try-completion  "foo" '("bar" baz)) ; fine
  (try-completion  "foo" '((bar) baz)) ; fine

Yet the following example fails

  (try-completion  "foo" '(bar baz))   ; fails

because it tries to interpret (bar baz) as a call of function bar
using arg baz.

Shouldn't the last example work, too? Or am I missing something?
I thought I had used symbol completion before. But now I cannot get
it to work anymore.

Thanks,

Roland


In GNU Emacs 23.1.90.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-12-12 on regnitz






reply via email to

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