From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: add-hook Date: Thu, 07 Jun 2007 09:16:55 +0200 Organization: sometimes Message-ID: <87tztktes8.fsf@ambire.localdomain> References: <87bqft5no4.fsf@moley.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181202051 757 80.91.229.12 (7 Jun 2007 07:40:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Jun 2007 07:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 07 09:40:50 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 1HwCbx-0005zw-QR for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jun 2007 09:40:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HwCbw-0004wI-Dr for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jun 2007 03:40:48 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: ppp-102-33.21-151.libero.it Original-X-Trace: quimby.gnus.org 1181200616 1724 151.21.33.102 (7 Jun 2007 07:16:56 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 7 Jun 2007 07:16:56 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:T8SaJ2N7NfWFQsmGKrC6abqQWjc= Original-Xref: shelby.stanford.edu gnu.emacs.help:149154 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:44737 Archived-At: () Sebastian Tennant () Thu, 07 Jun 2007 03:20:33 +0300 Perhaps someone could explain why it is lambda functions don't need to be quoted in this context? in elisp, the form `(lambda ARGS BODY)' is self-quoting in all contexts, like numbers and strings. sometimes you see: (function (lambda ...)) #'(lambda ...) these serve as hints to the byte compiler that the form should be compiled. on the other hand, if you see: '(lambda ...) then that tells the compiler to treat the form as data (DON'T compile). if you aren't byte compiling, quoting is strictly optional. thi