From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: test-completion and hash-tables
Date: Sun, 14 Dec 2003 22:23:35 -0600 (CST) [thread overview]
Message-ID: <200312150423.hBF4NZU16897@raven.dms.auburn.edu> (raw)
In-Reply-To: <200312150317.hBF3Hxg16766@raven.dms.auburn.edu> (message from Luc Teirlinck on Sun, 14 Dec 2003 21:17:59 -0600 (CST))
>From my previous message:
Which of the following possibilities applies?
1. This is a bug.
2. `test-completion' is only supposed to be used on the results of
calling either `try-completion' or `all-completions'. In all
cases where I saw `test-completion' being used, this was the case.
If so, there is no inconsistency, as even `eq' hash-tables will
work.
3. It is the job of the programmer passing the hash table to
`test-completion' to make sure that the hash-table uses the correct
test, that is, the version of compare-strings that is consistent
with `completion-ignore-case'.
I just checked that `completing-read' actually does behave differently
for hash tables and ignores `completion-ignore-case', for exact but
not unique completions. So, even if (2) would be a correct
assumption, we _still_ would _also_ have either (1) or (3).
Sincerely,
Luc.
next prev parent reply other threads:[~2003-12-15 4:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-15 3:17 test-completion and hash-tables Luc Teirlinck
2003-12-15 3:46 ` Luc Teirlinck
2003-12-15 4:23 ` Luc Teirlinck [this message]
2003-12-18 23:05 ` Stefan Monnier
2003-12-18 23:57 ` Luc Teirlinck
2003-12-20 0:28 ` Luc Teirlinck
2003-12-21 23:28 ` Stefan Monnier
2003-12-20 16:58 ` Luc Teirlinck
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=200312150423.hBF4NZU16897@raven.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--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).