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 sMS9IouUnV+lLgAA0tVLHw (envelope-from ) for ; Sat, 31 Oct 2020 16:44:59 +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 sGKSHouUnV8BEwAAbx9fmQ (envelope-from ) for ; Sat, 31 Oct 2020 16:44:59 +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 275029403CC for ; Sat, 31 Oct 2020 16:44:59 +0000 (UTC) Received: from localhost ([::1]:41710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYtzu-0001ee-45 for larch@yhetil.org; Sat, 31 Oct 2020 12:44:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYtzQ-0001eV-M8 for emacs-orgmode@gnu.org; Sat, 31 Oct 2020 12:44:29 -0400 Received: from grinta.net ([109.74.203.128]:49092) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYtzN-00086F-UB for emacs-orgmode@gnu.org; Sat, 31 Oct 2020 12:44:28 -0400 Received: from black.local (unknown [193.148.18.84]) (Authenticated sender: daniele) by grinta.net (Postfix) with ESMTPSA id E9575EC73C for ; Sat, 31 Oct 2020 16:44:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=grinta.net; s=2020; t=1604162663; bh=13embCXWZfcsODNnQ+sNoYS6J1jm2XS4PPYHCJoFxWY=; h=Subject:To:References:From:Date:In-Reply-To:From; b=EOUnlrEr130j57MnhxlNg54XWwtx5+GSIlY/94KujuX6NqSn31R2fCEr5uwcsp9+V UYgmcR/Vrfjgcg3oSv/ro7f8d1e6om9cl9HXRFDW4ewe+ZWP1d2WC5zsKF8IF6Ya1o b2X6172QE94ZDIBeb2wLfZ+EyrKCAg5wNQhuZyStOuIo3HarNrp5voEfDNxXoYtTpX hDMrY8pAn2xcDrP2EdLTlDDmZpmlPyfXkpZVBrpiOUOU4Ljyw/mMyKzLRKtIeuZJWu SZbnumuIzjiRMiC6liR0I+Iuhr7qYCNcKAozIVXiX2qIbRiGaChg4I+KCUxZgbUZn3 4Z2p53D+5bY1A== Subject: Re: Bug: headline folding broken by whitespace To: emacs-orgmode@gnu.org References: <9ab68310-7aeb-7a6a-0a73-07c292dd23d7@grinta.net> <20201031162839.GF28730@maokai> From: Daniele Nicolodi Message-ID: Date: Sat, 31 Oct 2020 17:44:20 +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: <20201031162839.GF28730@maokai> 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=EOUnlrEr; 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: 0LmAAURMyOWO On 31/10/2020 17:28, Russell Adams wrote: > On Sat, Oct 31, 2020 at 04:06:22PM +0100, Daniele Nicolodi wrote: >> 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. > > I'm on Org mode version 9.4 (9.4-27-g47bf60-elpa) and tested, cannot > reproduce. Do you have something conflicting, or are you running an > Emacs distribution (ie: Doom, Space)? Thank you for trying to reproduce the issue. Indeed if I try to reproduce it with an Emacs without my customizations it works just fine. I'm using Emacs 27.1 from here https://emacsformacosx.com/ I'm surprised something in my configuration breaks this: I don't use anything fancy. Cheers, Dan