From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Checking if all values of a list are true Date: 11 Jul 2008 11:56:16 GMT Message-ID: References: <2d973602-87f8-4d16-a031-a99bab267a36@y21g2000hsf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1215780100 17895 80.91.229.12 (11 Jul 2008 12:41:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2008 12:41:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 11 14:42:28 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KHHx3-0000oO-VI for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Jul 2008 14:42:18 +0200 Original-Received: from localhost ([127.0.0.1]:34938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHHwC-0003PP-56 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Jul 2008 08:41:24 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-X-Trace: individual.net +DkZhm7GaC14em7KuyCW3wFD/iCGjnobKjGoEdqN9SRWlE9oLb Cancel-Lock: sha1:ferbAuJC85RQl4wbgX/mh2wpy0Y= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/0.9.8.1 (Linux) Original-Xref: news.stanford.edu gnu.emacs.help:160085 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55430 Archived-At: Nordlöw wrote: > It would be even better if Emacs already had a function typically > named any-p(arg-list) that returned t if all values in arg-list are > non-nil. (defmacro all-true (lst) `(and ,@lst) AND is not a function (or a macro) but a special form. in my emacs (GNU Emacs 23.0.60.1), (functionp and) returns nil, not t. which is presumably why functions such as reduce, funcall, mapcar etc. do not accept it as an argument. -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)