From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: pietru@caramail.com Newsgroups: gmane.emacs.help Subject: Passing a list to an interactive function Date: Sat, 19 Dec 2020 07:26:56 +0100 Message-ID: References: <87mtyafh54.fsf@web.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="34926"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 19 07:27:34 2020 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 1kqViI-0008zo-2w for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 07:27:34 +0100 Original-Received: from localhost ([::1]:57994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqViH-0007O9-4S for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 01:27:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqVhl-0007Nq-52 for help-gnu-emacs@gnu.org; Sat, 19 Dec 2020 01:27:01 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:43685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqVhi-0000Pb-C9 for help-gnu-emacs@gnu.org; Sat, 19 Dec 2020 01:27:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1608359216; bh=cReg7mcakgOzKyNpkyhhivrA/Yph0YMOKUcC2GNqUYs=; h=X-UI-Sender-Class:From:Cc:Subject:Date:In-Reply-To:References; b=TS12HHkaI502zBifDrbsKMWq7NXIZ4yk0ClU3tjZKdsnipIM7JP+bfv3YYP+xl1kT 91Dln/s1UPWMR88rFKx4xwVQIBQCj9H73IXDX0SoIKf+ls0rSaphTtfVLBC1W6toNQ X5XClEtUiFXlIfvIOJ/eTodus2Hz2mVRiVIkV6xM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs06.server.lan [172.19.170.174]) (via HTTP); Sat, 19 Dec 2020 07:26:56 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87mtyafh54.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:JJnLTrEnJF3Ur9S+1X9W4FE1FsfsI6Me49OK9bbna1MFfkMoz6AJUY4sQw7nrC+J5DIZt 9LWdlLtoiF+89iRPdZmEI6KSdqQbZJBAK28Neg+BeVe/dTYeaoklGqC85T0ISljig6CURS3DxQCa yME13u6CSohe3eUKu6K37gw0DC2OOgaJhS+eHRpJNjbSlCslDnrTujriztakCEtqMcTwRZ/0DyB6 VF1MdibtIhByls8q3YmgtYaaw+Ta0O8qwQEtAO6eFUjiJ04S69aOaSfe7leH79+3/SXTPIkYr+G0 7Y= X-UI-Out-Filterresults: notjunk:1;V03:K0:QC+IYLE0yCk=:fQPJMxFsL0SqTgkEQZPr2H Yn1AgWJ6dIx8LCZGj6rT9E1nB1Tx33sJNH2ySajlOoHOXz3yJfINA36/dRCnozFdESKYDT0dz FJOq1rMW/C4+Rus0cPJKskNmW8yRqn2A49Zkv58ohCRaS8aBPybKqG7/vRyTxsbE/KY6mXSSW 94BVil6whKfqUlq0OWw4klHJRNnnc3pyXKVhfhkpbKP0IhDoYpqJw6iUGGqfQh/t9hakqQW+1 V3AIT+siqlCk1f/mS2rChPavSqlTuIsG6dhoZuMXJ8qMM9pqb/U0CiJOlefsVyIo7FaJuTUxj XV5YCYCxzapy46Hu4muuG24VcVw/AqLi0yVlmu+REp7EI2wReD39n0mbjxfFWrNPqoj2iLtrG /2/8Jyzk4KT9RC7ya1ZJFaU4Ip2ynCromdle+akkLuw0PF5o+yekBuGJvbBnBlvpG55PoswjI BeU8RkYlJAVRXelNdxttwbSQ5LHMr5ePpzIhdZNQP1filWhNlLKgxIuHnsgh7472GX5o7ejAo KibZGOYJjlnNzcONne93yqO4MH5SkDKvOUpdK+evqzGGJ4ZCbHLH7IGf6WXANqlcwaTD9EgHT NNNtVnbLe3/uc= Received-SPF: pass client-ip=212.227.17.20; envelope-from=pietru@caramail.com; helo=mout.gmx.net 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, FREEMAIL_FROM=0.001, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126561 Archived-At: Have got everything working now. Yes, had checked and start at 0. Thanks > Sent: Saturday, December 19, 2020 at 11:53 AM > From: "Michael Heerdegen" > To: help-gnu-emacs@gnu.org > Subject: Re: Passing a list to an interactive function > > pietru@caramail.com writes: > > > ;;(setq ta (nth 1 tlist)) > > ;;(setq tb (nth 2 tlist)) > > ;;(setq tc (nth 3 tlist)) > > You do not just miss the fact that the list element number index starts > from 0? > > Michael. > > >