unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: A Soare <alinsoar@voila.fr>
To: emacs-devel@gnu.org
Subject: Re: Bug in completion
Date: Tue, 20 Feb 2007 02:48:08 +0100 (CET)	[thread overview]
Message-ID: <5267918.423961171936088728.JavaMail.www@wwinf4002> (raw)



I updated emacs from cvs and compiled on Tuesday, February 20, 2007 at 01:44:43 (GMT)

and this code works to me... maybe somebody has already solved it in the meantime...



> 
> ------------------------------
> 
> Message: 11
> Date: Mon, 19 Feb 2007 17:17:38 -0500
> From: Richard Stallman <rms@gnu.org>
> Subject: Bug in completion
> To: emacs-devel@gnu.org
> Message-ID: <E1HJGpG-0003eH-QM@fencepost.gnu.org>
> Content-Type: text/plain; charset=ISO-8859-15
> 
> 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> 

             reply	other threads:[~2007-02-20  1:48 UTC|newest]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=5267918.423961171936088728.JavaMail.www@wwinf4002 \
    --to=alinsoar@voila.fr \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).