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: 26.1 emacs-mac 7.2; map key to interactive lisp function (command) with an argument Date: Sun, 21 Oct 2018 15:18:39 +1100 Message-ID: <50DFDFDA-C01D-49AA-97FB-30DF4DE9BB46@scratch.space> 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 1540095455 31174 195.159.176.226 (21 Oct 2018 04:17:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2018 04:17:35 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 21 06:17:31 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 1gE5BD-0007zg-3M for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Oct 2018 06:17:31 +0200 Original-Received: from localhost ([::1]:57418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gE5DJ-0007mv-N9 for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Oct 2018 00:19:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gE5CX-0007kh-5O for help-gnu-emacs@gnu.org; Sun, 21 Oct 2018 00:18:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gE5CT-0006M6-Fx for help-gnu-emacs@gnu.org; Sun, 21 Oct 2018 00:18:53 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:56133) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gE5CS-0006Ko-Tm for help-gnu-emacs@gnu.org; Sun, 21 Oct 2018 00:18:49 -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 D9F8CE0006 for ; Sun, 21 Oct 2018 04:18:45 +0000 (UTC) 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:118378 Archived-At: Hello, I am unable to have the following work. The elisp documentation has for me the problem of tl;dr and after = experimenting with a few paragraphs and failing I want to ask how to get = this done. I wonder sometimes if the documentation is obtuse by design = to steal time. =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 (defun x-setface-height-i (number) =E2=94=82 "Face height is set to NUMBER." =E2=94=82 (interactive "nInsert number: ") =E2=94=82 (set-face-attribute 'default (selected-frame) :height = number)) =E2=94=82=20 =E2=94=82 ;; (info "(elisp) Interactive Call") =E2=94=82 (global-set-key (kbd "C-c o") (funcall-interactively = x-setface-height-i 202)) =E2=94=82 (global-set-key (kbd "C-c O") (funcall-interactively = x-setface-height-i 256)) =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80