all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Liu <sdl.web@gmail.com>
To: Julien Danjou <julien@danjou.info>
Cc: 6852@debbugs.gnu.org, "Kim F. Storm" <storm@cua.dk>
Subject: bug#6852: 24.0.50; Wrong behaviour with `ido-enter-matching-directory' set to 'first
Date: Fri, 12 Jul 2013 15:42:54 +0800	[thread overview]
Message-ID: <m1hag0kyv5.fsf@gmail.com> (raw)
In-Reply-To: <87tymyuolz.fsf@keller.adm.naquadah.org> (Julien Danjou's message of "Sat, 14 Aug 2010 00:36:24 +0200")

On 2010-08-14 06:36 +0800, Julien Danjou wrote:
> Then I type / to enter into the first directory, namely "Org/".
>
> But what seems to happen is that ido try to redo the matches with the
> string "Or/", making ".vimperator/" the best candidate, and then
> entering it, as shown in the trace:
>
> final slash: Or/ try single dir: nil prefix match: ("Org/" "org/")
> suffix match: ("Or" "Or/\\'" (".vimperator/")) new    :
> (".vimperator/" "Org/" "org/" ".mirrormagic/" ".openoffice.org/"
> ".openoffice.org2/" ".org-timestamps/" ".root-portal/" ".torcs/"
> "Work/" ".BitTornado/" ".conkeror.mozdev.org/") single match:
> .vimperator/ cd: /home/jd/.vimperator/ 
>
> This seems wrong to me.

ido order matches this way

  full-matches > suffix matches > prefix matches > remaining matches

So what you saw seems normal to me. WDYT?

Leo





  reply	other threads:[~2013-07-12  7:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-13 22:36 bug#6852: 24.0.50; Wrong behaviour with `ido-enter-matching-directory' set to 'first Julien Danjou
2013-07-12  7:42 ` Leo Liu [this message]
2013-07-12  8:00   ` Julien Danjou
2013-07-13  1:07     ` Leo Liu
2013-07-15  8:11       ` Leo Liu
2013-07-15  8:30       ` Julien Danjou

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=m1hag0kyv5.fsf@gmail.com \
    --to=sdl.web@gmail.com \
    --cc=6852@debbugs.gnu.org \
    --cc=julien@danjou.info \
    --cc=storm@cua.dk \
    /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.