all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5495: 23.1.90; symbol completion fails
@ 2010-01-30  0:53 Roland Winkler
  2010-02-01 15:16 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Winkler @ 2010-01-30  0:53 UTC (permalink / raw
  To: 5495

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






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-13 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-30  0:53 bug#5495: 23.1.90; symbol completion fails Roland Winkler
2010-02-01 15:16 ` Stefan Monnier
2010-02-01 16:06   ` Roland Winkler
2011-07-13 16:32   ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.