From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert Euler" Newsgroups: gmane.emacs.devel Subject: Macro vs Function Date: Wed, 12 Apr 2006 16:22:20 +0800 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1144830165 24477 80.91.229.2 (12 Apr 2006 08:22:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Apr 2006 08:22:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 12 10:22:43 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FTacY-0002w5-GE for ged-emacs-devel@m.gmane.org; Wed, 12 Apr 2006 10:22:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTacX-0000lB-QD for ged-emacs-devel@m.gmane.org; Wed, 12 Apr 2006 04:22:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FTacK-0000ks-Av for emacs-devel@gnu.org; Wed, 12 Apr 2006 04:22:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FTacI-0000kU-EH for emacs-devel@gnu.org; Wed, 12 Apr 2006 04:22:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTacI-0000kN-9W for emacs-devel@gnu.org; Wed, 12 Apr 2006 04:22:22 -0400 Original-Received: from [64.4.26.22] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FTahL-0005fj-FT for emacs-devel@gnu.org; Wed, 12 Apr 2006 04:27:35 -0400 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 12 Apr 2006 01:22:21 -0700 Original-Received: from 64.4.26.200 by by112fd.bay112.hotmail.msn.com with HTTP; Wed, 12 Apr 2006 08:22:20 GMT X-Originating-IP: [202.165.107.100] X-Originating-Email: [herberteuler@hotmail.com] X-Sender: herberteuler@hotmail.com Original-To: emacs-devel@gnu.org X-OriginalArrivalTime: 12 Apr 2006 08:22:21.0115 (UTC) FILETIME=[382328B0:01C65E0A] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52737 Archived-At: Hello, After reading defmacro and eval in eval.c, I conclude that, in Emacs Lisp, if I substitute "defmacro" at the beginning of definition of a macro with "defun" and quote each argument in the call the behavior of code will not be altered. Is this correct? And, is it correct for other Lisp implementations? Thanks in advance. Regards, Guanpeng Xu _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/