From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Case Newsgroups: gmane.emacs.help Subject: Elisp Tutorial dumb question -- but I thought I better doublecheck ?? Date: Tue, 24 Apr 2007 12:23:01 -0400 Message-ID: <1177431781.3373.8.camel@CASE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177432017 9514 80.91.229.12 (24 Apr 2007 16:26:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2007 16:26:57 +0000 (UTC) To: EMACS List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 18:26:55 2007 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 1HgNqx-0000vr-9H for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Apr 2007 18:26:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgNwT-0003Dn-SP for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Apr 2007 12:32:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HgNwF-0003C6-Pp for help-gnu-emacs@gnu.org; Tue, 24 Apr 2007 12:32:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HgNwD-0003AO-Cy for help-gnu-emacs@gnu.org; Tue, 24 Apr 2007 12:32:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgNwD-0003AB-3l for help-gnu-emacs@gnu.org; Tue, 24 Apr 2007 12:32:21 -0400 Original-Received: from smtp101.rog.mail.re2.yahoo.com ([206.190.36.79]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HgNqf-0008VA-Sm for help-gnu-emacs@gnu.org; Tue, 24 Apr 2007 12:26:38 -0400 Original-Received: (qmail 75000 invoked from network); 24 Apr 2007 16:26:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:Subject:From:To:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=6ARxXFpGIju8D62hywoxs9aHczAAmWDrp3bymEwwq4lGVO4ob2sMKoIx74KwEJhpHylReUnNDGSnZT9HlpuvG8w08+o0vBKvPGq9khlHP2fAa4QIjZldBTKFah8drmdieZiKj1nzHnf87T3upsxIw7rMNQa4gzEo2+J1ifNvTOI= ; Original-Received: from unknown (HELO ?192.168.1.3?) (billlinux@rogers.com@74.104.51.86 with plain) by smtp101.rog.mail.re2.yahoo.com with SMTP; 24 Apr 2007 16:26:33 -0000 X-YMail-OSG: f7h2GL0VM1nE_tQQPFzFBZXZBKby9X797s3.n.Xw.FFDlheUD3Upe76yR0Z7y5Te_Q-- X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) X-detected-kernel: Genre and OS details not recognized. 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:43096 Archived-At: Hi; I am working my way through the elisp tutorial at :http://www.linuxselfhelp.com/gnu/emacs-lisp-intro/html_mono/emacs-lisp-intro.html#Writing%20Defuns Section 3.3 on defuns gives an algorithm for the basic defun as: defun (defun function-name (arguments ... ) "optional-documentation ..." (interactive argument-passing-info) body ... ) and later gives an algorithm for the lambda anonymous function as: C.4.3 A lambda Expression: Useful Anonymity (lambda (arg-variables...) [documentation-string] [interactive-declaration] body-forms...) The differences seem trivial, but can I re-write the lambda algorithm in terms of the defun algorithm for myself such that: lambda (lambda (arguments ... ) "optional-documentation ..." (interactive argument-passing-info) body ... ) or would I be missing some significant difference ? -- Regards Bill