From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tahsin Alam Newsgroups: gmane.emacs.help Subject: newbie questions: why doesn't ((lambda (x) (x 2)) (lambda (n) (+ n 3))) work in elisp? Date: Fri, 30 May 2008 13:03:49 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; Boundary="0__=0ABBFECADFCE20C98f9e8a93df938690918c0ABBFECADFCE20C9" X-Trace: ger.gmane.org 1212181940 19377 80.91.229.12 (30 May 2008 21:12:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 May 2008 21:12:20 +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 May 30 23:13:02 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 1K2BuG-0001Vs-HV for geh-help-gnu-emacs@m.gmane.org; Fri, 30 May 2008 23:13:00 +0200 Original-Received: from localhost ([127.0.0.1]:35528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2BtU-0007MD-O7 for geh-help-gnu-emacs@m.gmane.org; Fri, 30 May 2008 17:12:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K281H-00078u-Q1 for help-gnu-emacs@gnu.org; Fri, 30 May 2008 13:03:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K281F-00078i-Dt for help-gnu-emacs@gnu.org; Fri, 30 May 2008 13:03:58 -0400 Original-Received: from [199.232.76.173] (port=60214 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K281F-00078f-7R for help-gnu-emacs@gnu.org; Fri, 30 May 2008 13:03:57 -0400 Original-Received: from nyjinimrp9.us.db.com ([160.83.90.14]:53918) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K281E-0004bC-IN for help-gnu-emacs@gnu.org; Fri, 30 May 2008 13:03:56 -0400 Original-Received: from nyjinimrp9.us.db.com (localhost [127.0.0.1]) by nyjinimrp9.us.db.com (8.14.2/8.14.2) with ESMTP id m4UH3s3w010367 for ; Fri, 30 May 2008 13:03:54 -0400 Original-Received: from sdbo1006.db.com (nycinmlp5726.us.db.com [10.152.34.204]) by nyjinimrp9.us.db.com (8.14.2/8.14.2) with ESMTP id m4UH3qVl010308 for ; Fri, 30 May 2008 13:03:53 -0400 X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 X-MIMETrack: Serialize by Router on sdbo1006/DBNA/DeuBaInt/DeuBa(Release 6.5.6FP1 HF46|July 18, 2007) at 05/30/2008 01:03:53 PM Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-Mailman-Approved-At: Fri, 30 May 2008 17:09:59 -0400 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:54372 Archived-At: --0__=0ABBFECADFCE20C98f9e8a93df938690918c0ABBFECADFCE20C9 Content-type: text/plain; charset=US-ASCII As the subject says - why does the following expression give error when I try to evaluate it in the *scratch* buffer? ((lambda (x) (x 2)) (lambda (n) (+ n 3))) --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. --0__=0ABBFECADFCE20C98f9e8a93df938690918c0ABBFECADFCE20C9 Content-type: text/html; charset=US-ASCII Content-Disposition: inline

As the subject says - why does the following expression give error when I try to evaluate it in the *scratch* buffer?

((lambda (x) (x 2)) (lambda (n) (+ n 3)))


---

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
--0__=0ABBFECADFCE20C98f9e8a93df938690918c0ABBFECADFCE20C9--