all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	Artur Malabarba <bruce.connor.am@gmail.com>,
	emacs-devel@gnu.org
Subject: Re: [elpa] master 68bcf86 2/4: package/names: :group can be given a list
Date: Tue, 13 Jan 2015 02:29:35 +0900	[thread overview]
Message-ID: <87zj9nykjk.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <87a91om0dv.fsf@yahoo.fr>

Nicolas Richard writes:
 > "Stephen J. Turnbull" <stephen@xemacs.org> writes:
 > 
 > > Stefan Monnier writes:
 > >
 > >  > Just like we don't like '(lambda ...), we don't like '(... (lambda ...)
 > >  > ...) either (tho it's still found at many places in Emacs's source code
 > >  > since you can't "grep" for it quite as easily).  Better use
 > >  > `(... ,(lambda ...) ...) instead, so the lambda is byte-compiled.  
 > >
 > > Doesn't Emacs support #', and wouldn't that be more readable?
 > 
 > I don't think it will help :
 > `(... ,#'(lambda ...) ...) doesn't look more readable and
 > #'(... (lambda ...) ...) would be wrong

I'm suggesting

    '(... #'(lambda ...) ...)

to tell the byte-compiler that the lambda expression is a function,
and can be replaced by an equivalent function (ie, the byte-compiled
version).



  reply	other threads:[~2015-01-12 17:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150112112953.11913.47601@vcs.savannah.gnu.org>
     [not found] ` <E1YAdBy-00037L-O2@vcs.savannah.gnu.org>
2015-01-12 15:21   ` [elpa] master 68bcf86 2/4: package/names: :group can be given a list Stefan Monnier
2015-01-12 16:11     ` Stephen J. Turnbull
2015-01-12 16:25       ` Nicolas Richard
2015-01-12 17:29         ` Stephen J. Turnbull [this message]
2015-01-12 18:13           ` David Kastrup
2015-01-12 20:30             ` Artur Malabarba
2015-01-12 21:41               ` David Kastrup
2015-01-13  5:53                 ` Stephen J. Turnbull
2015-01-13  9:48                   ` David Kastrup
2015-01-14 11:51                 ` Artur Malabarba
2015-01-14 12:03                   ` David Kastrup
2015-01-13 18:46               ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zj9nykjk.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=bruce.connor.am@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=theonewiththeevillook@yahoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.