From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Van L Newsgroups: gmane.emacs.help 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 Message-ID: References: <50DFDFDA-C01D-49AA-97FB-30DF4DE9BB46@scratch.space> <878t2r11m5.fsf@web.de> <34075097-4888-4CA1-84BE-23F1380EF41E@scratch.space> <83ftwyts53.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1540245264 17753 195.159.176.226 (22 Oct 2018 21:54:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2018 21:54:24 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 22 23:54:20 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gEi9T-0004Wp-Ud for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Oct 2018 23:54:20 +0200 Original-Received: from localhost ([::1]:37204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEiBa-0002vX-6Q for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Oct 2018 17:56:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEiB5-0002vF-Cs for help-gnu-emacs@gnu.org; Mon, 22 Oct 2018 17:56:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEiB1-0001t3-DK for help-gnu-emacs@gnu.org; Mon, 22 Oct 2018 17:55:59 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:49381) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gEiB1-0001qi-68 for help-gnu-emacs@gnu.org; Mon, 22 Oct 2018 17:55:55 -0400 X-Originating-IP: 14.203.214.4 Original-Received: from epi.local (14-203-214-4.tpgi.com.au [14.203.214.4]) (Authenticated sender: van@scratch.space) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id C27C4E0002 for ; Mon, 22 Oct 2018 21:55:52 +0000 (UTC) In-Reply-To: <83ftwyts53.fsf@gnu.org> X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.196 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118387 Archived-At: >> At the outset my goal was to get rid of lines 6 to 9, 12 to 15. >=20 > Why would you want that? I guess in the jargon here=20 I was trying to refactor=20 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. >=20 > 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=E2=80=99t an everyday, day-to-day word in my voabc. My ultimate goal is to figure out how to write a lisp program,=20 to write a lisp program, which writes a lisp program.=20 On its own.=