From: michael.cadilhac@lrde.org (Michaël Cadilhac)
Cc: emacs-devel@gnu.org
Subject: Re: ido with merged directories.
Date: Sun, 10 Sep 2006 11:37:55 +0200 [thread overview]
Message-ID: <87u03grrik.fsf@lrde.org> (raw)
In-Reply-To: <m3r6ykljka.fsf@kfs-l.imdomain.dk> (Kim F. Storm's message of "Sun, 10 Sep 2006 01:13:57 +0200")
[-- Attachment #1.1: Type: text/plain, Size: 1328 bytes --]
storm@cua.dk (Kim F. Storm) writes:
> michael.cadilhac@lrde.org (Michaël Cadilhac) writes:
>
>> ido makes the error of considering that `ido-matches' is always of the
>> form '("a" "b" "c"). However, with merged directories, it could have
>> the form '(("a" "b") "c").
>
> Yes, and the function ido-name converts such entries to the proper form.
> Some of your fixes are thus no-ops.
The one of
! (ido-name (car ido-matches))))
is, indeed.
>> This triggers many bugs.
>
> Please give me concrete examples.
This is quite difficult, in fact. Well, I've no from-scratch test
case, but I can trigger bug with the following :
- I have many src/ directories, one in my ~. I enter ``~/dd/src'', the
~/dd directory doesn't exist. Ido proposes « src/^, lib-src/ ».
I type « src/ », if I add a character, a bug is triggered in
ido-inhibit.
- I have a src/^, I hit C-e to edit the line.
- Same, I hit M-\s
- Same for ido-delete-file-at-head, ido-push-dir-first, at least.
--
| Michaël `Micha' Cadilhac | Isn't vi that text editor with |
| Epita/LRDE Promo 2007 | two modes... One that beeps and |
| http://www.lrde.org/~cadilh_m | one that corrupts your file? |
`-- - JID: micha@amessage.be --' -- Dan Jacobson - --'
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2006-09-10 9:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-08 19:06 ido with merged directories Michaël Cadilhac
2006-09-09 23:13 ` Kim F. Storm
2006-09-10 9:37 ` Michaël Cadilhac [this message]
2006-09-10 22:18 ` Kim F. Storm
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=87u03grrik.fsf@lrde.org \
--to=michael.cadilhac@lrde.org \
--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 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.