[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ido and hosts named with a single letter.
From: |
Kim F. Storm |
Subject: |
Re: Ido and hosts named with a single letter. |
Date: |
Thu, 30 Nov 2006 21:52:29 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
address@hidden (Michaël Cadilhac) writes:
> But it's probably better to do that : if the file actually exists (c:
> should exist, I suppose), then use it. Otherwise, use tramp.
>
> I can propose the following :
>
>
> *** lisp/ido.el.~1.110.~ 2006-10-16 14:42:24.000000000 +0200
> --- lisp/ido.el 2006-11-27 17:54:36.000000000 +0100
> ***************
> *** 1142,1147 ****
> --- 1142,1152 ----
> (pop-to-buffer b t t)
> (setq truncate-lines t)))))
>
> + (defun ido-local-file-exists-p (file)
> + "Tell if FILE exists locally."
> + (let (file-name-handler-alist)
> + (file-exists-p file)))
> +
> ...
I checked that this approach does work on Windoze (as far as I could see).
I changed a few things, and committed the change.
Thanks for working on improving ido.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Ido and hosts named with a single letter., Michaël Cadilhac, 2006/11/26
- Re: Ido and hosts named with a single letter., Kim F. Storm, 2006/11/27
- Re: Ido and hosts named with a single letter., Michaël Cadilhac, 2006/11/27
- Re: Ido and hosts named with a single letter., Kim F. Storm, 2006/11/28
- File name handlers and local files., Michaël Cadilhac, 2006/11/28
- Re: File name handlers and local files., Andreas Schwab, 2006/11/28
- Re: File name handlers and local files., Michael Albinus, 2006/11/28
- Re: File name handlers and local files., Michaël Cadilhac, 2006/11/28
- Re: Ido and hosts named with a single letter.,
Kim F. Storm <=