From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#58158: 29.0.50; [overlay] Interval tree iteration considered harmful Date: Sun, 02 Oct 2022 10:06:01 +0200 Message-ID: References: <83h70qhez0.fsf@gnu.org> <83edvuhaby.fsf@gnu.org> <831qruh67o.fsf@gnu.org> <83y1u2foli.fsf@gnu.org> <83zgehe6iq.fsf@gnu.org> <13f3e7fa-4690-3ab0-f803-0812303f90f7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3422"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: Eli Zaretskii , 58158@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 02 10:07:12 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 1oeu0G-0000jA-HU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 10:07:12 +0200 Original-Received: from localhost ([::1]:37218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeu0E-0006A0-V1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 04:07:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeu06-00069n-Ty for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 04:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeu06-0001aS-M2 for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 04:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeu06-00025Q-BR for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 04:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2022 08:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58158 X-GNU-PR-Package: emacs Original-Received: via spool by 58158-submit@debbugs.gnu.org id=B58158.16646979707960 (code B ref 58158); Sun, 02 Oct 2022 08:07:02 +0000 Original-Received: (at 58158) by debbugs.gnu.org; 2 Oct 2022 08:06:10 +0000 Original-Received: from localhost ([127.0.0.1]:46192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oetzG-00024J-9N for submit@debbugs.gnu.org; Sun, 02 Oct 2022 04:06:10 -0400 Original-Received: from mail-ed1-f46.google.com ([209.85.208.46]:46612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oetzF-000247-3Q for 58158@debbugs.gnu.org; Sun, 02 Oct 2022 04:06:09 -0400 Original-Received: by mail-ed1-f46.google.com with SMTP id m15so10878293edb.13 for <58158@debbugs.gnu.org>; Sun, 02 Oct 2022 01:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=RqmRB/USNsJWk68wcvZOkRSPzBZEZIq7eKYoP9uR5Kw=; b=i9LdP8Oyb1acU8JPcfCBcXFhVBi8uTfb4BhDbqyZGtzzpm6sRCcOV8iGUE/Wpqp21b my4HhZrmghA5DGtL1HGc85Ah9qaTZAHw1r4foVvbDGe4pq17NmxHNp2yYNc88DiemWoe +CjCuakJvh/nrLXZ2IGrz6EYRn8wafw8TfHf74QQYOHGLCaS9vqKbZoSN2rK82ZhZG6a ohqWJvLqgp2kzRRMzCieSx5+Z8GgRlvssuuUB4GrlN2WVTaFSfgus4xGTjEwHNeSUhjd ocN/VfH/KzkT1Qz/HBGft1uxLTlesMFC+lcdemYhLpHjqXJP0r54D05qtHNVBaLvzqLa UhvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=RqmRB/USNsJWk68wcvZOkRSPzBZEZIq7eKYoP9uR5Kw=; b=kD0Xlu5gHfilVqVIq8oUzZojechrGWnDJz8YyvJazyF8PhxU8pDxb9CNw6flByTOtR h7gsOKHB/FHN+fGAIrlxIzzQq3E2Y5fbbaG9XF5yLkVPMEz4FMKKBLUNS0+kKb9rra6r Jr/pwBQgmOX3FK3AZGqP6S1Sg1SagjrGgEkH4VgIT2ZvrCGgF+OCqfiOmsR/KC9umigo aRnfFDDAHfOfrXJBa2LT2uO6dTIB0w1lGTZRBGFhe2HkqKhJfr9RfnaoauCe7UdQ3kxl MBMTYtXlF/Qxn3zZJa9itvD83NSTT4BJWW7ji2zXIzIXMI4H12IbBwcqYKGKhcUJNRXf COgA== X-Gm-Message-State: ACrzQf3vaX5E7MKAAE73dZvaZDWf6uu53XvRtsAdijyb4x0x5dHZjoCi fgVCqilN7X9NKn2Wa/tFjyFEG8v7ooo= X-Google-Smtp-Source: AMsMyM5k4fs3z065OhROrdL2eM71Xhxl5imp1p/b5YYx5IcplGolgGVizVjUDu+UR77HasYI0kQ2Jg== X-Received: by 2002:a05:6402:2694:b0:450:d537:f6d6 with SMTP id w20-20020a056402269400b00450d537f6d6mr14543564edd.344.1664697962759; Sun, 02 Oct 2022 01:06:02 -0700 (PDT) Original-Received: from Mini.fritz.box (p54b0c1f2.dip0.t-ipconnect.de. [84.176.193.242]) by smtp.gmail.com with ESMTPSA id w9-20020aa7da49000000b0045391f7d877sm4910545eds.53.2022.10.02.01.06.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Oct 2022 01:06:02 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Fri, 30 Sep 2022 14:29:59 -0400") 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:244182 Archived-At: Stefan Monnier writes: >> Info for Stefan: I've now removed the per-tree null node, and make check >> shows no unexpected results. > > Thanks. It's an improvement, but I still don't understand how it > works :-( Is it still null->parent? If so, maybe it helps to picture that null is a child of many parents :-). Every node having null on the left or right is a parent in that sense. Therefore, if some code uses null->parent to do something it can not be right.