--- Begin Message ---
Subject: |
(file-exists-p "//.gz") needs seven seconds |
Date: |
Mon, 13 Jul 2009 15:03:04 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 |
Hi,
1) emacs -Q
2) M-: (file-exists-p "//.gz") <RET>
On my computer this needs several seconds to come back. The file does
NOT exist.
If i am in cc-mode and a lione starts with "/// " and i press "ctrl-x
ctrl-f" using ffap then this needs over ten seconds to return, cause
emacs tries to determine if there are files named "//.gz" or "//.Z".
In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
of 2008-09-06 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: DEU
locale-coding-system: cp1252
default-enable-multibyte-characters: t
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#3836: (file-exists-p "//.gz") needs seven seconds |
Date: |
Mon, 13 Jul 2009 21:59:15 +0300 |
> From: "Christoph Conrad" <christoph.conrad@gmx.de>
> Date: Mon, 13 Jul 2009 15:03:04 +0200
> Cc: christoph.conrad@gmx.de
>
> 1) emacs -Q
> 2) M-: (file-exists-p "//.gz") <RET>
>
> On my computer this needs several seconds to come back. The file does
> NOT exist.
That's not an Emacs problem: a file whose name begins with two slashes
or two backslashes is a UNC-style file name, and your Windows computer
looks it up on the network. That eventually times out, but can take a
lot of time until it does.
I'm closing this bug report.
--- End Message ---