From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WEL0NDmFAGPG3AAAbAwnHQ (envelope-from ) for ; Sat, 20 Aug 2022 08:54:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ePQTNDmFAGPYQQAAG6o9tA (envelope-from ) for ; Sat, 20 Aug 2022 08:54:49 +0200 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 64AE916A97 for ; Sat, 20 Aug 2022 08:54:49 +0200 (CEST) Received: from localhost ([::1]:52268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPINc-0007oA-6w for larch@yhetil.org; Sat, 20 Aug 2022 02:54:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPIMX-0007ny-8m for emacs-orgmode@gnu.org; Sat, 20 Aug 2022 02:53:41 -0400 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:42605) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPIMV-00087f-CJ for emacs-orgmode@gnu.org; Sat, 20 Aug 2022 02:53:40 -0400 Received: by mail-pj1-x1031.google.com with SMTP id s3-20020a17090a2f0300b001facfc6fdbcso6063471pjd.1 for ; Fri, 19 Aug 2022 23:53:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc; bh=Okh3diZw/mUQ5HVs6JKG+D/F2OhNDh1lGBiVEAtyKFU=; b=TB87655A8jR52A9+cQ4w0pDGi2YqYaegV8vNVcaRsbNzyEh7vXFuhq70Pq/tnoFK19 LwRy+NYYLxWbEs+Mx+0aNXY/5Uo20jzjC95b1+wv4V9eSmGawPC7uEkcb8JQWACDIFTY ClXGYMQSdE5wybclerJSrfkU3OnTEu9yVTaI8Nevt/PnOBvgvpgEUgCaSCG4Wd8MPwV4 GiHCpb703zv01jEMxMZt3WeqOjqYQcD8NhGKy1rrTbWFLhAB2SfBaSygKGbF5+jPPEbN ydv3SGowuqexfvvK0ngEDurGQibOOhj4pHydKr0eBDUSE5o/3V5AiJDu8N6BTwPpQg5+ r7hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=Okh3diZw/mUQ5HVs6JKG+D/F2OhNDh1lGBiVEAtyKFU=; b=hHdYqQk8kb6WYk7pCaLl8oORU77TZeQ22yrfGjyVaJDAHMchRw5hlTt6XYPIXdxs/w dRPaMgHCWLYuS1dl3vL6rgKWS0WXPFs7luIRaTN8XeNJewMODBPM7IxHtdwHI05W40f1 hykloFxm946wHqDSxkopW2zuxmNbkkJbRFuhwPj77+FT/98MDGOhV/3G7Ni+aYz3I4Db VLJBOm4znJZdzW5eUrdQ3sPBbnFCedrqwECKgGvBRNpti7ScASSJRdiOR4fF4q5XHL9d DJiBqxnsiies9FQvY0ZlX308fxfWeJ29DcO9hqR1Z2dCXiSSi7d7vJX2psTWMGKM3efB T6fw== X-Gm-Message-State: ACgBeo3LYY2LCp9/2QleC5QnGZFTCOPINCcU/EDjegWYv468sStO1YMW 28NzPNImjXx8r2ejo5Ssocllj4EJ6P0= X-Google-Smtp-Source: AA6agR5sc7djfJu5nbiCG8YDfQeXBHiqo0qscPx4vE4Xo/dOb4VeVZapZygi2E+FoSk07OqsovlaPA== X-Received: by 2002:a17:902:d509:b0:16f:1e1:2067 with SMTP id b9-20020a170902d50900b0016f01e12067mr10703167plg.140.1660978417835; Fri, 19 Aug 2022 23:53:37 -0700 (PDT) Received: from localhost ([2409:8a70:2b9:1e80:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id l9-20020a17090a070900b001f7a4ea4fd5sm6135755pjl.39.2022.08.19.23.53.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Aug 2022 23:53:37 -0700 (PDT) From: Ihor Radchenko To: Anders Johansson Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Fix for inlinetask visibility cycling causes infinite loop for "degenerate" inlinetasks In-Reply-To: References: <87y1vkoih0.fsf@localhost> Date: Sat, 20 Aug 2022 14:54:27 +0800 Message-ID: <87fshro15o.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1031.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660978489; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Okh3diZw/mUQ5HVs6JKG+D/F2OhNDh1lGBiVEAtyKFU=; b=b53leP7GnLavrO6wSiQP6Q6L9kWnadPpg2l9OnZDewlRxUXoubTUrQRyTUzAi3z6/0iSpu 8lYqUQBqRQbMg/Vcl+2xdQnqiS+W9VDWMHBbmgNcP8fnqKbOVl68FKKfK/KBS1lqB5q14Z 3iFzQAljLKmgSNY8+6IPBHFaLeWXzLxZgeB5DB7C048jFA6TlCPXnxOk9lF0T30i3+lgul SHve0PTVW5bU14tiyGF4RuQ2B73Wone9Y3rQTVazPLObc+wWTy7TDrRzqq2570Kf/+06wp BDoRcIEyj9aku+RAGiC6mq+VTwm3HBe6UUHUv49RKHC4oVBg9oQyELnChh7H3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660978489; a=rsa-sha256; cv=none; b=tSleSYshtSGgjpWCNMc8bfY/9QsaoM5o8VZ4u398QsjxhQ7mSj2M5qeWtiGCzCM4tg/8K/ 6dTR4k9UQ4psYV/NXlWptGJ6ozs0zyZ7RD6Z08PUtwuoFl9BZrNWACqsdo/Nah8HyAhlvT UrxZKaLny1bEUHheh0Ao7Esc4v/BuqVwx/qKiiJ4aBItUkjGVK9nHBiXQQNjw/6l/fF8yW 1ssL6GXGkYDQbalzBau4JvlhsgVZlVUbMAHqLgnopenRiWuyvCtK8mhSuE+Q+/xTKDbvwP 5vnEfTl/eGQL65RCdAuePshtMXFKcfYU7Pm3EKtKoLk+6PXJfpeJabaEZ6QGkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TB87655A; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.35 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=TB87655A; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 64AE916A97 X-Spam-Score: -3.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: lZpEWgqtj1xI Anders Johansson writes: >> I am unable to reproduce on main and on bugfix. >> What is your Org version (M-x org-version)? > > Sorry I didn=E2=80=99t bother to reproduce with emacs -Q. I stepped throu= gh with > edebug and thought the problem was quite clear that way. I have reproduced > with Emacs -q (+ loading org from git) now and the problem persists on my > side, using a sample file consisting of just a heading with one degenerate > inlinetask below, as posted before: Thanks for checking again! I forgot to load org-inlinetask when checking, which is why I did not observe the problem. Fixed on main now via a0b8b7303. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3Da0b8b7303= b9683fae4503c57ee8ae191cb89a297 Best, Ihor