From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kG1XFLm50V/1SgAA0tVLHw (envelope-from ) for ; Thu, 10 Dec 2020 06:01:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +PokELm50V8PIQAAbx9fmQ (envelope-from ) for ; Thu, 10 Dec 2020 06:01:29 +0000 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 B384E94036A for ; Thu, 10 Dec 2020 06:01:28 +0000 (UTC) Received: from localhost ([::1]:60782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knF15-0004gj-DH for larch@yhetil.org; Thu, 10 Dec 2020 01:01:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knEzh-0004gW-VG for emacs-orgmode@gnu.org; Thu, 10 Dec 2020 01:00:01 -0500 Received: from out1.migadu.com ([91.121.223.63]:20740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knEze-0007Pt-7S for emacs-orgmode@gnu.org; Thu, 10 Dec 2020 01:00:01 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1607579993; h=from:from: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; bh=zA3rEoQez2M0gRK9Zhfb2r5cNB+upE/dW0HsUNaDHIg=; b=ZwVM3ho3zfwVMY7OMAYC/ad8J2PZJyZkC+pIg7G8SKlyd7XftMD01zHZb+mIGGAW7kjEdh NPSA7VmYdK3+7n/8LBhEfBEDl8HHvEKiH2kTj0yV5NhUAbqlH3EPy3R7LLB9ZhkGDjMiGR vPjQcZIz1eUjZNkjCEtVFM2jesAZOr92VqlPzArFfmaqdL14ftkzqqhx8KbNDk+o2au7ai OMBnAva5iEo5LqyIfHvEc3xaYO/a3hQ+zI89HCbWl7PN+pN3LG3O//aD6Rj1Sz/AmYZEr0 10Xb9NNzqlklPByvzNsxWp6oRIqUaVUZMJ3xcdh1Y4oQ6vTSLyeWMRQU8XlH+w== From: Kyle Meyer To: Massimo Lauria Subject: Re: Bug: Having '%p" in frame-title-format makes org-mode to freeze [9.4 (release_9.4-134-g0d525c @ /home/massimo/bugreport/org-mode/lisp/)] In-Reply-To: References: Message-ID: <87blf2mca0.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Date: Thu, 10 Dec 2020 05:59:53 GMT Received-SPF: pass client-ip=91.121.223.63; envelope-from=kyle@kyleam.com; helo=out1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=ZwVM3ho3; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: B384E94036A X-Spam-Score: -1.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: xU+BpBBJ2sLB Massimo Lauria writes: > Hi all, > > I recently came across this weird issue using org-mode. Essentially > when I fold/unfold/fold some header in org-mode, pressing tab three > times, > I expect the section to fold again at the third keypress, and instead > emacs freezes. By detective work I discovered that it has to do with > having the '%p' option in > frame-title-format. The bug disappeared when I took "%p" option away > from frame-title-format. Very nice detective work. Thank you. > * Steps to reproduce the bug [...] Yep, I can reproduce it on my end. The culprit is a8e812e60 (org.el: Restore the scroll position after cycling, 2020-09-05). However, at the time of that commit, the change didn't trigger the hang with the default Org settings. However, once that commit was merged to master (5beeb094a), it started to trigger it with the standard Org settings because the default value of org-startup-folded changed to showeverything (88f5ed91c). Anyway, this is fixed (on my end, at least) by 4f8ac0a7a.