Subject: (file-exists-p "//.gz") needs seven seconds

From: "Christoph Conrad" <[email-masked]>
Date: Mon, 13 Jul 2009 15:03:04 +0200

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