From unknown Sun Jun 15 08:38:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63586: 29.x: dotimes (possible) problem Resent-From: balducci@units.it Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 May 2023 15:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 63586@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16845090761854 (code B ref -1); Fri, 19 May 2023 15:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 May 2023 15:11:16 +0000 Received: from localhost ([127.0.0.1]:57113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q01lD-0000Tq-Un for submit@debbugs.gnu.org; Fri, 19 May 2023 11:11:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:45998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q01lB-0000Ti-SF for submit@debbugs.gnu.org; Fri, 19 May 2023 11:11:14 -0400 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 1q01lB-0006Z8-JF for bug-gnu-emacs@gnu.org; Fri, 19 May 2023 11:11:13 -0400 Received: from dschgrazlin2.univ.trieste.it ([140.105.55.81] helo=dschgrazlin2.units.it) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q01l9-0003ZM-KD for bug-gnu-emacs@gnu.org; Fri, 19 May 2023 11:11:13 -0400 Received: from dschgrazlin2.units.it (loopback [127.0.0.1]) by dschgrazlin2.units.it (8.17.1/8.17.1) with ESMTP id 34JFAihv004451 for ; Fri, 19 May 2023 17:10:44 +0200 From: balducci@units.it X-Mailer: MH-E 8.6+git; nmh 1.8; Emacs 29.0.91 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4449.1684509068.1@dschgrazlin2.units.it> Date: Fri, 19 May 2023 17:10:44 +0200 Message-ID: <4450.1684509068@dschgrazlin2.units.it> X-Greylist: inspected by milter-greylist-4.6.4 (dschgrazlin2.units.it [0.0.0.0]); Fri, 19 May 2023 17:10:44 +0200 (CEST) for IP:'127.0.0.1' DOMAIN:'loopback' HELO:'dschgrazlin2.units.it' FROM:'balducci@units.it' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (dschgrazlin2.units.it [0.0.0.0]); Fri, 19 May 2023 17:10:44 +0200 (CEST) Received-SPF: pass client-ip=140.105.55.81; envelope-from=balducci@units.it; helo=dschgrazlin2.units.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) hello the dotimes macro behaves differently in 29.x with respect to previous versions Basically: changing the value of the loop variable in the body of dotimes does not seem to have any effect, where for versions <29.x it used to. Here is a minimal stretch of dummy code clarifying the problem I'm reporting. emacs-29.0.91 (or 29.0.90) ========================== (dotimes (ii 10) (insert (format "%2d " ii)) (when (= ii 4)(setq ii 11)) ) ==> 0 1 2 3 4 5 6 7 8 9 emacs-28.2 (or any version <29.x) ================================= (dotimes (ii 10) (insert (format "%2d " ii)) (when (= ii 4)(setq ii 11)) ) ==> 0 1 2 3 4 The ability to jump out of the loop by pushing the loop variable over the upper limit is something that I happen to use in my scripts, so 29.x breaks them somehow Of course, there are very many other equivalent ways to accomplish the same result, but I don't see why this one shouldn't be supported (any longer) Is the changed behavior intentional? Am I missing some blatant point here? AFAICS, changing the value of the loop variable from inside the loop body is supported by any other language which I know about thank you very much in advance for any hint/feedback ciao -gabriele From unknown Sun Jun 15 08:38:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63586: 29.x: dotimes (possible) problem References: <4450.1684509068@dschgrazlin2.units.it> In-Reply-To: <4450.1684509068@dschgrazlin2.units.it> Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 May 2023 15:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: balducci@units.it Cc: Eli Zaretskii , Stefan Monnier , 63586@debbugs.gnu.org Received: via spool by 63586-submit@debbugs.gnu.org id=B63586.16845117027192 (code B ref 63586); Fri, 19 May 2023 15:55:02 +0000 Received: (at 63586) by debbugs.gnu.org; 19 May 2023 15:55:02 +0000 Received: from localhost ([127.0.0.1]:57209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q02RZ-0001rn-Gp for submit@debbugs.gnu.org; Fri, 19 May 2023 11:55:01 -0400 Received: from mail1447c50.megamailservers.eu ([91.136.14.47]:34988 helo=mail265c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q02RX-0001qo-G5 for 63586@debbugs.gnu.org; Fri, 19 May 2023 11:55:00 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1684511692; bh=/Wpep1aUiJz4p6PCHALZKfVYchYUk4Z60bvrKECvHsU=; h=From:Subject:Date:Cc:To:From; b=nuXR+kdwUZcg2hx+C+J3YQDaU+x1gTDvTa6YrJP8/aaRjUvpvMAHxnMSbVp0C9Aba QsotMxDxojWgJwlyLv4AYwYOBfavmC8LWjXgbu8g3oP4ACD9t5q9+bycagHL2THjYE vDk6JZNth/6VLnitLGX0aTIHfUCrYCz03971Iq6E= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail265c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 34JFsnt1086688; Fri, 19 May 2023 15:54:51 +0000 From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Message-Id: Date: Fri, 19 May 2023 17:54:48 +0200 X-Mailer: Apple Mail (2.3654.120.0.1.15) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeihedgleegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhtgfgggfukfffvefvofesthhqmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepudekueejlefgkeejjeegudevvefhgfekudeggedvfeejfefgleetjedtvedvhfeunecukfhppedukeekrdduhedtrdduieehrddvfeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudeihedrvdefhedphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohepgedprhgtphhtthhopegsrghlughutggtihesuhhnihhtshdrihhtpdhrtghpthhtohepieefheekieesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehmohhnnhhivghrsehirhhordhumhhonhhtrhgvrghlrdgtrg X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello Gabriele, > changing the value of the loop variable in the body of dotimes does = not seem to have any effect, where for versions <29.x it used to. Prior to Emacs 29, the `dotimes` macro expanded to different code = depending on whether lexical-binding was used or not, implicitly = permitting your practice of altering the loop counter in code using = dynamic binding. However, the macro was probably never intended to be used that way, and = your example does not work with lexical binding in any version as far as = I can tell. If you want to terminate your loop early, use catch/throw or a different = loop construct altogether: while, named-let, or cl-loop, just to name a = few. > changing the value of the loop variable from inside the loop > body is supported by any other language which I know about Then you should learn more languages! And you should use lexical-binding:t in all your elisp code. Always. From unknown Sun Jun 15 08:38:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63586: 29.x: dotimes (possible) problem Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 May 2023 16:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: balducci@units.it, Stefan Monnier , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: 63586@debbugs.gnu.org Received: via spool by 63586-submit@debbugs.gnu.org id=B63586.16845120087928 (code B ref 63586); Fri, 19 May 2023 16:01:02 +0000 Received: (at 63586) by debbugs.gnu.org; 19 May 2023 16:00:08 +0000 Received: from localhost ([127.0.0.1]:57214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q02WW-00023o-AQ for submit@debbugs.gnu.org; Fri, 19 May 2023 12:00:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q02WU-00021d-2T for 63586@debbugs.gnu.org; Fri, 19 May 2023 12:00:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q02WN-0003XA-HB; Fri, 19 May 2023 11:59:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=09iWKHt8xgHcKIcB8ue9HPtGu+WsSQZJGd16Hmngwe0=; b=Z3O9BMhkiSTM3B3X8gcb emrwDpu8nQMJS+oZRVN3Mxl93lszGdt3Ul4+JXa2KCiB5+E7jvoyPeP6HlrFH4KNi/kdJN08qUQBI r16F/U9wCN20hdRU87sfv5mMOWq9GwY/O7PhbNHRXZogN8XVQ6WNKBNHkn/fboD/xZOpto2x1Jl9c qywSfbUYM089L621Zcq1F4kJKGV7syUWeO9a0cMFaIZh1l394nBXnfsnu72CdLDu5g0lkl5oKuxvZ qypIEeGIAxF5Zh1VlVsF74pfX0n9rW2AyEl7ej+1srvaJdK91pNw0idNC7CI/8+swi30GuQT5TL3E zoo25QnBxkTEtQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q02WM-0003bi-Hg; Fri, 19 May 2023 11:59:59 -0400 Date: Fri, 19 May 2023 19:00:13 +0300 Message-Id: <83ednctipe.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <4450.1684509068@dschgrazlin2.units.it> (balducci@units.it) References: <4450.1684509068@dschgrazlin2.units.it> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: balducci@units.it > Date: Fri, 19 May 2023 17:10:44 +0200 > > the dotimes macro behaves differently in 29.x with respect to previous > versions > > Basically: changing the value of the loop variable in the body of > dotimes does not seem to have any effect, where for versions <29.x it > used to. > > Here is a minimal stretch of dummy code clarifying the problem I'm > reporting. > > emacs-29.0.91 (or 29.0.90) > ========================== > > (dotimes (ii 10) > (insert (format "%2d " ii)) > (when (= ii 4)(setq ii 11)) > ) > ==> 0 1 2 3 4 5 6 7 8 9 > > emacs-28.2 (or any version <29.x) > ================================= > > (dotimes (ii 10) > (insert (format "%2d " ii)) > (when (= ii 4)(setq ii 11)) > ) > ==> 0 1 2 3 4 I can only reproduce the behavior you see in 28.2 in Emacs 26.3. All the later versions, starting from 27.1, behave like Emacs 29 does. > The ability to jump out of the loop by pushing the loop variable over > the upper limit is something that I happen to use in my scripts, so > 29.x breaks them somehow > > Of course, there are very many other equivalent ways to > accomplish the same result, but I don't see why this one > shouldn't be supported (any longer) > > Is the changed behavior intentional? Am I missing some blatant point here? > > AFAICS, changing the value of the loop variable from inside the loop > body is supported by any other language which I know about Adding Stefan and Mattias who made changes in dotimes recently. From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 12:07:04 2023 Received: (at control) by debbugs.gnu.org; 19 May 2023 16:07:05 +0000 Received: from localhost ([127.0.0.1]:57241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q02dE-0002EV-Gh for submit@debbugs.gnu.org; Fri, 19 May 2023 12:07:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q02dB-0002Dn-Rf; Fri, 19 May 2023 12:07:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q02d5-0004y7-TR; Fri, 19 May 2023 12:06:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=OkFZR7pqQdfESD2fukN6j4n6eHcR0lrNr81PsLTibhg=; b=hc+vp0uhhvBH 5IUQ0FFoNuUT+H0mFf6GGXL9ooxQzgMINhjPd4onu3lwp/TGt8RdEeqSPp1rcGTfzpKIQfzusryIk oTjRCrtCxcbUy+9Gwsactj7fAyZGqpgqNJnYoFxro4Upmc6m76sJ/xzLUXofR0YLKmop30vqS0WOD pD38EQaEU+9tgdlaEMT6kv+jC987fUuOVZB3sH8VMwNIne/cW4/e+pao0jm9mYf47msh9QJ85l0Nt 5EBHFLUbX6iopNGxEl8TF1IMcky0tCLyL8upX6QJSgRmIiJhX9k4F7nmpy1dZDmGGtVjZoZq28NYK e2uaaYgC6ZXF9t1uJk7cGQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q02d5-00043T-Cs; Fri, 19 May 2023 12:06:55 -0400 Date: Fri, 19 May 2023 19:07:10 +0300 Message-Id: <83cz2wtidt.fsf@gnu.org> From: Eli Zaretskii To: balducci@dschgrazlin2.units.it In-Reply-To: <30876.1684486510@dschgrazlin2.units.it> (balducci@dschgrazlin2.units.it) Subject: Re: bug#63588: 29.x: dotimes (possible) problem References: <30876.1684486510@dschgrazlin2.units.it> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 63588@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 63588 63586 thanks > From: balducci@dschgrazlin2.units.it > Date: Fri, 19 May 2023 10:54:46 +0200 > > hello > > the dotimes macro behaves differently in 29.x with respect to previous > versions This is an exact duplicate of bug#63586 which you submitted recently. From unknown Sun Jun 15 08:38:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63586: 29.x: dotimes (possible) problem Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 May 2023 17:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , balducci@units.it, 63586@debbugs.gnu.org Received: via spool by 63586-submit@debbugs.gnu.org id=B63586.168451736526820 (code B ref 63586); Fri, 19 May 2023 17:30:02 +0000 Received: (at 63586) by debbugs.gnu.org; 19 May 2023 17:29:25 +0000 Received: from localhost ([127.0.0.1]:57312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q03uv-0006yV-7v for submit@debbugs.gnu.org; Fri, 19 May 2023 13:29:25 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:48739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q03us-0006yI-Fj for 63586@debbugs.gnu.org; Fri, 19 May 2023 13:29:22 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D2F951000E7; Fri, 19 May 2023 13:29:16 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8687C1000BE; Fri, 19 May 2023 13:29:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1684517355; bh=vf/ezHWEaIG72sV5q0kcHmn5Qn9rkKLPZ76sQT33O9c=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Qb3h4mkP4izwX0Ucdm1fLhPZJ65uQKyHf3CqhExHenrvlZLBlNwU/FbrE4OAq4kMA 2CWutpb2/9njSBSl0m8FBI3tCpss90HzL10yc+WHKj0OtnK6mYp6mV2mUv+7Zy3NFP YCo6lHx450xOk+IZyUtnFTknjrQqpwJOr+s2pgqFQK6s3kmWX9ZKwBISjIa0DpzF0w xJv7L3KItlr920bo9MAE4tvegRSJJ0ck7+3Edxa6IKVJXDEi+K/u9cQTGxumudjW+i pkWLAjxbPNwiqPT2pAuLjIKILgpsXZpmZRT4fh5yHoYxrug6QpV//EKNejgV9bpy9X tRQH4nxwCNZCA== Received: from alfajor (unknown [45.44.229.252]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2138C12039B; Fri, 19 May 2023 13:29:15 -0400 (EDT) From: Stefan Monnier In-Reply-To: <83ednctipe.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 May 2023 19:00:13 +0300") Message-ID: References: <4450.1684509068@dschgrazlin2.units.it> <83ednctipe.fsf@gnu.org> Date: Fri, 19 May 2023 13:29:14 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.055 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> Basically: changing the value of the loop variable in the body of >> dotimes does not seem to have any effect, It does, but only within the current iteration, because the variable is local to the iteration (each iteration gets a fresh new variable). >> where for versions <29.x it used to. Indeed it was changed last year for dynamically scoped ELisp to align it with the semantics used in the lexically scoped ELisp dialect (and thus simplify the macro). >> Here is a minimal stretch of dummy code clarifying the problem I'm >> reporting. >> >> emacs-29.0.91 (or 29.0.90) >> ========================== >> >> (dotimes (ii 10) >> (insert (format "%2d " ii)) >> (when (= ii 4)(setq ii 11)) >> ) >> ==> 0 1 2 3 4 5 6 7 8 9 >> >> emacs-28.2 (or any version <29.x) >> ================================= >> >> (dotimes (ii 10) >> (insert (format "%2d " ii)) >> (when (= ii 4)(setq ii 11)) >> ) >> ==> 0 1 2 3 4 > > I can only reproduce the behavior you see in 28.2 in Emacs 26.3. All > the later versions, starting from 27.1, behave like Emacs 29 does. AFAIK what the OP describes is new in Emacs-29 (commit c6c9dfc8670f5698634a8d5853853056ff928974). But the change only affects code that has not activated `lexical-binding`: for `lexical-binding`, the behavior has been with us "forever" (i.e. since Emacs-24, when `lexical-binding` was introduced). >> AFAICS, changing the value of the loop variable from inside the loop >> body is supported by any other language which I know about It's definitely not supported by Common Lisp, which explicitly allows both our old implementation and our new implementation (i.e. code like yours may or may not work depending on the CL implementation). Several other languages (starting with Pascal :-) either disallow or discourage modifying the iteration variable(s) inside the loop body. But in any case, the question is not whether it's a good idea or not: it used to happen to work and now it doesn't work any more. Maybe we should mention the change in etc/NEWS? Stefan From unknown Sun Jun 15 08:38:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63586: 29.x: dotimes (possible) problem Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 May 2023 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier , Eli Zaretskii Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , "balducci@units.it" , "63586@debbugs.gnu.org" <63586@debbugs.gnu.org> Received: via spool by 63586-submit@debbugs.gnu.org id=B63586.168451761527319 (code B ref 63586); Fri, 19 May 2023 17:34:02 +0000 Received: (at 63586) by debbugs.gnu.org; 19 May 2023 17:33:35 +0000 Received: from localhost ([127.0.0.1]:57326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q03yx-00076Z-Im for submit@debbugs.gnu.org; Fri, 19 May 2023 13:33:35 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:8908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q03yw-00076R-2Q for 63586@debbugs.gnu.org; Fri, 19 May 2023 13:33:35 -0400 Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34JFxWou007047; Fri, 19 May 2023 17:33:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=ViZv4YgyHBKSxRTBY3TwGTOYv2zbUDNbpoGygR4R1wM=; b=23qfywjSUeCdWTfdJRTsqaBRFBYOYzkk8yO05Eq/Er76yX/ry6oB1N9cGtCiHXkjXtkT Genq+scmV6i0MEeL9h9Cd8sZ8WMtN5K8ZpvYzBFYfci0DiNyr8PqWAVF+cccKKm8j7o6 6W+TStP012e/ecvhcPm+N2KYhTLJuFLHfQRsECl6yX9sS4ByDeeyui2DXccEh++Zf3hx QSfvXxyHY5pg5Dmu9Q/e+8/FsFdegEcdSie8ewrsaDcK6WB91+1gwm1a4a0drrSlVbDC NxGXG3hIczqo1M/xCItc72V3svaKbtTPzhfGkpVMzoCvEQL7e/48QD1defLTxapWkoj6 gw== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qj1fcb3xb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 19 May 2023 17:33:31 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 34JG14vQ040128; Fri, 19 May 2023 17:33:31 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2101.outbound.protection.outlook.com [104.47.70.101]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3qj1083tuq-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 19 May 2023 17:33:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LN7G0CGrtP7w/D3QJhrbUwbQyu+uIL4NYPHcDKzf8aR1cizdf7B6KVtJ4LFwYdfktEKAKoBa7qTs0ShaeQclwa/eGPrK3zuU9GFVMwbzXRcflzR21zGS14RlhHHbemCjfQttz1L4jC6/z/ILWith8WS36bxarJsHN7orTiFnspnePyW231clvHweCGU8qObRT3ELvRO6iGnqNPnDOmhHsrLyKWTVMS3yHcM+lHTmaWB79kVwmHVkzxXyEjHewu3Ky92VxpZz8owDscMystOpcYV1Tno5+GvGQaW7IZ3Z9oomEb0aOHK5+vxu6f7tQsO/xsbnuT2wFh69ZtjeELeYww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ViZv4YgyHBKSxRTBY3TwGTOYv2zbUDNbpoGygR4R1wM=; b=BaGKa9d7dITzLL27RwUVbUs0W5G/4lbqSxvnLQajJbMFVUA3u/G2ywJSiaZskEYJfomU3VrqzMR3tv05OcD7OHQaCgBKJgBFtR/SThMB8HddvzvDlJIm67c0b19tFmnMmH5T3hkv5heRptNBSbkfauCiS2ECtT0X0TCyIGYm/ZZqnN8jtpAd8RJcoeeHN8Q2y/SCBDHiLco7TqzTbB2rN9TaW+PwzFYyHkLogcep+jJLW/R9anzn2GCLK4L3+qsY0dSDmv3y4uQI0W91RGE3uTGNv1S8y2OWrP5j45Z8wpICnrIk7YaVj48flG0InkY9vfwsjUTW8vNyip9MSHK68Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ViZv4YgyHBKSxRTBY3TwGTOYv2zbUDNbpoGygR4R1wM=; b=fapo0PFEHdTSxySWDsauqf9R/1nuTBkB1eIZ08SrZZR5i2OtrxV/3UC7rQbu3GsiVa34cdbHfnAvW5ekB+pAiEve9LeJI/ylzWSivdPN5jNNlPgUg9ggR6zxHJscWp4K9DiXzyYSArZJ9EgPwo7ROvH5bNlSQapuJy543lqc/o0= Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by PH0PR10MB4440.namprd10.prod.outlook.com (2603:10b6:510:35::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.21; Fri, 19 May 2023 17:33:19 +0000 Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a995:2ae5:2745:24ff]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a995:2ae5:2745:24ff%6]) with mapi id 15.20.6411.020; Fri, 19 May 2023 17:33:19 +0000 From: Drew Adams Thread-Topic: [External] : bug#63586: 29.x: dotimes (possible) problem Thread-Index: AQHZineb6F/8eTZHqkWR5ecMn7+hza9h2vTQ Date: Fri, 19 May 2023 17:33:18 +0000 Message-ID: References: <4450.1684509068@dschgrazlin2.units.it> <83ednctipe.fsf@gnu.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|PH0PR10MB4440:EE_ x-ms-office365-filtering-correlation-id: 51488647-8f69-49db-faef-08db588f22c5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tAOu5qvMkN88c5/24QRv3dMoXSgg8Z7WJJ+g/7lUVe+LxOOLbkQXMd76kqgWITPptHiehOgtkH1LcUFftTnHB6gC69DAQf3uj4LeA4rWRt3y0Z/fTCP0lSNVPBeLPowx/dTiF58ty9LdQKXM6lqKNn3mV1keFSdKFbDtShQPuYdn6wpYKxOSV07KPRXmOQiztKg49OoUVMowVlfv4CtxqBOfCPSybsDBY5q8swW6BifcHTe8NZHxpx/MH31N/RDq/PEbyeRgp5aFCjxH9M5dJJKbyrQbKYGPVU+Pj5cbEv3Is9UizpB924hU+1+LVjv40zhNvEYrO/QGxhMuiTw8amFp0AnvYNu6wJRWxw3zoF/VfM1F+MBViFzVhVeKysNafb6kL3qP3v+8cNG4XQBFyKVgE2d6H/06a7vDBugI5kJ5cbyQqSThvRut7uzH6QFy3rPJYEvhJOOB2Dc+Hh3iWlraClgq++bqzqwxIbpPclmNmHZvyLFiM1lh88VvrSMDzSzHekmlzgHWteTK5B+7BJl/9kFMEAJXN4u0poQhX8BhV+8Qcy8JTABjh26EFqRsY6mkm1/7CO5p2hWvN8biuN8T2zBRqg5NdisonhhloUBCUWAPlUwn3hBI0GJFvRu8 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(366004)(376002)(136003)(39860400002)(346002)(396003)(451199021)(64756008)(66946007)(66476007)(66556008)(66446008)(4326008)(478600001)(76116006)(110136005)(316002)(296002)(54906003)(558084003)(33656002)(86362001)(38070700005)(26005)(186003)(6506007)(9686003)(52536014)(41300700001)(5660300002)(44832011)(8936002)(71200400001)(8676002)(2906002)(7696005)(55016003)(122000001)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: M3bIl56Jo/XWUwP5gmTXSDp7PXrnvvwhwji7sl7oiUibIxZmuSvq0i4x+YSCjhags2vCAiZR8+hwtOklDW9RvZ104Cas2hNiqmjSvz3yxPaaSg/PwMf0Lejw+nOIbJTC8NSTQIMnyaPSi9G4H2mt8SnkvI+ZLVEzjmPzfeL/ByAHi3dZ6yRLed3+x4m/IBc3k6e6CHr0mwjXdvyAabFHoUqzAtcqzv4kRlx7Q3y6Gy+LveUFXOyRwFTM2ysw86O7hCq5Fe2QzrxLiHd1Pan58orsLrDi4TnA6QkkEdMH0LrGrqS58ujyjErMlytdxozUJgNLWcXhXY9DqFJK1lluX0IOfB3v7SFI0qWByDjsudaO8l29lUB90jndv3MQWLZWWt9Q+vpmlWLPEit+ctU9ps4A1YIvaLz8t1ny9GFsWNDG+HHJk3Nfr+RbKC2sYTWPaX2ErMeU4OzLkahURdjfidpEy7mFMuhY+sm3jRNVzWfZKvgT66ADbkKmkOF4/bC1Eb7XZwG4RKN9KUPWLWDAK4GK0KLqKNSxbT4tcFWalFJ0kbRJsdctoXglOJ905GjWb+RgKIH7J6rM3g2uVF2X0JywCFvPn5dkd1ACQ9VZrbJ/yfWMRg+3Jce5AnZptB4pVgIN4A+93OxVW3U81867nr26ZPuj+jEHTwEhZWnnx1ZYGq0PV//SF2UR7GWvt/vwxlAI3KLCOK0ZdITiLTWfywcUgOXrolXDlnCHxrRlgO7c0MdWXFUxcYb3fSFkmtMCKoOZ1mGsEEsisr8pugamjtng34JLSafU1eKS7waMe1GnjzI0TdxKF7abe6o9iPiYHeS8uXoHGwOInqL/iNZ2fEq6qGlrVOSsQ862lA+9KZoqBw9ybGWmC5sovEBmH7NwYtoS46bxQ59so4Kja/nsqQdNQ27k1isWf0MUcdh42qrhtaXKI6aPjbX1L0Me9LTPY27755p4vJqEQ1ToTTmJ52uEPFAioCkQBp/Rfr2mfjQKt+MMK9FPTWXiOLmtmUd8xONMv/6OT/C0KIKtlvXZcpnUmSGnz8sAUX+vQiDjZ3wCDiubDCixIHMQEoDxBhLd6gA0rNs6m7vn7Df0+b21tYlZ8D6k7VBL7CV02synYdBSrXlpocQRPHOtuI5ybvt1ldvcLbfR/OJINQBlHlKxFOfcTWxS1VJ5kkS4XOXnRiUhKtmrBX7XR6XhAiVeibGZ0m897J2nB1XI7x2Ng8YlmY9L9eCh/5y6WnZV4H02VjqGwiGDzGDF1YYoSSpc0VaQs6ka57Z8/DE3aVI7w0SpRdQW8voIBoesoJe2NkK89RV36rkCvyb7CPzkiXATjnvhnv+Cm8dZFZDJS3hfZJHPoBxWZ9aQra7tBMobTrW2xteib4mYec0QsTQNSekXe8V3j3HuwKXndoIy5/Rxdo6pD1o9hheILA1XVX7UOYIbxuiicxHZaz+ddji4tU9LtV1SeTseNJvcu7OAP4JxQhIsIcibVnQgc6JmG+g78N/kAgUTrlivpFfrP5AHuW+0TtE63SGTYeLaUA+xMAb4auZ+7oyv2xd0SicS8kBkcllgjR50/n+iCilSjP8XO+EHFPuM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: NcAx9MoHzCSAaEut1ACLcZWPUb83o/589c+scHa+I8jYtlCQGyTCod7XYpVrxR+QDabhDJtmtE21Gr8uM0AiBPc83C3y+6Z/sit6qDdGljXe3EY67Y9Wi/M+pBvg7mXXAa/2GpQP3Np0KVvtmQDqwsi9B4CAh6Q36Wze0BX+CjJSAFovS6O9zXOIhSdo1+A4by2FIPpWOcmbGEkAJ13CBzFo7lR+MitXxFDf+J52yqcK6ugaZY7R3HPyVwQfRnDr+XU7+pjjeKalFGDaPguipTcR7GUPfLpK6NYDq2KSryK8XiRqolkEoT6T3IkTAqPSivSXIGdsTGiCluWPxNC9imBp9bNZVd+TAb9Hr8qfSdwNsFnoiEey6dNUCskOaQHn0CU2A6NIaeUvh/RPnjp6LpSqp8I4gvWoI+GFHul9zjXyWHwxOGw0Jj/QjnD/h02Cne3w1LFHP4RkPNc1weDPkX6IgGT4OM1oD+sWhsfYrW5xVsqoHkxrWv6tJtu3iQMfSsaE6onwUVsJJsuHBSxnqHjyMUnK9D/S5pwmXDhAQoTkwUylSCLn5sMmNRIjX0sgXqb9w+VBheskBKjc3Tg3eWZKbnCKdMZzZ/g8LeTeZQmyBMDEp/PIIdE5dvhaQipJuiKUnaaw3TLLKWT4gJ3NLt3s91CIEYdyoZXzXZGb2eiSedxKyP/o/6lCwuDPwPNZKgX93RNXlkUjDuIRMKrSCfCs7aAHoQYdw8egq9nPQv12eYN7c7Ondh8SzCA43VEz8AVZfvptyVcAf5fKZKiZ1oiyvFQ1aIaWmmyBMsoo/RxM28mZo8LPVoGX9kks3W63hMlq+zlc6krzVhK3p+WHr0qyK2vAkhJd00KSP5yyklMzHUwC+GGeeJDNWDcOffj1 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51488647-8f69-49db-faef-08db588f22c5 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 May 2023 17:33:18.9926 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: PVeI0xR+QsqMyO8RRqAiGpPRRxNojU4o1boLde7ykKpoqxTzgbHBrs7O8nB/Uez6LcbDks1mXgVKamBn5N26mg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB4440 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-19_12,2023-05-17_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 bulkscore=0 mlxscore=0 phishscore=0 malwarescore=0 spamscore=0 mlxlogscore=772 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305190150 X-Proofpoint-ORIG-GUID: LIwuqwzFwk2_fr29tlGEzI2rok1rBFQf X-Proofpoint-GUID: LIwuqwzFwk2_fr29tlGEzI2rok1rBFQf X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > But in any case, the question is not whether it's a good idea or not: it > used to happen to work and now it doesn't work any more. >=20 > Maybe we should mention the change in etc/NEWS? +1 From unknown Sun Jun 15 08:38:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63586: 29.x: dotimes (possible) problem Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 May 2023 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: mattiase@acm.org, balducci@units.it, 63586@debbugs.gnu.org Received: via spool by 63586-submit@debbugs.gnu.org id=B63586.168451846628744 (code B ref 63586); Fri, 19 May 2023 17:48:02 +0000 Received: (at 63586) by debbugs.gnu.org; 19 May 2023 17:47:46 +0000 Received: from localhost ([127.0.0.1]:57344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q04Cg-0007TW-7u for submit@debbugs.gnu.org; Fri, 19 May 2023 13:47:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q04Cd-0007Sh-U6 for 63586@debbugs.gnu.org; Fri, 19 May 2023 13:47:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q04CX-0004Ij-4I; Fri, 19 May 2023 13:47:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ecC8bA6AOoWE40Bq4YCku8Api/1T1+BJfi4SGbx6qFM=; b=pnQ3dWAW7Kk5xZ5H7RRN wI23C40YNmlip+LkEIS9ESNYFlRNKoXVO5IMnJ0QtCzm8a6X7dYyPRAxLQPUVLUl2BA/paLAfEn+u mDZV3cVmi8FGHNlux4WIXnxGY4qyMw6apmoOrfpbAGhG3nWPsXBeTgSHUfOXYA3X3sfSsvQVe4mey Tz/wgK+Kd/REYgTz/ZFuNxK/QqhvRQCoxO11nqJSK1UmQh5gSHRSKn6z/AknRr3ck/TyAmbSWZO7M G09vHTfwsahWqcHH24lgBZkhAhSoh127jkZhcN3ABqXL669jOCgB8OK2U52avnNek5DEjCdJ+foND WfOazdfyRuYLbg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q04CV-0007b8-Fq; Fri, 19 May 2023 13:47:36 -0400 Date: Fri, 19 May 2023 20:47:50 +0300 Message-Id: <838rdktdq1.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Monnier on Fri, 19 May 2023 13:29:14 -0400) References: <4450.1684509068@dschgrazlin2.units.it> <83ednctipe.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Monnier > Cc: balducci@units.it, Mattias Engdegård > , > 63586@debbugs.gnu.org > Date: Fri, 19 May 2023 13:29:14 -0400 > > Maybe we should mention the change in etc/NEWS? Feel free to suggest a NEWS entry, and thanks. From unknown Sun Jun 15 08:38:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63586: 29.x: dotimes (possible) problem Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 May 2023 08:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: balducci@units.it, Stefan Monnier , 63586@debbugs.gnu.org Received: via spool by 63586-submit@debbugs.gnu.org id=B63586.168457297110301 (code B ref 63586); Sat, 20 May 2023 08:57:01 +0000 Received: (at 63586) by debbugs.gnu.org; 20 May 2023 08:56:11 +0000 Received: from localhost ([127.0.0.1]:57857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0INm-0002g5-Pz for submit@debbugs.gnu.org; Sat, 20 May 2023 04:56:11 -0400 Received: from mail33c50.megamailservers.eu ([91.136.10.43]:55932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0INk-0002ft-9S for 63586@debbugs.gnu.org; Sat, 20 May 2023 04:56:09 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1684572966; bh=xY9q53cx8uyME+s/atlz/N+dswPZg1z0yCYPn4yACn8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=InMO+0KYyvv9tmcpKciEVMgmLfL1DswK7ZGs4QqX29oeDtVW//35Q3a3qPjw3dwWD EXeR5lmNwJJi8yXdtbu9h5zXKSUji83jSeq9LF57xrguC9o3Mi7fAWPq2s4+zr/1s7 +l+j8dIQHsNyR9xUnesJUIRDfOsyxIKsvamKZ6eA= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail33c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 34K8u2B6028596; Sat, 20 May 2023 08:56:04 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <838rdktdq1.fsf@gnu.org> Date: Sat, 20 May 2023 10:56:01 +0200 Content-Transfer-Encoding: 7bit Message-Id: <3A0BD433-13BF-49B5-B4F3-4A285B9FC070@acm.org> References: <4450.1684509068@dschgrazlin2.units.it> <83ednctipe.fsf@gnu.org> <838rdktdq1.fsf@gnu.org> X-Mailer: Apple Mail (2.3654.120.0.1.15) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeijedgtdejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthejmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepgfeufeelteduvedvkeevvdfhgeehjedvjeeigedvudefheegffejudefjefhjeffnecukfhppedukeekrdduhedtrdduieehrddvfeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudeihedrvdefhedphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohepgedprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehmohhnnhhivghrsehirhhordhumhhonhhtrhgvrghlrdgtrgdprhgtphhtthhopegsrghlughutggtihesuhhnihhtshdrihhtpdhrtghpthhtohepieefheekieesuggvsggsuhhgshdrghhnuhdrohhrgh X-Origin-Country: SE X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 19 maj 2023 kl. 19.47 skrev Eli Zaretskii : > Feel free to suggest a NEWS entry, and thanks. There is now a NEWS entry in emacs-29. Do modify it as you like. From unknown Sun Jun 15 08:38:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63586: bug#63588: 29.x: dotimes (possible) problem Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Sep 2023 20:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Eli Zaretskii , 63588-done@debbugs.gnu.org, 63586@debbugs.gnu.org, balducci@units.it, Stefan Monnier Received: via spool by 63586-submit@debbugs.gnu.org id=B63586.16940310513957 (code B ref 63586); Wed, 06 Sep 2023 20:11:02 +0000 Received: (at 63586) by debbugs.gnu.org; 6 Sep 2023 20:10:51 +0000 Received: from localhost ([127.0.0.1]:37768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdyrS-00011f-Tl for submit@debbugs.gnu.org; Wed, 06 Sep 2023 16:10:51 -0400 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:42277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdyrQ-00011K-6Z; Wed, 06 Sep 2023 16:10:49 -0400 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-500bbe3ef0eso185017e87.1; Wed, 06 Sep 2023 13:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694031041; x=1694635841; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=WXKsAkC4I7K2zxUdx4kydVx6TGM9my+yKaRbWuPpNjk=; b=M7njtWZgoEiJ+89ORyMPhtgwj9BzlyNhItI1L/Xd+tkhGgiWEKg4TkOakJv5pLV+fF RCAx2Do3AIHgH0UJ2oYXMK7OHO6PfOTPz5UyqTdSUNI8P7Ab+TnapNqhsxQcdKKJuoRn GUXn5Ord13n3Xb1XCT0PqNM+DXbEFiewxFM9mfSbbB/UxzCJulWbvHC0rTdTMM1SJ3sE P2MGZpDqjV6yxrtGvY57MzczbSEJVqMnSDpEKC4xw3vSTXEGV8gNgl8Qk2rp/giftX1T /kBVr7ufcIFlINVfZeIruRo6+7hPXhzVKwK7JkjIJQDaF1IPKVOdSSQDkHMyn3PjMjgd 57Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694031041; x=1694635841; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=WXKsAkC4I7K2zxUdx4kydVx6TGM9my+yKaRbWuPpNjk=; b=L/q1yedMjB/Vmmdr+KEEENcv+hmizn64c93TGSdjSw0SNgZ/27EsK1brbcG817LWE3 tCj4YCmcLfH34fI3mA1sPoZB8YuwcEK3BP8Ubar12xov54rbTMhXATpefXy/5zE+EUVI /OUfDC9vYgWqdXNsVwI3nePyZWyE/0o+0RgQVb5Q8F/396pPaWIusWn4mG8iW0vWC6om x5Qpz9sNLhhiTj3d1DKY497KM92l4gVhtbKnYYtmzDUUMJ4LgCmRo4i5erhaXpRL2Ilj 4vqfxTNeu0M7sV9Xcgi6b/v5ggp+wEZlROkXLivLo0iKs2hritKpUfu6xRWuPvlKbgNq fTrg== X-Gm-Message-State: AOJu0Yz/C0E4GAnxmEyshtXGpi8IVLIOZPnzyMCZZ6F/VfDDXNHct18H bTXz+g029i0bkdl99ympI1dg/sWKl/YpRawVZF2mmUFnovo= X-Google-Smtp-Source: AGHT+IGYKvpIyYTpsBsyUo1vNleLlD4mZM/3XHlltK86iWk9EGwsFlKz6nowxKYG4ra1kxC8RWTSbp8oIlnwA0Wft0g= X-Received: by 2002:a05:6512:1115:b0:500:a1e4:fc45 with SMTP id l21-20020a056512111500b00500a1e4fc45mr186139lfg.21.1694031040731; Wed, 06 Sep 2023 13:10:40 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 6 Sep 2023 13:10:40 -0700 From: Stefan Kangas In-Reply-To: <3A0BD433-13BF-49B5-B4F3-4A285B9FC070@acm.org> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Sat, 20 May 2023 10:56:01 +0200") References: <4450.1684509068@dschgrazlin2.units.it> <83ednctipe.fsf@gnu.org> <838rdktdq1.fsf@gnu.org> <3A0BD433-13BF-49B5-B4F3-4A285B9FC070@acm.org> MIME-Version: 1.0 Date: Wed, 6 Sep 2023 13:10:40 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Version: 29.1 Mattias Engdeg=C3=A5rd writes: > 19 maj 2023 kl. 19.47 skrev Eli Zaretskii : > >> Feel free to suggest a NEWS entry, and thanks. > > There is now a NEWS entry in emacs-29. Do modify it as you like. It seems like that was all that needed doing here, so I'm closing this.