From: Le Wang <l26wang@gmail.com>
To: Leo Liu <sdl.web@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: fix for bug 10994 breaks ido customizations in major way
Date: Fri, 3 May 2013 20:49:20 +0800 [thread overview]
Message-ID: <CAM=K+ipLSErBsWxFxYCSWkNaq1akvicO=hMx6RAa8G0whFeCQw@mail.gmail.com> (raw)
In-Reply-To: <m1fvy4n1jq.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1771 bytes --]
I sent this off list by accident.
On Fri, May 3, 2013 at 12:13 PM, Leo Liu <sdl.web@gmail.com> wrote:
> On 2013-05-03 01:57 +0800, Le Wang wrote:
> > bug:
> >
> http://emacs.1067599.n5.nabble.com/bug-10994-23-3-ido-mode-ido-next-match-ido-prev-match-work-wrong-with-same-elements-td300.html
> >
> > The committed fix converts equal to eq, causing any plugin that
> propertizes
> > the completion list to hang Emacs.
> >
> > This bug is filed as: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14334
> >
> > The original bug report is essentially this:
> >
> > (ido-completing-read "dat is whrong -> " '("2" "3" "3" "3" "4" "5"))
> >
> > What's the expected behaviour in this case? Shouldn't the duplicates
> from
> > the list just be removed?
>
> I put in the fix. It was based on how ido-matches are built from
> ido-cur-list. So it fixes the bug.
>
> I am not sure what new things you are doing with ido you will have to
> look into this yourself..
>
There are a few ido customizations floating around that propertizes text.
This will break all of them. I don't think this fix is acceptable.
> Ideally ido should not modified the list fed to it. i.e.
That's not happening. The list passed to ido is not modified.
ido-set-matches-1 returns a newlist,
(ido-completing-read "dat is whrong -> " '("2" "3" "3" "3" "4" "5"))
>
> should be able to rotate for- band backwards without removing the dups.
> It would be odd-looking if a user supply one list and ido display
> another.
>
I asked for a use-case of a completion list with duplicate strings. Do
you have one?
If I do a completing read outside of ido from "emacs -Q" duplicates are not
shown.
I tried
(completing-read ": " '("a" "ab" "a"))
when I press <tab> only two items are shown.
--
Le
[-- Attachment #2: Type: text/html, Size: 3994 bytes --]
next prev parent reply other threads:[~2013-05-03 12:49 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-02 17:57 fix for bug 10994 breaks ido customizations in major way Le Wang
2013-05-03 4:13 ` Leo Liu
2013-05-03 12:49 ` Le Wang [this message]
2013-05-03 20:33 ` Leo Liu
2013-05-04 7:00 ` Le Wang
2013-05-04 8:58 ` Óscar Fuentes
2013-05-04 13:00 ` Le Wang
2013-05-05 10:57 ` Óscar Fuentes
2013-05-05 11:39 ` Leo Liu
2013-05-05 12:20 ` Óscar Fuentes
2013-05-05 12:58 ` Leo Liu
2013-05-05 13:38 ` Óscar Fuentes
2013-05-05 14:31 ` Stephen J. Turnbull
2013-05-05 15:26 ` Óscar Fuentes
2013-05-06 15:11 ` Le Wang
2013-05-06 22:49 ` Vitalie Spinu
2013-05-07 1:01 ` Óscar Fuentes
2013-05-07 9:35 ` Le Wang
2013-05-07 10:26 ` Vitalie Spinu
2013-05-07 10:35 ` Óscar Fuentes
2013-05-07 14:49 ` Le Wang
2013-05-07 21:18 ` Stefan Monnier
2013-05-07 14:42 ` Le Wang
2013-05-07 14:44 ` Drew Adams
2013-05-07 14:47 ` Le Wang
2013-05-07 19:00 ` Vitalie Spinu
2013-05-07 19:53 ` Óscar Fuentes
2013-05-08 0:04 ` Leo Liu
2013-05-08 0:35 ` Le Wang
2013-05-08 3:10 ` Leo Liu
2013-05-08 3:29 ` Leo Liu
2013-05-08 4:49 ` Leo Liu
2013-05-08 8:14 ` Vitalie Spinu
2013-05-08 8:42 ` Leo Liu
2013-05-08 12:23 ` Le Wang
2013-05-08 14:29 ` Leo Liu
2013-05-08 20:56 ` Juri Linkov
2013-05-10 1:52 ` Leo Liu
2013-05-17 2:48 ` Leo Liu
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='CAM=K+ipLSErBsWxFxYCSWkNaq1akvicO=hMx6RAa8G0whFeCQw@mail.gmail.com' \
--to=l26wang@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=sdl.web@gmail.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 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.