From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oGQ0MA1g4mPvuQAAbAwnHQ (envelope-from ) for ; Tue, 07 Feb 2023 15:28:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GIBBMA1g4mPlFQAA9RJhRA (envelope-from ) for ; Tue, 07 Feb 2023 15:28:29 +0100 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 5C36239A7F for ; Tue, 7 Feb 2023 15:28:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPOwr-0006AY-8m; Tue, 07 Feb 2023 09:27:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pP8M0-0007pW-Ol for emacs-orgmode@gnu.org; Mon, 06 Feb 2023 15:44:45 -0500 Received: from out3.mail.ruhr-uni-bochum.de ([2a05:3e00:8:1001::8693:359b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pP8Ly-0001V0-GK for emacs-orgmode@gnu.org; Mon, 06 Feb 2023 15:44:44 -0500 Received: from mx3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out3.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4P9dY02m1Vz8SNn for ; Mon, 6 Feb 2023 21:44:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rub.de; s=mail-2017; t=1675716276; bh=/ktso6AGgkR1BWNhTVp9CJjgJF0LUNd+23obslaGtHQ=; h=Date:From:To:Subject:References:In-Reply-To:From; b=mdwW6Q9fh2lpQ7Y3H4WcyUWbolu6+OL618Z5u0wts+DYAToo3+sQSC39ejsy+v8gO KDjR9SP0/wxGSvaZcwtwBZ2CEPawqY0fwgyT+PZnc3Bc7Qiq8PkDT3GHAutddu89QU 3WFFdf2yL9SKjFnsZIcMkZqaKks1IPXHJ/CHWeRY= Received: from out3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx3.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4P9dY026Fgz8SNN; Mon, 6 Feb 2023 21:44:36 +0100 (CET) X-Envelope-Sender: X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out3.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTPS id 4P9dY00mJjz8SN1; Mon, 6 Feb 2023 21:44:36 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.7 at mx3.mail.ruhr-uni-bochum.de Received: from curry (dynamic-046-114-161-130.46.114.pool.telefonica.de [46.114.161.130]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4P9dXz4j4JzDgym; Mon, 6 Feb 2023 21:44:35 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 1.0.0 at mail2.mail.ruhr-uni-bochum.de Received: from wiskott by curry with local (Exim 4.94.2) (envelope-from ) id 1pP8Lp-0007iW-Qv; Mon, 06 Feb 2023 21:44:33 +0100 Date: Mon, 6 Feb 2023 21:44:33 +0100 From: Laurenz Wiskott To: emacs-orgmode@gnu.org Subject: Re: new org mode, changed folding behavior could be improved / more consistent Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a05:3e00:8:1001::8693:359b; envelope-from=laurenz.wiskott@rub.de; helo=out3.mail.ruhr-uni-bochum.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 07 Feb 2023 09:27:51 -0500 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=rub.de header.s=mail-2017 header.b=mdwW6Q9f; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=rub.de ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675780109; a=rsa-sha256; cv=none; b=PpJ4+RlFtgpYITsMYSkiYuk29Efyt+oSX+KgN8XazkaIjSEAHgZrS2li91aWDp522ajUC2 NUkKUadhpqMkktJE9dNqr4apezS1TGwgr9JErQCYqNkMVNfLX7eFXFstmhDxZiOkvmFt8Z /hqlMDvL0fyGtNJBT+cTvzpNClvV5wHn6SEcXtV9WGL+qibPm/RBtrLJ6WlFTqoE7wd2U1 LDM9KePUEuKLWK8OdTsfAHrUCwJUFgW3MC5U5TNpK2KsWQAJMpyzwNgOmuLXX2e8J0PPAf Oqrbbe7HWnxtUjV9aXPbxPywwNdRejv9k0rCp9JlfIDCrJlW5zHU+y4rfGMZjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675780109; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VjNb2eFzNJADjFnmVz4yNTHaVxyuHhTa8nnmZx2JUmk=; b=spZebboiv3RbHaClO6/BEtWV8LoEp76g7cCRnGUvqKqZUbyM85SwbgZ4c8d6pPaR7221yV 0WBHYCfgt+ct55MHCnKCUY0PsTl3LfScuaDUmYeS/PjBbO2AXp7RYxRDafJLdK3/zYsiHK jn2UIPSAf/N3IXABK1NZkwNpWBm3SmmhtDg4SCuDKO/cbk1nKZkfnekx/nj9FRKcbUsygz c9OVpCTDSMYwhRYm8M9UysYrMlu2ku9LwP6bXxJaGMH0nfvjok4JkJd3+uw9L0KKVn3TPD QId5KOOrqDGIKJwBzEcSS09dKbLelyNLJG0LPSL0BqnQVE0nOIa4E4D3XhdLfA== X-Migadu-Queue-Id: 5C36239A7F X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=rub.de header.s=mail-2017 header.b=mdwW6Q9f; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=rub.de X-Migadu-Spam-Score: -7.49 X-Spam-Score: -7.49 X-TUID: 3DSPqu2kJkNK PS: I use org-mode version 9.4 On Mon, Feb 06, 2023 at 09:08:16PM +0100, Laurenz Wiskott wrote: > Hi, > > org mode has apparently been rewritten somehow. At least I noticed a few differences > after updating to the new Debian version. For instance, it got much faster. GREAT! > > There is one feature however that I really miss: It used to be that I could add an entry > with a certain number of stars in the first line, and then 'org-global-cycle' using S-TAB > would allow to make all the headlines visible only up to that many stars. For instance, > a file with > > > *** - > * 1 > Text 1 > ** 2 > Text 2 > *** 3 > Text 3 > **** 4 > Text 4 > > after one or two S-TAB (depending on the initial folding state) would look like > > *** - > * 1 > ** 2 > *** 3 > > without the 4-star headline visible. If I remove one star in the first line and type > S-TAB once or twice, then it looks like > > ** - > * 1 > ** 2 > > I found that a convenient way of controlling the depth of the CONTENT view (I believe it > is called). That does not work any more. Typing S-TAB once or twice leads to the > CONTENTS view that shows all headlines, no matter how many stars and independently of the > first line. > > I have read that I can get the desired behavior with a numerical argument. So, I have a > work around. GREAT! > > However, I find it inconsistent, that 'org-global-cycle' and 'org-cycle' work > differently. The latter shows the old behavior (GREAT!), but can apparently not be > controlled directly with a numerical argument, while for the former it is the other way > around. > > I suggest, to enable the trick with the first line for both 'org-global-cycle' and > 'org-cycle' and to also enable overwriting this with a numerical argument. > > Here is an example for 'org-cycle' > > * 1 > *** - > ** A > *** Aa > Text > ** B > *** Ba > **** Ba1 > Text > > Typing TAB once or twice (depending on the initial folding state) on the main headline (* > 1) yields the view: > > * 1 > *** - > ** A > *** Aa > ** B > *** Ba > > If I remove one star in the second line (*** -), typing TAB yields > > * 1 > ** - > ** A > ** B > > So, that still works. But a numerical argument has no effect. However, I found that C-c > TAB (org-show-children) does this, but why not just numerical argument plus TAB, like for > S-TAB? > > Anyhow, I am extremely grateful for the org-mode and I use it daily. Thanks a lot. > > Best, > > Laurenz Wiskott.