From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CLNFGJx9nV+qTgAA0tVLHw (envelope-from ) for ; Sat, 31 Oct 2020 15:07:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OBZhFJx9nV9gfAAA1q6Kng (envelope-from ) for ; Sat, 31 Oct 2020 15:07:08 +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 0E583940630 for ; Sat, 31 Oct 2020 15:07:08 +0000 (UTC) Received: from localhost ([::1]:32874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYsTD-0002O2-1C for larch@yhetil.org; Sat, 31 Oct 2020 11:07:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYsSi-0002Nf-9U for emacs-orgmode@gnu.org; Sat, 31 Oct 2020 11:06:36 -0400 Received: from grinta.net ([109.74.203.128]:48936) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYsSe-0005px-4Y for emacs-orgmode@gnu.org; Sat, 31 Oct 2020 11:06:34 -0400 Received: from black.local (unknown [193.148.18.84]) (Authenticated sender: daniele) by grinta.net (Postfix) with ESMTPSA id D660DEC685 for ; Sat, 31 Oct 2020 15:06:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=grinta.net; s=2020; t=1604156785; bh=qL/0pKhvIyKwmDpYI/5cv9YJ6qytTavNVuveHgeYATI=; h=To:From:Subject:Date:From; b=UU+SaxoCg6Cscc7mY6s1ztZMB3pNYzLVnRIGWryQYkMi1gsyh5ChkUTXYc2Hs2MSR ucuFQMYm31vSPoTcXi5Bqv+l9VY42l7VLrQN4Uyg2YAu6Sq1X7Ay0+OcumZmCSXCoh 1/cskfWrl5Aijyg0lkl+HZ6jx/1w7sUHU54+N8hV0t0HP4vmss4GY1XQF9vbIzl21z 28Ve2jLOdcuZV9RbjDbLXWotRL5z4lekVLYod43fpmi1FzegbpsisFvwj/co4N1wQG M2+QFJJagklC7Lnx8HW5+s2SMs/JxOeXu67Hm6CMw03HdsA/TwmDW/QJA3pWvrpsPY Dh0ABu4KKnVCA== To: Org Mode List From: Daniele Nicolodi Subject: Bug: headline folding broken by whitespace Message-ID: <9ab68310-7aeb-7a6a-0a73-07c292dd23d7@grinta.net> Date: Sat, 31 Oct 2020 16:06:22 +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 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: -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, 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=UU+SaxoC; 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: Euh+Rh/pyS0z 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 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. Cheers, Dan