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: Splitting the input string in interactive Date: Thu, 05 Sep 2024 12:54:23 +0000 Message-ID: <3Q6LSj1_5awef2-pxI68lVDJFZMH6txZEzMo7B_A5txYblqB29fB4BQE9oFedWVqUxGIdOq53MLrAb5a-9YYDt3v7PRxmNDgF8lWW11Oeqs=@protonmail.com> References: 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="11458"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Heime via Users list for the GNU Emacs text editor To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 05 14:55:12 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 1smC0z-0002kR-Q8 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 05 Sep 2024 14:55:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smC0T-0001yt-Jf; Thu, 05 Sep 2024 08:54:37 -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 1smC0P-0001yS-4E for help-gnu-emacs@gnu.org; Thu, 05 Sep 2024 08:54:33 -0400 Original-Received: from mail-40130.protonmail.ch ([185.70.40.130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smC0M-0000je-N7 for help-gnu-emacs@gnu.org; Thu, 05 Sep 2024 08:54:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1725540867; x=1725800067; bh=tgU9u+IVy6Dn2IN80oZyQw89d1wl2A4K6XKJTGId7eg=; 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=xAW87fEu9vP+MRLlMogwglRM1NtKjeaLdVM6nafpuOZRU2zkjbgSC2WtiyOxgdYlT 0cJNVm9ziGKCo70juxTBBKxNDgZyoF1h+jGZ7IYqQp5U0Pcr87uAFfAQRCFcrCaCjQ P62TrUu3DX6Z+7vgsJf0R+X4FuRVq4bP8Zm3ExCM6XPJ1To9pDPRQzDfnv3fKuceqC MO9NB50+C88mM8CaGMusHZLShmVUE4jVL4n2gSZ+v/2cJ7lICUvdr5+qBa98NhAOjp F+8bg2E0xXDPDjDrPeFuQotJHaQiZSWQ5eFXFGU+5ruj0Ouq+YOIrj+jlWxXEW177d OF6ajlRN5W/kw== In-Reply-To: Feedback-ID: 57735886:user:proton X-Pm-Message-ID: a0e576ac458c4daacd5b83058be5d61d109b0682 Received-SPF: pass client-ip=185.70.40.130; envelope-from=heimeborgia@protonmail.com; helo=mail-40130.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, T_SCC_BODY_TEXT_LINE=-0.01 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:147920 Archived-At: On Friday, September 6th, 2024 at 12:36 AM, tomas@tuxteam.de wrote: > On Thu, Sep 05, 2024 at 12:31:21PM +0000, Heime wrote: >=20 > > On Friday, September 6th, 2024 at 12:21 AM, tomas@tuxteam.de tomas@tuxt= eam.de wrote: > >=20 > > > On Thu, Sep 05, 2024 at 12:04:18PM +0000, Heime wrote: > > >=20 > > > > Why do I encounter problems when splitting the input string > > > > in interactive ? > > >=20 > > > Have you read interactive's docstring? > >=20 > > I did. The argument of =E2=80=98interactive=E2=80=99 is a string contai= ning a code > > letter followed optionally by a prompt. >=20 >=20 > Exactly. And (concat ... ...) is not a string. It's an expression, that, > when evaluated, yields a string. >=20 > What is the fourth word in interactive's doc string? >=20 > > To pass several arguments to > > the command, concatenate the individual strings, separating them by > > newline characters. >=20 >=20 > You have to concatenate them: you might solve that riddle if/when you > answer the question above. So it must be a hardwired string. Not very convenient for multiple user values. It would be a good change if the string could be constructed with concat or with a variable.