From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Cassou Newsgroups: gmane.emacs.bugs Subject: bug#57548: Add new function `seq-positions' Date: Sat, 03 Sep 2022 10:02:33 +0200 Message-ID: <877d2kubqe.fsf@cassou.me> References: <87edwtty5v.fsf@cassou.me> <877d2l5j4l.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35462"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57548@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 03 10:03:16 2022 Return-path: Envelope-to: geb-bug-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 1oUO7X-00093l-G8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 10:03:15 +0200 Original-Received: from localhost ([::1]:44728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUO7U-0004yr-Vj for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 04:03:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUO7K-0004y0-K1 for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 04:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUO7K-0004Nm-Ar for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 04:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUO7K-0000R4-6a for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 04:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Damien Cassou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Sep 2022 08:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57548 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 57548-submit@debbugs.gnu.org id=B57548.16621921571630 (code B ref 57548); Sat, 03 Sep 2022 08:03:02 +0000 Original-Received: (at 57548) by debbugs.gnu.org; 3 Sep 2022 08:02:37 +0000 Original-Received: from localhost ([127.0.0.1]:40903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUO6u-0000QE-SU for submit@debbugs.gnu.org; Sat, 03 Sep 2022 04:02:37 -0400 Original-Received: from mail.choca.pics ([80.67.172.235]:40694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUO6s-0000Q6-Tm for 57548@debbugs.gnu.org; Sat, 03 Sep 2022 04:02:35 -0400 Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 7A005181942B2; Sat, 3 Sep 2022 10:02:34 +0200 (CEST) Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id pVaMa7vJKdMR; Sat, 3 Sep 2022 10:02:34 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 1DC5B181942BF; Sat, 3 Sep 2022 10:02:34 +0200 (CEST) X-Virus-Scanned: amavisd-new at choca.pics Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id w2TcNb1Wa2SN; Sat, 3 Sep 2022 10:02:34 +0200 (CEST) Original-Received: from localhost (153.226.95.79.rev.sfr.net [79.95.226.153]) by mail.choca.pics (Postfix) with ESMTPSA id DCC8E181942B2; Sat, 3 Sep 2022 10:02:33 +0200 (CEST) In-Reply-To: <877d2l5j4l.fsf@web.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:241374 Archived-At: Michael Heerdegen writes: > Could this maybe (simpler) call `seq-do-indexed'? excellent suggestion, thank you. I applied it in the second version of the patch. I'm sorry I didn't mention it there. -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill