From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: michael.cadilhac@lrde.org (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Newsgroups: gmane.emacs.devel Subject: Re: ido with merged directories. Date: Sun, 10 Sep 2006 11:37:55 +0200 Organization: Epita/LRDE Message-ID: <87u03grrik.fsf@lrde.org> References: <87bqpqb2li.fsf@lrde.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1307506610==" X-Trace: sea.gmane.org 1157881097 8030 80.91.229.2 (10 Sep 2006 09:38:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Sep 2006 09:38:17 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 10 11:38:15 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GMLlM-0002Mp-QY for ged-emacs-devel@m.gmane.org; Sun, 10 Sep 2006 11:38:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMLlM-0005yh-2l for ged-emacs-devel@m.gmane.org; Sun, 10 Sep 2006 05:38:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GMLlA-0005ya-SI for emacs-devel@gnu.org; Sun, 10 Sep 2006 05:37:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GMLl9-0005yK-EF for emacs-devel@gnu.org; Sun, 10 Sep 2006 05:37:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMLl9-0005yH-7q for emacs-devel@gnu.org; Sun, 10 Sep 2006 05:37:51 -0400 Original-Received: from [62.39.139.2] (helo=kualalumpur.lrde.epita.fr) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GMLmA-0003F6-0Z for emacs-devel@gnu.org; Sun, 10 Sep 2006 05:38:54 -0400 Original-Received: from mahaena.lrde.epita.fr ([192.168.101.66] helo=mahaena.lrde) by kualalumpur.lrde.epita.fr with esmtp (Exim 4.50) id 1GMLl7-0003GS-K3; Sun, 10 Sep 2006 11:37:49 +0200 Original-To: storm@cua.dk (Kim F. Storm) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEU/JREXDATg1LV8UCao i1fQpmoP3Nd6AAACa0lEQVQ4jWWUQW7jMAxFqZEPICJzAjXeM6W8dyNqX9ji/a8yn04xnWIEJLD9 LJH85DcJFyJV3erqPty8ExHfBikXSdn0WVezC0hOAQiA2nCsAHOqEnPe4k+puU8zw/t+xquqjRKA 4lHsmQBT8C5pDtBwfwH8VdcHI5+FHtjRxrQRwZsf3hNjZRKAPEzHEdH9mFNSYb5dQK3r8KM6ftNy KikAirDZFWdVkDqbxjGFbAcwbQCxxc8mPRHUGOcCIMgMACV23RfJTch3gC6ofT3qCdG0NyUUPfYF yQrKCIAnuYsgX2qPzW2i9sNrfSOSPPZQiygtCNlCjlpXJV38lIKshF/AZzsAMoArdCKNHfXukPuJ ImbLh+9J2gXwap0QpZ7NjZ7ekdkFcDiqPiLGcHmuvaG/AHgy62s52Lae1ABoA7D6d2kDoAvgbnyD ZutEd6lTHOXfYPHVJDH1K8a1+oyrjoZpAGn1x5pfwPr2E9yjxSpk50/gEyKgD/+BD/KzN3tQ13b8 Cx5loF0AgnZf5IUny9hRHQOYBllHDM+6s3oviZBu77mFjDm621Np3hkjR90wE1BkTYvhdDgDgCmR xWChFfcYAOqMm5NZkVWMur8AL5+oeMQOob2FmY76FiM+PrDDZypwGdqokSlAaQOmGH6mW8KpsOwl 0YOLedjSITr6scNRF8D4PesH33QmLrx8AzjpV/3kkg025w2gfAFYKCLluJAc4Ap+h18oo4S8wzaY klDsBUTiY8EZFkg5Iass75FubC9wd8qa0u9+gRxAsAKEaRAo6iB+vwCMGmdBjvgidQGA1ntMX4CS ZYGV/wADyL80LIX/UAAAAABJRU5ErkJggg== In-Reply-To: (Kim F. Storm's message of "Sun, 10 Sep 2006 01:13:57 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:59617 Archived-At: --===============1307506610== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable storm@cua.dk (Kim F. Storm) writes: > michael.cadilhac@lrde.org (Micha=EBl 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 : =2D I have many src/ directories, one in my ~. I enter ``~/dd/src'', the ~/dd directory doesn't exist. Ido proposes =AB src/^, lib-src/ =BB. I type =AB src/ =BB, if I add a character, a bug is triggered in ido-inhibit. =2D I have a src/^, I hit C-e to edit the line. =2D Same, I hit M-\s =2D Same for ido-delete-file-at-head, ido-push-dir-first, at least. =2D-=20 | Micha=EBl `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 - -= -' --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFFA9zzZYNf4qobZ7kRAtcHAJ48RFv+UJRg6Zzu/hm6DvQ72mXtcQCePYAl KkXM+jQj3zFFzSPkQzn2ca4= =c4kZ -----END PGP SIGNATURE----- --=-=-=-- --===============1307506610== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============1307506610==--