help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

directory-files function - strange bug


From: Deric Bytes
Subject: directory-files function - strange bug
Date: Sat, 18 Jan 2014 03:41:53 -0800 (PST)
User-agent: G2/1.0

I have downloaded a web page and the filename had a circumflex (–)  in it.

On one machine I can run

(directory-files "f:/cached-files/" nil nil t))

and it works.

I have another machine using an identical setup (file structure, programs & 
versions).

If I copy the directory to dropbox. I can run directory-files on both machines 
and it works.

If I move the directory to the main hard drive but not the c: partition (i.e. 
f:/) it returns "" instead of directory  with circumflex.

If I then copy the directory to the c: drive it works.

If I cut the circumflex character and paste it into emacs and then back into 
the folder name the code will work on drive f:

Pasting the circumflex character into emacs gave different results for the copy 
on original machine (–) and new machine (â\200\223).

€“





reply via email to

[Prev in Thread] Current Thread [Next in Thread]