From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0G7xEC9w0l6OXwAA0tVLHw (envelope-from ) for ; Sat, 30 May 2020 14:39:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6FGlDC9w0l51AQAAbx9fmQ (envelope-from ) for ; Sat, 30 May 2020 14:39:43 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ACD52940308 for ; Sat, 30 May 2020 14:39:42 +0000 (UTC) Received: from localhost ([::1]:45560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jf2eD-0005fN-M8 for larch@yhetil.org; Sat, 30 May 2020 10:39:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jf2do-0005et-Cb for emacs-orgmode@gnu.org; Sat, 30 May 2020 10:39:16 -0400 Received: from confino.investici.org ([212.103.72.250]:52403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jf2dm-00081l-Qe for emacs-orgmode@gnu.org; Sat, 30 May 2020 10:39:16 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 5D24221213; Sat, 30 May 2020 14:39:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anche.no; s=stigmate; t=1590849551; bh=q0vb7LcpGdg3XKRj0WihtSnPJRaxvffdxwmxQ1ljaQY=; h=Subject:From:To:References:Date:In-Reply-To:From; b=mv3LGYUIbjef5vEuI2uAGKlvRxwlFDoat0lmRy6xprD55OGapb6S3ZsmGSoQuYumr lzK3DGQPtIKw38i63fpg/VDYzVGKlrGoIqVO7ouoCr6YS56w1WAL3c3HKlELwbYmib fJaL2I6of2/l6tJyAMo7oxKoftKNUFQs776JbSfE= Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: mariotomo@inventati.org) by localhost (Postfix) with ESMTPSA id EF0CD211D6; Sat, 30 May 2020 14:39:07 +0000 (UTC) Subject: Re: `with` as a list. From: Mario Frasca To: Kyle Meyer , emacs-orgmode@gnu.org References: <656b815f-9e38-e68c-b7a3-091f6f3d36bf@anche.no> <87tuzyueli.fsf@kyleam.com> Message-ID: <4b29e5c7-fd0e-0250-6c83-36fe40e663da@anche.no> Date: Sat, 30 May 2020 09:38:57 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------6F0218258AE45221A8FF34E0" Content-Language: en-US Received-SPF: pass client-ip=212.103.72.250; envelope-from=mario@anche.no; helo=confino.investici.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/30 09:49:15 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=anche.no header.s=stigmate header.b=mv3LGYUI; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: affrzBXRfJ/w This is a multi-part message in MIME format. --------------6F0218258AE45221A8FF34E0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 30/05/2020 09:23, Mario Frasca wrote: >> The code above looks fine to me.  Another option would be to use >> number-sequence and then filter out the ind value. > > no, that would break functionality: I need to keep the given order. ah, no, sorry, you are totally right here.  I'll see if using number-sequence makes the code shorter. --------------6F0218258AE45221A8FF34E0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 30/05/2020 09:23, Mario Frasca wrote:
The code above looks fine to me.  Another option would be to use
number-sequence and then filter out the ind value.

no, that would break functionality: I need to keep the given order.
ah, no, sorry, you are totally right here.  I'll see if using number-sequence makes the code shorter.
--------------6F0218258AE45221A8FF34E0--