From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: add-hook versus custom-set-variables Date: Thu, 29 Dec 2005 14:12:40 -0500 Message-ID: <873bkb4t14.fsf-monnier+emacs@gnu.org> References: <24044.1135811115@olgas.newt.com> <87irt87fkp.fsf-monnier+emacs@gnu.org> <871wzwcppm.fsf@olgas.newt.com> <87k6dn6fz6.fsf-monnier+emacs@gnu.org> <21285.1135850735@olgas.newt.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1135883649 1557 80.91.229.2 (29 Dec 2005 19:14:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Dec 2005 19:14:09 +0000 (UTC) Cc: "Davide G. M. Salvetti" , Romain Francoise Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 29 20:14:07 2005 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 1Es3Dx-0005TB-Mf for ged-emacs-devel@m.gmane.org; Thu, 29 Dec 2005 20:14:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Es3FK-0000ai-1b for ged-emacs-devel@m.gmane.org; Thu, 29 Dec 2005 14:15:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Es3E0-0008Pv-51 for emacs-devel@gnu.org; Thu, 29 Dec 2005 14:14:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Es3Dz-0008Pa-8T for emacs-devel@gnu.org; Thu, 29 Dec 2005 14:14:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Es3Dz-0008PV-4J for emacs-devel@gnu.org; Thu, 29 Dec 2005 14:14:07 -0500 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Es3EN-0006fj-EI for emacs-devel@gnu.org; Thu, 29 Dec 2005 14:14:31 -0500 Original-Received: from alfajor ([67.71.26.159]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20051229191240.KAZP25777.tomts25-srv.bellnexxia.net@alfajor>; Thu, 29 Dec 2005 14:12:40 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id A9D63D7697; Thu, 29 Dec 2005 14:12:40 -0500 (EST) Original-To: emacs-devel@gnu.org In-Reply-To: <21285.1135850735@olgas.newt.com> (Bill Wohler's message of "Thu, 29 Dec 2005 02:05:35 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Originating-IP: [0] 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:48505 Archived-At: >> The evaluation of a form (A B C) can follow the following two paths: >> >> - if it's a macro: >> >> (eval (macrocall A B C)) >> >> - if it's a function >> >> (funcall A (eval B) (eval C)) >> >> Note how the function cannot delay the evaluation of its arguments. > Thanks for the explanation. There's a lot of strange things in > elisp--mostly around compilation and evaluation--that I don't understand > and every little bit helps. Maybe another reading of these sections in > the elisp manual will make more sense now. Actually this difference between macros and functions applies to 99% of all languages. Stefan