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: Choosing invokation of list in an interactive clause Date: Sat, 06 Apr 2024 14:52:53 +0000 Message-ID: References: <87le5tywkq.fsf@gmx.de> 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="34200"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Albinus , Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 06 16:53:30 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 1rt7QA-0008gG-Hm for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 06 Apr 2024 16:53:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rt7Po-0001BB-Ti; Sat, 06 Apr 2024 10:53:08 -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 1rt7Pm-0001Am-I1 for help-gnu-emacs@gnu.org; Sat, 06 Apr 2024 10:53:07 -0400 Original-Received: from mail-40132.protonmail.ch ([185.70.40.132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rt7Pk-0006pK-Dy for help-gnu-emacs@gnu.org; Sat, 06 Apr 2024 10:53:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1712415181; x=1712674381; bh=a9EFzypW0aMl4t8i4aDuLr8qST8aW1vH4OLHpxPGmQY=; 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=WRkSaz6G7xorzFFxGQypCEqGQ63bY78nPBUmqmn8FeJO2vhn3jji+BqF9N93bth0l izFfbqIeoNqDLRMkBNqJJy5K4W/A3s5wdMf769okqBzUtBerpkm82yEIjmLacHCg8p qO8rgqI0jHTvL+41FCnWwQrGcaj//+nu82OsYyQOU9eTNa4RB7xIu2hrhaIq5YDHh2 xSuD3As4iEbTnJGFTJDzniTG4ZTPw+fEIa/hUZKBfI6bNvTopQ1fVxYCc6b+vAXjFu SibJcnltXL9oyhSs7CigrmZyVQ/ZGCiQ344ZpoO/jjNGBZR2CgskkurGENlETTEPtK jmmz28tL14kwA== In-Reply-To: Feedback-ID: 57735886:user:proton Received-SPF: pass client-ip=185.70.40.132; envelope-from=heimeborgia@protonmail.com; helo=mail-40132.protonmail.ch X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 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, TO_EQ_FM_DIRECT_MX=0.466 autolearn=no 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:146253 Archived-At: On Friday, April 5th, 2024 at 4:02 AM, Heime w= rote: > On Friday, April 5th, 2024 at 3:30 AM, Michael Albinus michael.albinus@gm= x.de wrote: >=20 > > Heime heimeborgia@protonmail.com writes: > >=20 > > Hi, > >=20 > > > Have made an interactive function that uses two parameter options. > > >=20 > > > I can either invoke list inside the let construct, or as alternative > > > outside it. What would be the sensible one to choose ? > >=20 > > The second alternative is wrong. It returns a list with one element, th= e > > result of the inner let-construct. > >=20 > > Best regards, Michael. >=20 >=20 > I want the user to input two selections either "Symbol" or "Command", tha= n any > one of the elements in cseq. Storing in variables grafm and seltr, which = will > them be used as parameters to the command do-this-and-that >=20 > (do-this-and-that grafm seltr) Does an interactive function that requires multiple user inputs need the same amount of variables in the argument list of the defun ? =20 And would one also need the interactive clause to use a list containing=20 the same number of entities ? =20 (defun boavus-latex-zilindr (actm) "Insert Latex Structural Construct." (interactive