From: "Richard M. Stallman" <rms@gnu.org>
Cc: emacs-devel@gnu.org, teirllm@dms.auburn.edu, miles@gnu.org
Subject: Re: Bugs in newly added completion capabilities.
Date: Fri, 01 Jul 2005 00:03:08 -0400 [thread overview]
Message-ID: <E1DoCk8-0000fV-8K@fencepost.gnu.org> (raw)
In-Reply-To: <jwv4qbfd9wn.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Thu, 30 Jun 2005 13:42:15 -0400)
I don't like the idea of adding "" at the beginning of a completion table.
Here I have a good reason, which is that it changes the behavior:
(try-completion "" '("aaa" "aab" "aac")) => "aa"
(try-completion "" '("" "aaa" "aab" "aac")) => ""
Oops. I suggested adding "" because I thought it would not change
the results. Since that is not true, adding "" is not a solution.
The only real solution would be to add a first element that's neither
a symbol nor a string, nor a cons cell whose car is a symbol or a
string. Such as 0 or []. That is sort of ugly. It would be cleaner
to say that lists of symbols can't be used at all. As you've said,
that would be no great loss.
Let's recall how this came up: as a side effect of the change to allow
symbols as the car of cons cells in an alist. We could allow symbols
when they come from the car of an element, and not allow them when
they don't come from there.
Any objections?
next prev parent reply other threads:[~2005-07-01 4:03 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-28 2:27 Bugs in newly added completion capabilities Luc Teirlinck
2005-06-28 18:47 ` Richard M. Stallman
2005-06-29 3:50 ` Luc Teirlinck
2005-06-29 20:43 ` Richard M. Stallman
2005-06-30 2:29 ` Luc Teirlinck
2005-06-30 7:48 ` Kim F. Storm
2005-06-30 7:50 ` Miles Bader
2005-06-30 12:51 ` Kim F. Storm
2005-06-30 17:19 ` Luc Teirlinck
2005-06-30 17:42 ` Stefan Monnier
2005-06-30 18:28 ` Luc Teirlinck
2005-06-30 19:42 ` Stefan Monnier
2005-07-01 8:14 ` Kim F. Storm
2005-07-01 14:59 ` Stefan Monnier
2005-07-02 12:32 ` Richard M. Stallman
2005-06-30 18:32 ` Luc Teirlinck
2005-06-30 19:43 ` Stefan Monnier
2005-07-01 4:03 ` Richard M. Stallman [this message]
2005-07-01 4:36 ` Miles Bader
2005-07-01 7:33 ` David Kastrup
2005-07-01 7:55 ` Miles Bader
2005-07-01 8:34 ` Kim F. Storm
2005-07-01 22:45 ` Richard M. Stallman
2005-07-01 8:30 ` Kim F. Storm
2005-06-30 21:29 ` Richard M. Stallman
2005-06-29 3:56 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1DoCk8-0000fV-8K@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=miles@gnu.org \
--cc=teirllm@dms.auburn.edu \
/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.