From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "" Newsgroups: gmane.emacs.help Subject: apply or Date: Fri, 1 Apr 2005 03:30:58 -0500 (EST) Message-ID: <20050401083058.C7EE53D01@xprdmailfe4.nwk.excite.com> Reply-To: puzio1@excite.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112345427 13287 80.91.229.2 (1 Apr 2005 08:50:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Apr 2005 08:50:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 01 10:50:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DHHqx-0006zE-7b for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Apr 2005 10:50:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DHI7o-0005xo-UM for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Apr 2005 04:07:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DHHz7-0001lp-N6 for help-gnu-emacs@gnu.org; Fri, 01 Apr 2005 03:58:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DHHz2-0001jq-B0 for help-gnu-emacs@gnu.org; Fri, 01 Apr 2005 03:58:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DHHy1-0000ej-4k for help-gnu-emacs@gnu.org; Fri, 01 Apr 2005 03:57:25 -0500 Original-Received: from [207.159.120.55] (helo=excite.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DHHYS-00005I-Ss for help-gnu-emacs@gnu.org; Fri, 01 Apr 2005 03:31:00 -0500 Original-Received: by xprdmailfe4.nwk.excite.com (Postfix, from userid 110) id C7EE53D01; Fri, 1 Apr 2005 03:30:58 -0500 (EST) Original-To: help-gnu-emacs@gnu.org Original-Received: from [70.111.109.146] by xprdmailfe4.nwk.excite.com via HTTP; Fri, 01 Apr 2005 03:30:58 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = cd8853ca02078b92579a51dcb7b33009 X-Sender: puzio1@excite.com X-Mailer: PHP 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:25331 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25331 I noticed that it is not possible to feed logical connectives to "apply" as, for instance, the following examples (apply 'or '(t nil t nil)) (apply 'and '(t nil t nil)) in emacs LISP because "or" and "and" are special forms as opposed to functions. When I try these examples, I recieve the error message invalid-function # Whilst I can work around this difficulty using "member" or using "eval" and "cons", I wonder if there is a way of doing what I originally intended and directly feeding logical connectives to "apply" (or, for that matter, other functions which take a function as an argument). _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web!