From: Van L <van@scratch.space>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: 26.1 emacs-mac 7.2; map key to interactive lisp function (command) with an argument
Date: Tue, 23 Oct 2018 08:55:47 +1100 [thread overview]
Message-ID: <E12A84F1-304E-44E8-870E-6BA631D9CE6B@scratch.space> (raw)
In-Reply-To: <83ftwyts53.fsf@gnu.org>
>> At the outset my goal was to get rid of lines 6 to 9, 12 to 15.
>
> Why would you want that?
I guess in the jargon here
I was trying to refactor
just a very little bit.
> Copy/paste is cheap, much cheaper than your
> time (assuming you need to do something other than play with Lisp
> forms). It's possible, but it's advanced stuff, so beginners are well
> advised to steer away from that.
>
> The "advanced" way of doing what you wanted was explained by Michael:
> use a lambda-function
I will that figure out one day. Probably not today or tomorrow.
The word lambda isn’t an everyday, day-to-day word in my voabc.
My ultimate goal is to figure out how to write a lisp program,
to write a lisp program, which writes a lisp program.
On its own.
prev parent reply other threads:[~2018-10-22 21:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-21 4:18 26.1 emacs-mac 7.2; map key to interactive lisp function (command) with an argument Van L
2018-10-21 12:26 ` Eli Zaretskii
2018-10-21 20:33 ` Michael Heerdegen
2018-10-21 23:00 ` Van L
2018-10-22 6:25 ` Eli Zaretskii
2018-10-22 21:55 ` Van L [this message]
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=E12A84F1-304E-44E8-870E-6BA631D9CE6B@scratch.space \
--to=van@scratch.space \
--cc=help-gnu-emacs@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.