all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Wiegley <jwiegley@gmail.com>
To: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: Why is this thing (isearch-search-fun) coded like this?
Date: Mon, 07 Dec 2015 13:20:03 -0800	[thread overview]
Message-ID: <m2oae2gdmk.fsf@newartisans.com> (raw)
In-Reply-To: <20151207211212.GE1904@acm.fritz.box> (Alan Mackenzie's message of "Mon, 7 Dec 2015 21:12:12 +0000")

>>>>> Alan Mackenzie <acm@muc.de> writes:

> As an alternative, isearch-search-fun-default could simply return a named
> function. Even better, such a named function could simply be, and be
> returned directly from `isearch-search-fun' without all the superfluous
> funcalling.

It does look like it should just return a function symbol, rather than a
lambda. It's not even a closure.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



  reply	other threads:[~2015-12-07 21:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-07 21:12 Why is this thing (isearch-search-fun) coded like this? Alan Mackenzie
2015-12-07 21:20 ` John Wiegley [this message]
2015-12-07 21:32 ` Artur Malabarba

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=m2oae2gdmk.fsf@newartisans.com \
    --to=jwiegley@gmail.com \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    /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.