From: Deric Bytes <dericbytes@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: directory-files function - strange bug
Date: Sat, 18 Jan 2014 03:41:53 -0800 (PST) [thread overview]
Message-ID: <7ac380fd-06dd-4184-9aa0-43da0fa6a58d@googlegroups.com> (raw)
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).
next reply other threads:[~2014-01-18 11:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-18 11:41 Deric Bytes [this message]
2014-01-18 11:44 ` directory-files function - strange bug Deric Bytes
2014-01-18 17:12 ` Eli Zaretskii
[not found] ` <mailman.12257.1390065177.10748.help-gnu-emacs@gnu.org>
2014-01-18 17:49 ` Deric Bytes
2014-01-18 17:59 ` Eli Zaretskii
[not found] ` <mailman.12263.1390068072.10748.help-gnu-emacs@gnu.org>
2014-01-18 18:37 ` Deric Bytes
2014-01-18 18:49 ` Eli Zaretskii
[not found] ` <mailman.12267.1390070984.10748.help-gnu-emacs@gnu.org>
2014-01-19 1:41 ` Deric Bytes
2014-01-19 3:47 ` Eli Zaretskii
[not found] ` <mailman.12289.1390103243.10748.help-gnu-emacs@gnu.org>
2014-01-19 12:51 ` Deric Bytes
2014-01-19 15:49 ` Eli Zaretskii
[not found] ` <mailman.12317.1390146590.10748.help-gnu-emacs@gnu.org>
2014-01-22 2:44 ` Deric Bytes
2014-01-22 3:49 ` Eli Zaretskii
[not found] ` <mailman.12547.1390362586.10748.help-gnu-emacs@gnu.org>
2014-01-22 4:21 ` Deric Bytes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7ac380fd-06dd-4184-9aa0-43da0fa6a58d@googlegroups.com \
--to=dericbytes@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.