all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Roland Winkler <roland.winkler@physik.uni-erlangen.de>
To: 5495@debbugs.gnu.org
Subject: bug#5495: 23.1.90; symbol completion fails
Date: Fri, 29 Jan 2010 18:53:03 -0600	[thread overview]
Message-ID: <878wbgfm6o.fsf@regnitz.physics.niu.edu> (raw)

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	other threads:[~2010-01-30  0:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-30  0:53 Roland Winkler [this message]
2010-02-01 15:16 ` bug#5495: 23.1.90; symbol completion fails Stefan Monnier
2010-02-01 16:06   ` Roland Winkler
2011-07-13 16:32   ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878wbgfm6o.fsf@regnitz.physics.niu.edu \
    --to=roland.winkler@physik.uni-erlangen.de \
    --cc=5495@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.