From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime Newsgroups: gmane.emacs.help Subject: Re: Interactive with two arguments Date: Sun, 23 Jun 2024 09:31:50 +0000 Message-ID: References: <1ou67z7KzJVwNd3n_c_kLhO_xZR-mdeSxoUgHWDY9oy5fqvzHApVtisetUx2Q12qj25ut9sFxB9yT1cLwQM1cl57DpqhUZ4h8xYS7-CW-HU=@protonmail.com> <868qywfcu7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36398"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 23 11:32:41 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sLJaS-0009Hh-TE for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 23 Jun 2024 11:32:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLJZr-0006Qf-7A; Sun, 23 Jun 2024 05:32:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLJZl-0006OU-36 for help-gnu-emacs@gnu.org; Sun, 23 Jun 2024 05:31:57 -0400 Original-Received: from mail-40137.protonmail.ch ([185.70.40.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLJZj-0001Tv-C8 for help-gnu-emacs@gnu.org; Sun, 23 Jun 2024 05:31:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1719135112; x=1719394312; bh=mGfHsgX47Y8WHfC1j4n4lcXC6fraIPXXy2C7pJQ6gzQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=CXOehaDY+NGBUDFI4U9QZYt1zRyx5MEF62IaN2IPoGUBhbiIYOOgUCC6oK8B1h1tz VNcpznqXLXAcLWT4oiA3vze029BioxBmu6BKIobFbaLdRjCwI39XZHm0qVlZfd6JtG BUZ46Vq8/Cp1KwbaVYDrnkTIv7/8t7R4Ury85ZbmN+a8fmJQHWlUSwym+8lueTYuaq CHMnCDb2SSf8/KDS9VIDu6/c2Skwq4799DRQCyjls4SOnp6zcEpQtCO6nZ6mqPuFOJ LfznT0C7OgS3qr3BsDVOLVbMKw7XO2HlFyyNVvj036sManrpYk6HSJ++ehmsyVEr8W a4T582TjUsObw== In-Reply-To: <868qywfcu7.fsf@gnu.org> Feedback-ID: 57735886:user:proton X-Pm-Message-ID: b942f0e573612de3962a8467588d133d03a6a4ce Received-SPF: pass client-ip=185.70.40.137; envelope-from=heimeborgia@protonmail.com; helo=mail-40137.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146951 Archived-At: On Sunday, June 23rd, 2024 at 5:27 AM, Eli Zaretskii wrote: > > Date: Sat, 22 Jun 2024 23:56:13 +0000 > > From: Heime heimeborgia@protonmail.com > >=20 > > Why does the following give me > >=20 > > wrong-number-of-arguments ((t) (face-family face-height) > >=20 > > (defun falfont (face-family face-height) > >=20 > > (interactive > > (list > > (let ( (cseq '("Wargames" "URW Chancery L" "UnPilgia" "UnPilgi" > > "Tibetan Machine Uni" "Lobster Two" "eufm10" > > "Century Schoolbook L" "Bold Oblique")) ) > > (completing-read " Face Family: " cseq nil t "Bold Oblique")) > >=20 > > (let ( (hseq '("340" "320" "300" "280" "260" "240" "220" "200" > > "180" "160" "140" "120" "100" "80")) ) > > (completing-read "Face Height (in 1/10 pt): " hseq nil t "80")) )) ) >=20 >=20 > It doesn't signal an error here. What did you type at the two > prompts? I figured there was an instance of a missing second argument when the function was called. So the error.