From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject: Re: (interactive) arguments Date: Sun, 5 Jan 2020 02:44:00 +0900 Message-ID: References: <7DEBD428-8AC8-4633-A0C0-A8F2B862BE82@traduction-libre.org> <084E75E0-B343-4747-AE7E-F0DCF8B7F992@traduction-libre.org> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="52164"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 04 18:45:56 2020 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1innUp-000DOV-GJ for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Jan 2020 18:45:55 +0100 Original-Received: from localhost ([::1]:35726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1innUo-0001fW-9w for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Jan 2020 12:45:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56985) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1innU0-00016h-BP for help-gnu-emacs@gnu.org; Sat, 04 Jan 2020 12:45:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1innTz-0004tz-BP for help-gnu-emacs@gnu.org; Sat, 04 Jan 2020 12:45:04 -0500 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:39637) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1innTz-0004rX-5U for help-gnu-emacs@gnu.org; Sat, 04 Jan 2020 12:45:03 -0500 X-Originating-IP: 182.251.138.155 Original-Received: from [172.20.10.2] (KD182251138155.au-net.ne.jp [182.251.138.155]) (Authenticated sender: jean.christophe.helary@traduction-libre.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 48402E0002 for ; Sat, 4 Jan 2020 17:44:28 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3608.40.2.2.4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.196 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:122151 Archived-At: > On Jan 5, 2020, at 1:28, Stefan Monnier = wrote: >=20 >> Now, when I use the "expression" version, it looks like the arguments = are >> not assigned to variables as they are input, so for ex, I can't use >> a default value for the input based on the first input... >=20 > That was my whole point of describing it as "expression" rather than > "list": :) > it is really an arbitrary Elisp *expression* whose evaluation > simply returns the list of arguments to pass to the function. Indeed, as the doc says. I just got stuck at the "should be a form that = is evaluated to get a list of arguments to pass to the command". >=20 > So it doesn't have to look like >=20 > (list ...) >=20 > but can be anything else like >=20 > (my-function-to-return-the-list-of-args) >=20 > or > (let* ((x1 e1) (x2 e2) ...) (append e3 e4)) > or > ... >=20 >=20 > -- Stefan >=20 >=20 >=20 Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune