From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Newsgroups: gmane.emacs.devel Subject: File name handlers and local files. Date: Tue, 28 Nov 2006 14:13:42 +0100 Organization: Epita/LRDE Message-ID: <87vekzn27t.fsf_-_@lrde.org> References: <877ixinfkp.fsf@lrde.org> <877ixgvn0q.fsf@lrde.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1370997097==" X-Trace: sea.gmane.org 1164721208 31530 80.91.229.2 (28 Nov 2006 13:40:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Nov 2006 13:40:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 28 14:40:02 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 1Gp3BO-0004uL-0O for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 14:39:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gp2w5-0007CS-Pv for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 08:23:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gp2mk-0008If-7S for emacs-devel@gnu.org; Tue, 28 Nov 2006 08:14:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gp2mZ-00089O-K7 for emacs-devel@gnu.org; Tue, 28 Nov 2006 08:14:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gp2mY-00088n-VK for emacs-devel@gnu.org; Tue, 28 Nov 2006 08:13:55 -0500 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 1Gp2mY-00031b-JW for emacs-devel@gnu.org; Tue, 28 Nov 2006 08:13:54 -0500 Original-Received: from mistral.lrde.epita.fr ([192.168.105.184] helo=localhost) by kualalumpur.lrde.epita.fr with esmtp (Exim 4.50) id 1Gp2mV-0003Mo-1R for emacs-devel@gnu.org; Tue, 28 Nov 2006 14:13:51 +0100 Original-To: emacs-devel@gnu.org 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 "Tue\, 28 Nov 2006 09\:58\:15 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (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:62932 Archived-At: --===============1370997097== 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: >> BTW, something tickles me about all that: why functions like >> file-exists-p & co doesn't check if the file is not an actual >> stat(2)-able file before getting any fanciness with file name >> handlers ? > > Yes, I've been hit by this many times while working on ido. It's probably worth the ask in another thread. Let's suppose my sysadmin is a weird guy. Very weird. And he decided that a common NFS data directory will be created on the / with the name 'data:', because he had a difficult childhood and loves The Windows Way. When I try to edit a file in that directory, I use : C-x C-f /data:/test Oh, weirder! Even if a `data:' directory exists, it just tries to use tramp ! Okey, this is a hard case, because the `test' file doesn't exist, and it may exist on the distant host `data'. But simpler: let's just try (file-exists-p "/data:"). The file name handler having the precedence on local files, it tries to ssh to `data:'. Isn't that a pity? =2D-=20 /!\ My mail address has changed, please update your files accordingly. | Micha=EBl `Micha' Cadilhac | =ABTu aimeras ton prochain.=BB = | | Epita/LRDE Promo 2007 | D'abord, Dieu ou pas, = | | http://michael.cadilhac.name | j'ai horreur qu'on me tutoie. = | `-- - JID: micha@amessage.be --' -- P. Desproges - -= -' --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFbDYJUJhDmOfFA3URAt8oAJoCKhwHvkCTPWYu2x2WQCUSTH5JDgCgytRH XVB1wSuoHaJxk6gO1aXOAPo= =RDt5 -----END PGP SIGNATURE----- --=-=-=-- --===============1370997097== 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 --===============1370997097==--