* No directory-files-and-attributes in XEmacs (was Re: CVS update of gnus/lisp (gnus-agent.el))
[not found] <E1C5Yf1-0000gc-00@quimby.gnus.org>
@ 2004-09-10 1:28 ` Katsumi Yamaoka
2004-09-10 3:15 ` No directory-files-and-attributes in XEmacs Kevin Greiner
0 siblings, 1 reply; 2+ messages in thread
From: Katsumi Yamaoka @ 2004-09-10 1:28 UTC (permalink / raw)
Cc: ding
>>>>> 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)))))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: No directory-files-and-attributes in XEmacs
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
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Greiner @ 2004-09-10 3:15 UTC (permalink / raw)
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)))))
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-10 3:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[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 ` No directory-files-and-attributes in XEmacs Kevin Greiner
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).