From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: lambda an (interactive) function but not a command Date: Tue, 19 Mar 2019 02:17:33 +0100 Message-ID: <87mulrr7bm.fsf@web.de> References: <86k1gvemjp.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="43263"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 19 02:18:07 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h63OJ-000B9Z-8i for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Mar 2019 02:18:07 +0100 Original-Received: from localhost ([127.0.0.1]:49828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h63OI-0004D4-36 for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Mar 2019 21:18:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h63O2-0004Cp-4H for help-gnu-emacs@gnu.org; Mon, 18 Mar 2019 21:17:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h63O1-0007pT-2l for help-gnu-emacs@gnu.org; Mon, 18 Mar 2019 21:17:50 -0400 Original-Received: from mout.web.de ([212.227.15.14]:34955) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h63Nr-0007fr-Bq for help-gnu-emacs@gnu.org; Mon, 18 Mar 2019 21:17:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1552958254; bh=J8OLBk8CC7QtfOJ9zOletQBdJhDAU9X+07EnOoUS91Y=; h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To; b=N+5o/ZdwMtaI+U1vkskW9B74wGldICPYd2pI8+W+L4O/2dI3s9HvJo0omQhq24HaN jSKxZALrmF9mo9K5Aiiw9/AwOF4IliKx5Pt/2+52Wu45/7j3xzi5ZspmXYFJYqpi4U ZijOdo8I/S78eXUDkxxEIQZ0VCKnzXMTOZ3Bd2tM= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([88.67.111.211]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MQNjQ-1hZjKz3Q4a-00Tkax; Tue, 19 Mar 2019 02:17:33 +0100 In-Reply-To: <86k1gvemjp.fsf@zoho.eu> (Emanuel Berg's message of "Tue, 19 Mar 2019 01:27:06 +0100") X-Provags-ID: V03:K1:/W081SNGN/UeQlBg1B9iLTjBMAoYEseHijG8WGcnX2SKPx6fY7n tDqnV3MjVmis1uFcHbVzaeVuZ9EA7wnACtMusurSapdsFxaJcQBj/Ec29cQoNAwRQYJLEmz vHaLYJhYUy4wQ0yR8q+mq29P4COF/KjbikxIB2gWD6w8c2ZlFSslOORxEuvQJ4Xy/kBE+zq xHqRN0x7qSl+JQaVulTww== X-UI-Out-Filterresults: notjunk:1;V03:K0:Auo7H2OR/i8=:SRhY0hiOr5pLeT4zfiVHb5 cTg+I8VP55chOkACVPypRjp7Mhpa3B6hv2U2UvvEaSRVV7UB2c7NgAcETY+o4XCrGrL5uYWk5 R9q8b/Dx743pJwu0Abrrtrz621cmqSQFJWDow2gUZ50WJ3zW69Y2D/hubOAUlFTXmfSXp5TKM RdLVsxCJOvWCKrGkuxLckdC+BX7C7E/bCknOcfS/nckh3GrObRlRETstpOX+fjMpa9MW2JAzz lX5V60+reea72PiAHTHq+W8a9u9kllmiPAe7E67ho8wdtLpwsLEoDLWm4xkhg+DrXR2UnqKS9 J/QCSRLp2HsN1JQea8IduwRvmCahyN8nc4gYdlTRO2J40towH2jSEiJkho5cTzG7jN7huXA2v WPf+xeP2L4EAaxHzhMgY0EasbuPbA0VNxguZ95og1jvxg6UV/XyUtPhml0L+hs8kVE1+uB7q6 K3mv9UcK8ov/QEJS2rAaARysoE3XYPiTRpNdB1jV37MqWMEvpSi+bxCTb6FWZcEylkV7qwtSL nmnkgAnbvN1migwinC9QX0hhAACh3GqE+7ZMTvSRwwPKy0Qcuj+kxo4Qx8x7Y9kPJVaUv641E fRHbvb+pAy5Uiqd0jFsLmJEkIkIDrl96y9MuunOcXrGXQ35fbV0Ar9qe1Y5Hzoy8XdnocEiZq rOYlRrpCQr79kW5DetGblWI26hUL3KYM0cJIm8az+Gb9YGDCLa49vKV+gxpqqhvUvvBh6vrSc 9m4qyeqH/M0q9yAr20dc/2upHdWTUFHsfbk2zoqihnMa5YrpbFKx+1YBa7eTCDhjAavB9q9n X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.14 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:119664 Archived-At: Emanuel Berg writes: > In my config file for the Gnus summary > buffer [1] I have this [2]. What I wonder is, > for the "F" key to invoke the > `gnus-summary-followup-inline' function, for > such a simple one-liner, why can't one use > a lambda for that, i.e. > > (lambda (interactive) (gnus-summary-mail-forward 4)) If you want this to work, you should add an argument list. An interactive lambda also needs one. In the above function, (interactive) is specified as argument list, so an interactive spec is missing and it is not a command. Michael.