From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Apprent bug in directory-files-and-attributes
Date: Tue, 17 Feb 2004 16:20:36 -0700 [thread overview]
Message-ID: <4032A1C4.6030007@yahoo.com> (raw)
In-Reply-To: 200402162019.i1GKJbWo001490@ushabti.sfbay.sun.com
Whitfield Diffie wrote:
> I have a case in which directory-files-and-attributes returns a list
> in which some entries are of the form (<filename>), i.e., the attributes
> portion is nil. I believe the filename portion is correct.
>
> Unfortunately, this is a directory of files with very ill-behaved
> names. The names were manufactured from the `from addresses' of incoming
> spam. As far as I can tell, however, the directory itself is well formed
> and the files actually exist.
>
> I conjecture that diectory-files-and-attributes has been implemented by
> calling directory-files and then applying file-attributes to each element
> of this list. Certainly file-attributes (or file-exists-p) fails to find
> the files under any encoding I can think to apply.
Including mule-utf-8? I saved your from-logs-1.tar attachment and
visited it in Emacs 21.3 (emacs -q --no-site-file) via `C-x RET c
mule-utf-8 RET C-x C-f'. All the file names except the last (the one
that ends with "mms02es.mms.us.syntegra.com") were readable.
--
Kevin Rodgers
next prev parent reply other threads:[~2004-02-17 23:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-16 20:19 Apprent bug in directory-files-and-attributes Whitfield Diffie
2004-02-17 23:20 ` Kevin Rodgers [this message]
2004-02-22 22:42 ` Richard Stallman
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=4032A1C4.6030007@yahoo.com \
--to=ihs_4664@yahoo.com \
/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.