all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org
Subject: Bug in completion
Date: Mon, 19 Feb 2007 17:17:38 -0500	[thread overview]
Message-ID: <E1HJGpG-0003eH-QM@fencepost.gnu.org> (raw)

This fails in a recent version; would someone please fix it?

If the symbols as alist keys are replaced with strings, it does
not fail.  However, both cases are supposed to work.
So this is a bug.


------- Start of forwarded message -------
To: bug-gnu-emacs@gnu.org
From: John J Foerch <jjfoerch@earthlink.net>
Date: Mon, 19 Feb 2007 11:53:42 -0500
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: completing-read
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 
	version=3.0.4

Hello,

The following code exhibits a behavior of completing-read that I would call a
bug.  Or am I missing something?

(let ((table '((foo . "you selected foo")
               (foobar . "you selected foobar"))))
  (completing-read "Symbol: " table nil 'require-match))

The unexpected behavior is that it is impossible to select `foo'.

Thanks,
John Foerch



_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

             reply	other threads:[~2007-02-19 22:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-19 22:17 Richard Stallman [this message]
2007-02-19 22:54 ` Bug in completion Kim F. Storm
  -- strict thread matches above, loose matches on Subject: below --
2007-02-20  1:48 A Soare
2007-02-20 10:05 ` Kim F. Storm

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=E1HJGpG-0003eH-QM@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@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.