Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 73F56431FBD for ; Sun, 18 Nov 2012 18:51:07 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.798 X-Spam-Level: X-Spam-Status: No, score=-0.798 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LkuBT-aLrYTx for ; Sun, 18 Nov 2012 18:51:06 -0800 (PST) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id AC1EB431FB6 for ; Sun, 18 Nov 2012 18:51:06 -0800 (PST) Received: by mail-vb0-f53.google.com with SMTP id fc21so4864275vbb.26 for ; Sun, 18 Nov 2012 18:51:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=9JVbuiFzWIr2N7MabL0rR+K/11XvNdJ9f/CfHapmZH8=; b=CwbkU4fjG3usHG9IbQRG128jM+b8DXvJY73UwToCIyvnPybxwpJ1tCeECfUbL72J0D IKhZlhT7BVzDi/w/MqRWpriwRFrUQGK25mZevt/eLQ+cn5CEJ5adnOaZLHCMcR42ITIy zLItxL2xaX7fHzzNK4RJvT9CPiQ8eUsHAvfzCnvQMkmbqfNl2DdmhEFkO8DOZUiaumKn jyYurWZzrgC8aG+vZVyqaWQQ6HXYBLooN044RmRBBglX1q/zHo5gEufSHeDcGX1xcKNB dvxe/TIUJfieNQxYgtE+fMdLxfMJlIoRyrBHFcHYXb09htP86PA5VzyXJsisRHIr87HX 1t0w== Received: by 10.220.220.5 with SMTP id hw5mr16968905vcb.53.1353293464930; Sun, 18 Nov 2012 18:51:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.247.209 with HTTP; Sun, 18 Nov 2012 18:50:44 -0800 (PST) From: Ethan Date: Sun, 18 Nov 2012 21:50:44 -0500 Message-ID: Subject: emacs's function special form To: Aaron Ecay Content-Type: multipart/alternative; boundary=14dae9cfcc02410a3104ced030a9 Cc: notmuch mailing list X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 02:51:07 -0000 --14dae9cfcc02410a3104ced030a9 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Sun, Nov 18, 2012 at 7:10 PM, Aaron Ecay wrote: > 2012ko azaroak 18an, Ethan Glasser-Camp-ek idatzi zuen: > > > > - You might want to use #' on lambdas. > > This is actually unnecessary =96 as the info node "(elisp) Anonymous > Functions" says, the forms with and without #' are equivalent. The > current notmuch style is not to have #' on lambdas (that is, there are 0 > instances of #'(lambda ...) in the code base). IMO that=92s correct: > the unnecessary #' is just line-noise-ish. > OK, I think I understand. Thanks for the clarification. I found that info node very confusing. It says that #' has effects "assuming function-object is a valid lambda expression". So why put #' on variables that are the names of functions? In fact, outside names of functions, when are you supposed to use #' at all= ? Ethan --14dae9cfcc02410a3104ced030a9 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
On Sun, Nov 18, 2012 at 7:10 PM, Aaron Ecay <= aaronecay@gmail.com> wrote:
2012ko azaroak 18an, Ethan Glasser-Camp-ek idatzi zuen:
>
> - You might want to use #' on lambdas.

This is actually unnecessary =96 as the info node "(elisp) Anony= mous
Functions" says, the forms with and without #' are equivalent. =A0= The
current notmuch style is not to have #' on lambdas (that is, there are = 0
instances of #'(lambda ...) in the code base). =A0IMO that=92s correct:=
the unnecessary #' is just line-noise-ish.

OK,= I think I understand. Thanks for the clarification. I found that info node= very confusing.

It says that #' has effects "assuming func= tion-object is a valid lambda expression". So why put #' on variab= les that are the names of functions?

In fact, outside names of functions, when are you supposed to use #'= ; at all?

Ethan

--14dae9cfcc02410a3104ced030a9--