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 QAouLQSYnV9NTAAA0tVLHw (envelope-from ) for ; Sat, 31 Oct 2020 16:59:48 +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 AO/xKASYnV9VFgAAbx9fmQ (envelope-from ) for ; Sat, 31 Oct 2020 16:59:48 +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 605159403A0 for ; Sat, 31 Oct 2020 16:59:48 +0000 (UTC) Received: from localhost ([::1]:59222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYuEF-0001Az-Co for larch@yhetil.org; Sat, 31 Oct 2020 12:59:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYuDs-00019Z-Gs for emacs-orgmode@gnu.org; Sat, 31 Oct 2020 12:59:24 -0400 Received: from grinta.net ([109.74.203.128]:49150) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYuDq-0001aD-AZ for emacs-orgmode@gnu.org; Sat, 31 Oct 2020 12:59:24 -0400 Received: from black.local (unknown [193.148.18.84]) (Authenticated sender: daniele) by grinta.net (Postfix) with ESMTPSA id 83914EC442 for ; Sat, 31 Oct 2020 16:59:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=grinta.net; s=2020; t=1604163560; bh=/j3JQxb4xwWcmtIU06tFZmLctw5kWhb7ZaFJiOO+P7o=; h=Subject:To:References:From:Date:In-Reply-To:From; b=VvduEWcAENAi0yQuoBhqEbqM1vBvcPlnnQa51a9D9lM5qBhibWzx8DoO63m7PzLnq q000S/lCvTVJ4keNDVCpArPEeluR3/FnVPx1n3Yz3NQKEQPgYWf44ZsqLi2scpsolx bWZGfj4jm+Y3GDxTcv4z/K7MPMxS/vN6aYUNXELTgFLw0SHVt5Wqu08Y/0Ri7j3QZT pL0YPLJqrOXuAMYcB9+beMVbTcW2UTUEihJxmHSqJ5Qc1T743oRDLUqC4nKwxVSHAr r0pMX7UeOfy5qm0FJZnXRxobkJrvAIa7sYYigtjUjwEDWrAJt8XIICnTK3FAlulMCH aw0oChifyUIPg== Subject: Re: Bug: headline folding broken by whitespace To: emacs-orgmode@gnu.org References: <9ab68310-7aeb-7a6a-0a73-07c292dd23d7@grinta.net> <874kma8hn7.fsf@kyleam.com> From: Daniele Nicolodi Message-ID: Date: Sat, 31 Oct 2020 17:59:06 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <874kma8hn7.fsf@kyleam.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=109.74.203.128; envelope-from=daniele@grinta.net; helo=grinta.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/31 11:06:25 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.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, NICE_REPLY_A=-0.257, SPF_HELO_PASS=-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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=grinta.net header.s=2020 header.b=VvduEWcA; 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-Spam-Score: -0.01 X-TUID: LXxHy7l4d1VQ On 31/10/2020 17:49, Kyle Meyer wrote: > Daniele Nicolodi writes: > >> Hello, >> >> i saw a few reports of bugs related to folding and unfolding of >> headlines recently, but I think this is not a duplicate. > > I think you're referring to > > https://orgmode.org/list/87h7qu10ht.fsf@eml.cc > https://orgmode.org/list/CAJj=8EFJXFu9ZQ11cO24AAu=1jykW2Zr+=R4FLuKG=bLjfUe+g@mail.gmail.com > > The cases reported there are resolved by e8070d71a (Revert "org.el: > Allow empty subtrees to be folded back", 2020-10-26). > >> I just noticed that with the latest release (Org mode version 9.4 >> (9.4-27-g47bf60-elpa @ /Users/daniele/.emacs.d/elpa/org-20201026/) >> unfolding of headlines is broken by whitespace. In particular with a >> buffer with this content: >> >> * Foo >> ** Bar >> bar bar bar+49 1520 7178926 >> >> >> * Baz >> >> where the line before "* Baz" contains a single whitespace character, >> the headline "* Foo" can be folded but cannot be unfolded. Removing the >> whitespace while the headline is folded fixes the problem. > > Yep, with your test case (making sure to add a space on the line before > Baz), I can trigger the issue on your reported version (47bf6005b), and > it goes away with e8070d71a. So, it looks like the same underlying > problem and should go away with the next elpa bump. This is funny. I have two emacs instances running: one with my customizations and an emacs -Q one. The first exhibits the issue, the second does not, matching what Russel reports. By the way, how can I get a dump of org configuration similar to the one org-submit-bug-report produces? Cheers, Dan