From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#73874: 29.4; Inconsistent cl-loop behavior with Common Lisp Date: Wed, 1 Jan 2025 20:13:25 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16093"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73874@debbugs.gnu.org To: Bohong Huang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 03:14:27 2025 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 1tTAjD-00044N-6I for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 03:14:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTAiw-0004q9-9J; Wed, 01 Jan 2025 21:14:10 -0500 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 1tTAio-0004pn-Nr for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 21:14:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTAio-0004ku-D7 for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 21:14:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=SbDnRtEA5rKli34Pt+647ahQO4DTIkSaKgMRyVkyrrM=; b=Bmq62Wr/lyjpZuw2cknSz5I155HwXAl6NybfxYfkn4YEJg9TmbAfW/PUT/RqYjzNpsIM6Qnt11Fu72/Ms2CEjO14HAPjikU5RL949u9EkFBYEZW61xPz+IABqP8dKdTSFhc6YmHof3pTelUBfAXmgCRNbhfxkjSsGWWoa5AFiP3Y+kbMxYVa7g8HV6bkxX12CWpOL4EWsWnIu5GIPzQtGuaoM1gq18RbpPv+49w8ffylx/6YSbX1z3SYVIU7M1fRQ3rsxytbR7k1FxOBEW8tEjIxyrIoX0V/YAHe/xfhjc7wne/dxBaSHOfpW2F+Gnp41LJcPX2XmAGPhyFjK2vyIA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTAio-00031u-7G for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 21:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2025 02:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73874 X-GNU-PR-Package: emacs Original-Received: via spool by 73874-submit@debbugs.gnu.org id=B73874.173578401611595 (code B ref 73874); Thu, 02 Jan 2025 02:14:02 +0000 Original-Received: (at 73874) by debbugs.gnu.org; 2 Jan 2025 02:13:36 +0000 Original-Received: from localhost ([127.0.0.1]:41469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTAiN-00030x-G1 for submit@debbugs.gnu.org; Wed, 01 Jan 2025 21:13:35 -0500 Original-Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:59481) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTAiK-00030d-4o for 73874@debbugs.gnu.org; Wed, 01 Jan 2025 21:13:33 -0500 Original-Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5d3bbb0f09dso18845649a12.2 for <73874@debbugs.gnu.org>; Wed, 01 Jan 2025 18:13:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735784006; x=1736388806; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=SbDnRtEA5rKli34Pt+647ahQO4DTIkSaKgMRyVkyrrM=; b=ZobOBKOGNHo1Xe8+QtjKWT4pgraAbhVefNMrPoNwFG0NQjj84ZHef7dZ2vZKOYzY05 lKuUMt8BwnHglnENUUAxr2Jx+CKiw+8zMGtTFfOMYVdd6TOIVkU5dofS1EBaBCkBm+ov bhElTQMEGUEi7uRe6M1Y6/JNPEKejM1EaeqPvof9OILeN7CrM5Vmnpmfr0cXMeQ5kOel lncMWdzvdbXAcsm1cOOmvypUhp8n4Fb6X9coIpRlIjtVQ+FXEtKwoz0GGnWvv6hmqKIf krUt2lXyTVQcPLXGcPlHEUZuGB6vvZx4mmRZbMXl2V3EDVrgVIdwJjbqAP0onNf0yL5g U0Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735784006; x=1736388806; h=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=SbDnRtEA5rKli34Pt+647ahQO4DTIkSaKgMRyVkyrrM=; b=UEKp3Aumb/zyargVB7QZPIUwmxfCgfMPgcOos6yKFGN2Yg7bh39vUl+C7j+HePtjyC Ue7uer4ObCoxjR8QaK4G9tOQUGAArMyFIz1149bYvHIN6uEGuGhIPxnIgLUatvXr9Bqm IqosUS2wgkPyMxRt5osGBE+lTYCXxlOmSVCbZChsYnqN4c878H6Rk9K+C/U53Hw+jOB+ bhWAZ7aBlIqOeZjQ6GrW+4HVKiWaqfO1y46Kn/ZtEoooFzI5UYnIH6nvlmVZ9K1sgs1S cJP5lPyp6GiIL7PK7X+TO7r7wkldfQ6fWhRs/CoX2vMYRBaNgADwyKgnQgwCptifKr8S ULng== X-Gm-Message-State: AOJu0YyNdqJw22UdCKyuHi+LeOJfr44U5AYqBc9sP2z/PaeTj/IuvQGr yNhGEVgu3QO5E7f3Fil6FQXmcl2w8wjvPRnaKkKIZszRhH8w21r+Sb008dNgolH0ByHP9r4bPlF fSSwu8AgDwpkGgjXjH/9jBBxU5k9AYWHBxvg= X-Gm-Gg: ASbGnct1pyyrYFBBUtmmKSTGQ2CbQT6bN/2kOkhMWCeyl5EjE8ZEbHXy+RsFpXP1rT7 DNVfZ5kxpRc/cfSaF6XTKIkRu6qRK8ekpYdxAM83u X-Google-Smtp-Source: AGHT+IGMjg3kxA9+cF5SPA8kpdy8vqVYR2vIULf+fVn8lTskqe4h6DFEXKUQjQ+ViF1IWp5+vhypl2KlNkf7tqc+jZE= X-Received: by 2002:a05:6402:3510:b0:5d0:e2c8:dc8d with SMTP id 4fb4d7f45d1cf-5d81ddfe37cmr40798310a12.20.1735784006047; Wed, 01 Jan 2025 18:13:26 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 1 Jan 2025 20:13:25 -0600 In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298102 Archived-At: [Please use "Reply to all" to record the discussion in the bug tracker.] Bohong Huang writes: > Stefan Kangas writes: > >> Is this a duplicate of Bug#72753? >> >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72753 > > This doesn't seem to be the same issue. The report you mentioned is > about incorrect results of the loop value in the `finally` block, > whereas this issue is during the loop where variables `j` and `k` are > not correctly assigned. Through debugging, it can be observed that the > assignment expressions `(1 - i)` and `(1 + i)` are evaluated only once > despite multiple iterations.