From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: Re: Gnus always loads cl
Date: Tue, 15 Oct 2002 15:54:16 +0200 [thread overview]
Message-ID: <87hefnu7sn.fsf@crybaby.cs.uni-dortmund.de> (raw)
In-Reply-To: <yotl7kgk6oec.fsf@jpl.org>
Katsumi Yamaoka <yamaoka@jpl.org> writes:
> It is correct if you mean there might be puthash provided by
> other than cl even if Emacs 20 is running. And that form will
> also load the other cl run-time functions, gethash,
> hash-table-count, etc., which are required by spam-stat.el.
> Probably, it should strictly be made as follows:
>
> (unless (and (fboundp 'gethash) (fboundp 'hash-table-count)
> (fboundp 'make-hash-table) (fboundp 'mapc)
> (fboundp 'puthash))
> (require 'cl)
> (unless (fboundp 'puthash)
> (defalias 'puthash 'cl-puthash)))
>
> However, if such a thing is required, my will inclines to
> forsake Emacs 20 users. Do you have any other ideas?
Why forsake Emacs 20 users? The code is not that terrible :-)
And then, maybe it's sufficient to test some of those functions
instead of all of them -- we expect them to be defined in the same
file anyway, right?
kai
--
~/.signature is: umop ap!sdn (Frank Nobis)
next prev parent reply other threads:[~2002-10-15 13:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-08 11:24 Katsumi Yamaoka
2002-10-10 11:12 ` Katsumi Yamaoka
2002-10-14 9:15 ` Katsumi Yamaoka
2002-10-14 19:24 ` Kai Großjohann
2002-10-14 22:46 ` Katsumi Yamaoka
2002-10-15 6:41 ` Kai Großjohann
2002-10-15 9:29 ` Katsumi Yamaoka
2002-10-15 13:54 ` Kai Großjohann [this message]
2002-10-15 15:46 ` Katsumi
2002-10-15 19:27 ` Kai Großjohann
2002-10-16 12:11 ` Katsumi Yamaoka
2002-10-15 21:34 ` Alex Schroeder
2002-12-29 0:18 ` Lars Magne Ingebrigtsen
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=87hefnu7sn.fsf@crybaby.cs.uni-dortmund.de \
--to=kai.grossjohann@cs.uni-dortmund.de \
/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).