help-emacs-windows
[Top][All Lists]

## [h-e-w] RE: How to check if 2 windows-files are the same

 From: Geert Ribbers Subject: [h-e-w] RE: How to check if 2 windows-files are the same Date: Tue, 16 Sep 2003 13:35:20 +0200

Hi.

2 questions.

1. (file-exists-p "") yields t.
Does this make sense or is it a bug?

2. Can anyone tell me how I can see in elisp that (e.g.)
c:\data\users\geert\.emacs and z:\.emacs are the same file (and that
c:\data\users\geert and z:\ are the same directory)?

Emacs itself doesn't see this standard, coz it opens 2 separate buffers.

I tried by checking file-attributes, and it seemed to work, but then I
discovered that e.g. for c:\ and z:\ all the file-attributes are the
same.

Windows XP, Gnu Emacs 21.3.1

Thanks, Geert