From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id KFtJFZ1/ZGbX/gAAqHPOHw:P1 (envelope-from ) for ; Sat, 08 Jun 2024 17:58:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KFtJFZ1/ZGbX/gAAqHPOHw (envelope-from ) for ; Sat, 08 Jun 2024 17:58:21 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=BMnm+Qfh; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717862301; a=rsa-sha256; cv=none; b=V0N9znnMkggv3SkW8J9XwTP+p3XOKXIqL56FH4Ds5ek693bvOmO4dtDjpDbUyQs6Qx1i8K Z6f/XWEXk3uGen73mwd1UjLAYLpnGk0m4vz2CJ0ug0wIulh5ORB9ZflRWIFLwreErnpcRX ObanDjY2FWGV4iCeOy35o0jrdG7IEFdyf1xNXBB/Pb2nMG1CohN2EysUab6bqIlc0dapro jzCPKpxataMkPdB3/DuqdaIWnU0VTecQAYZ6fcKM9OAuL962KS69Qf1AMHf1TC4I4vRJds a//lvdSXsdCwjO1iluRwdHe0QpkHYZbFe1j6IFdww9aR4EiqthmwH1F631QREw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=BMnm+Qfh; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717862301; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fwDgMrrxI4eh7LWHK4PdGZbKj4NFk29GJGDFDGw6mxU=; b=kHnB/sDgViUJQs07VR3iDBvRxPRyG0UirRBxIQyIXU01hmqSPWx6Ie2j2020WNX+k63zH/ F5R8uZYixFL9GVMtcjQzbbpC1BPDxYTY5/uhmq74PbPD9H49HE/63XDHUDA/8IXkAA0zU7 zMqxa7HbfOecAlwnjf2X9N5xHXYE/5kO2rsUARsueEsnpuTh8HOpOcfjj+tG28yYWMcXAn bXM77rgKqUV44G7p06DWiPAflWlPoiyUstNZhd23vQqsT/RdmvxG6DCEKNihJ6fsJoDsGZ MTsREnUVdOZpd92yldtSgPSh/fe06QMgWFaJ0cyaJmG5xohWGtLT/jMtK7aopw== 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 E66D76A4BC for ; Sat, 8 Jun 2024 17:58:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFxxk-0006yr-2P; Sat, 08 Jun 2024 11:26:36 -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 1sFxxh-0006yQ-6n for emacs-orgmode@gnu.org; Sat, 08 Jun 2024 11:26:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sFxxe-00084w-Li for emacs-orgmode@gnu.org; Sat, 08 Jun 2024 11:26:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5E3EE240029 for ; Sat, 8 Jun 2024 17:26:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1717860388; bh=W3J478aZRAGZ98awx4OX+JbKLWUfQWsr1arTikQvkYE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=BMnm+QfhB+8OSd5uQymxUkSflcWQ5mIziDgzc0OjNAMY2pvPTxiZgoDwrKjnQRcMC vvKhmNeGLmGezLRvW/VHTBLbfk09JlS2qumiaXZafIvZiZEKIdboAdH/KyDbmjhzxt M9+nFMPg7v+VPN4Qmkh03Ut4WHH250y10r9uQVYVGpv52sDY+gIIqjniqZncN7FHDo D1JPjjuJF2cW/WBu5gl7OE2vnE93U7kLZuANfYfMx/H/E9ijAIO7a6/dgcu/wyE0Oq Pg6saZMic+t6wTc9ZjKHEqiQoHWubMGdEOob432WkTbJOwmEjNyg8cQE1xo1oYc/2e N4eRFJ+BK3L1g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VxMNg1Tmxz6tm8; Sat, 8 Jun 2024 17:26:27 +0200 (CEST) From: Ihor Radchenko To: Marc-Oliver Ihm Cc: "emacs-orgmode@gnu.org" Subject: Re: [PATCH] Fixing endless loop of org-reveal with inline-task In-Reply-To: <677194399.53008.1717772861672@ud-mail.de> References: <677194399.53008.1717772861672@ud-mail.de> Date: Sat, 08 Jun 2024 15:28:07 +0000 Message-ID: <87zfrvwj20.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: E66D76A4BC X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.55 X-Spam-Score: -9.55 X-TUID: 2Xj9RPpRr1xn Marc-Oliver Ihm writes: > Hi all, > > If I have this simple buffer: > > * foo > > *************** bar > *************** END > > i.e. one node with a single inline node. > If now I place the cursor at the end of the buffer and invoke (org-reveal), I get stuck in an endless loop. > (of course one needs to (require 'org-inlinetask) before) > > I think this can be fixed by patching org-goto-sibling as shown below (against HEAD). Could you please consider accepting this patch, as the problem hits me every few days. I am unable to reproduce using the latest Org 9.7.3. May you please try with the same Org version and let me know if you can see the endless loop? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at