emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ido with merged directories.


From: Michaël Cadilhac
Subject: Re: ido with merged directories.
Date: Sun, 10 Sep 2006 11:37:55 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

address@hidden (Kim F. Storm) writes:

> address@hidden (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: address@hidden --'           -- Dan Jacobson         -  --'

Attachment: pgpeJ72Udz9Hq.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]