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 mBcNJcboiV8tPAAA0tVLHw (envelope-from ) for ; Fri, 16 Oct 2020 18:39:02 +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 cGjoIMboiV/RFgAA1q6Kng (envelope-from ) for ; Fri, 16 Oct 2020 18:39:02 +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 5CCFC9402CC for ; Fri, 16 Oct 2020 18:39:01 +0000 (UTC) Received: from localhost ([::1]:52838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTUd2-0006dT-5H for larch@yhetil.org; Fri, 16 Oct 2020 14:39:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTUbs-0006bb-BH for emacs-orgmode@gnu.org; Fri, 16 Oct 2020 14:37:50 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:44823) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTUbq-0001R3-8x; Fri, 16 Oct 2020 14:37:48 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 0EC67EB1; Fri, 16 Oct 2020 14:37:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 16 Oct 2020 14:37:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eml.cc; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=NQs/8EbrIMPYY3qE3YecXMzR75 bIRPJpwhWqMiJykjQ=; b=XkFT2UHP4wP+K8DjERWADJEr7EOU2bGCFBu7sb5uIJ /7AMYPbXMhCSGiuX59F0huadbZbthRVVHHOciJdXp3LCXzckTJMfZZbqAYpxMaGC Sarsmoc45FYHN54ZEe0hsyBEbW4UYMmm0cRV6JSD6q2Rz7NZQkhCPOQGfDLCuGcx hD9JyWptPDQk5B13Y+rrmJa3obqpdpWQ/DPaJsvKDPvqUrnB19nsuf3ahMV3vMca 8EybTM+QHfnrlMeZcN4WwxIznlmVM2SfH0cK0Cg3t9zbsaepXJtL/TVkLBvxUgrK Tl+/BVU1bEvBNXL4D/RxwBi376zojyWCjQnsRLNe8LOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=NQs/8E brIMPYY3qE3YecXMzR75bIRPJpwhWqMiJykjQ=; b=lIuJ7ROHTIDgoVm9KBnwfW RfgoazqaDmEuETjcaH6kUUhxMJWSBcp3dvAD4UvJUrFRZoWcxPg8ioMTxrQYiaa5 Bg4098NvloRQarcTK8pNiqslbZjUwfk+COQnPJn8DSox2gw0vqMa9a2zWl8Yjik4 u6TSDvc7N3W9iNIN68djLBUyaqfyKzioQbJUmOzy0ztBJjaCGuiMeuQXwj+CBL/M UgFZK+rDNTqRzkkQiJ0rPcZx40vlWNIv4UzqTsh2HlCjajyU1bBZBehMCFpsXDc2 drZaOKWd5d/cAMf1UlXOUdnV9C40az5IfdGXfijvQ2IQI3lzCM3kco67mITBisQg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrieehgdduvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdluddtmdenucfjughrpehffg fhvffujgffkfggtgesthdtredttdertdenucfhrhhomhepofhikhhhrghilhcuufhkohhr iihhihhsnhhkihhiuceomhhskhhorhiihhhinhhskhhihiesvghmlhdrtggtqeenucggtf frrghtthgvrhhnpefftdekfefhveehvdeluedvgeehgedvieefieehffefteejhefgteff ffejvdegteenucfkphepjeekrddutdejrddvtdehrddugeejnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhskhhorhiihhhinhhskhhihies vghmlhdrtggt X-ME-Proxy: Received: from YogaTux (78-107-205-147.broadband.corbina.ru [78.107.205.147]) by mail.messagingengine.com (Postfix) with ESMTPA id 0C532328005E; Fri, 16 Oct 2020 14:37:32 -0400 (EDT) References: <87lfhoahf6.fsf@gnu.org> User-agent: mu4e 1.4.13; emacs 28.0.50 From: Mikhail Skorzhisnkii To: Bastien Subject: Re: Folding headings which contain only blank lines In-reply-to: <87lfhoahf6.fsf@gnu.org> Date: Fri, 16 Oct 2020 21:36:46 +0300 Message-ID: <87h7qu10ht.fsf@eml.cc> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=64.147.123.21; envelope-from=mskorzhinskiy@eml.cc; helo=wout5-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/16 14:37:43 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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: , Cc: Dmitrii Korobeinikov , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=eml.cc header.s=fm1 header.b=XkFT2UHP; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=lIuJ7ROH; dmarc=pass (policy=none) header.from=eml.cc; 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: -1.71 X-TUID: 5djsU7w9bFsa Hi, Patch ee3c3b554799c9f0fbe387848cd9eec7e9ab9d95 breaks unfolding when org-cycle-separator-lines set to -1. How to reproduce: 1. Set org-cycle-separator-lines to -1; 2. Try to fold and then unfold "Test" in the following file: #+begin_example ,* Test 1 ,** Test 2 ,* Test 3 #+end_example Unfolding will not unfold Test1 with ee3c3b554799c9f0fbe387848cd9eec7e9ab9d95 applied. Reverting this patch makes it working back. Is there are any other way to fix this? Or may be this can be made as a customisation option? Bastien writes: > Hi Dmitrii, > > Dmitrii Korobeinikov writes: > >> When everything is folded (e.g. on startup), ellipses show >> after every >> heading which has anything in it at all. This is true as well >> for the >> headings containing only one or more blank lines. And while you >> can >> unfold such lines, you can't fold them back unless you use >> Shift-Tab. >> This appears to be inconsistent. Shouldn't it be possible to >> tab fold >> such headings too? > > this should be fixed now (in ee3c3b554), thanks for reporting > this. Kind regards, Mikhail Skorzhinskii