From: Kevin Greiner <kevin.greiner@vignette.com>
Subject: Re: No directory-files-and-attributes in XEmacs
Date: Thu, 09 Sep 2004 22:15:44 -0500 [thread overview]
Message-ID: <uisamervj.fsf@vignette.com> (raw)
In-Reply-To: <b9yvfemc3ol.fsf_-_@jpl.org>
Done.
Kevin
Katsumi Yamaoka <yamaoka@jpl.org> writes:
>>>>>> In <E1C5Yf1-0000gc-00@quimby.gnus.org> Kevin Greiner wrote:
>
>> Date: Friday, September 10, 2004 @ 01:49:03
>> Author: cvs
>> Path: /usr/local/cvsroot/gnus/lisp
>
>> Modified: gnus-agent.el
>
>> * gnus-agent.el (gnus-agent-cat-groups): rewrote avoiding defsetf
>> to avoid run-time CL dependencies.
>
> [...]
>
>> (gnus-agent-update-files-total-fetched-for): Use
>> directory-files-and-attributes to improve performance.
>
> Unfortunately, XEmacs complained about it as follows:
>
> While compiling the end of the data in file gnus/lisp/gnus-agent.el:
> ** the function directory-files-and-attributes is not known to be defined.
>
> It is indeed not available in XEmacs. How about adding
> something like the following?
>
> (eval-and-compile
> (unless (fboundp 'directory-files-and-attributes)
> (defun directory-files-and-attributes (directory
> &optional full match nosort)
> (let (result)
> (dolist (file (directory-files directory full match nosort))
> (push (cons file (file-attributes file)) result))
> (nreverse result)))))
prev parent reply other threads:[~2004-09-10 3:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1C5Yf1-0000gc-00@quimby.gnus.org>
2004-09-10 1:28 ` No directory-files-and-attributes in XEmacs (was Re: CVS update of gnus/lisp (gnus-agent.el)) Katsumi Yamaoka
2004-09-10 3:15 ` Kevin Greiner [this message]
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=uisamervj.fsf@vignette.com \
--to=kevin.greiner@vignette.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).