From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: completing-read displays duplicates in the *Completions* buffer
Date: Tue, 20 Dec 2005 10:30:15 -0700 [thread overview]
Message-ID: <do9f38$u9k$1@sea.gmane.org> (raw)
Stefan asked me to report this bug:
In GNU Emacs 21.4.1 (i386-pc-solaris2.8, X toolkit, Xaw3d scroll bars)
of 2005-09-21 on daedal
configured using `configure --prefix=/opt/csw'
Evaluate the following, then type `?' at the prompt:
(completing-read "Prompt: " '(("a") ("b") ("c") ("a") ("b") ("c")))
The *Completions* buffer contents are:
/---
| Click <mouse-2> on a completion to select it.
| In this buffer, type RET to select the completion near point.
|
| Possible completions are:
| a a
| b b
| c c
\---
Even if the code is changed to use eq strings or eq sublists, the
duplicates are displayed:
(let ((a "a") (b "b") (c "c"))
(completing-read "Prompt: "
(list (list a) (list b) (list c)
(list a) (list b) (list c))))
(let ((a (list "a")) (b (list "b")) (c (list "c")))
(completing-read "Prompt: "
(list a b c a b c)))
--
Kevin Rodgers
next reply other threads:[~2005-12-20 17:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-20 17:30 Kevin Rodgers [this message]
2005-12-20 19:49 ` completing-read displays duplicates in the *Completions* buffer Drew Adams
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='do9f38$u9k$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/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).