From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mK/QI7U4+WWb1AAA62LTzQ:P1 (envelope-from ) for ; Tue, 19 Mar 2024 08:03:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mK/QI7U4+WWb1AAA62LTzQ (envelope-from ) for ; Tue, 19 Mar 2024 08:03:17 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=dHM+sXil; 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=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710831797; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=exWJvLvZACKPOm5EaYiuJbKC45afrfuyzQ+o3MODT6I=; b=so7EDXTbgRyqONbqoLWVBWsqR4Bu/AW/SrWmTyfdH3D2We8sDDzexMr68nlzhIfD9Djf3T nAyRnKnP9fWAKTtGKuQi8iVymI99OWbhLST/Qkx95aciHXotI/aBUJwXwutrdmQEO2TxhQ m4INTbDM79Wtjz+5y6OrWejbd877MRiSiKJgBUaopa+qEfvfJQbzvx08cP7NAqEPaCsgZG Wu7BhFprLDQxUnuzpCcKbhkiJmKf5hJNuYjWf+7j8Yc0pYGfEhIp3+mraPqopP3sWhV+cr PLPITFAIITJPjPSAzBkRPCZ+7LMTidiJgw/dHFVzCbIE526mgkaNbx7XbwaNqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=dHM+sXil; 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=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710831797; a=rsa-sha256; cv=none; b=Dtwl/JrU6Anp5foUhd5h2qoXNLYlpKq1/nFhcznZFwVaZH6qNkeUn4ZP8ZbcNoTstpfwmi pX1tYZzG7j6mXxyig7+8v9RgloDgxJZoPQOOjXcAXTpM5LpISl4oRjSTQzdRIItDVEvsgQ VuplVzucRnlXqJgZNeu7BYCm8AYA4jdjMZjytSjkJUs7efuLcGBvhhR1b3pQ4aFuPf28/o 3FdtVQU9aNzuf2PmYmpAKAg3wMbqGAG+EOwTFD0/Vthd6IT5gDBmSBW3v20KBMjtZrOIhT FUhflVjX87JRSDhaHAwjtXHcGQ38icmw8NTgXw0TZnDERdyxtYfXEkAeNe5fxw== 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 1E8C820897 for ; Tue, 19 Mar 2024 08:03:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmTUE-0001z4-L6; Tue, 19 Mar 2024 03:02:14 -0400 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 1rmTU8-0001yF-4k for emacs-orgmode@gnu.org; Tue, 19 Mar 2024 03:02:09 -0400 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmTU6-00034H-6E for emacs-orgmode@gnu.org; Tue, 19 Mar 2024 03:02:07 -0400 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50e4e36c09cso1885367e87.1 for ; Tue, 19 Mar 2024 00:02:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710831722; x=1711436522; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=exWJvLvZACKPOm5EaYiuJbKC45afrfuyzQ+o3MODT6I=; b=dHM+sXil4uRNpEAc+EIvaDsYKu2vxTOrSc+00APNeIQNON4DIUWi6hfTcK6NSObvCo rkhNPeqvEby6cGHjbWXxtKgczTpIuuuKFlAeIFv/s4dbhxUzA0yr1tIU6iAMoVNTBKfd AquqIQFBsfJzN3IjEKussU/umeXOCUz7pQb06GtvSwtaWWH0UlAcfY22MWXQIl1x24+k Bzb95n5c/1JbYhH7HM6pNsVjcUQQB3FdfOtvgbvxksF3Qo38BMp9zXElunAdljIbvQlS zUijoA/ZoYdOweUjRGrE/p6Cws/epSo9dUQAtC0KoZRFiD17c73sKr3KQ6w7MtV7LfFp YErw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710831722; x=1711436522; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=exWJvLvZACKPOm5EaYiuJbKC45afrfuyzQ+o3MODT6I=; b=pT77Dka+p/H6N5SbSbf89KQHta7PNwC1TPnpwDoztJh2GHd7ip6yjsbAtCbba9Zja5 9rLfaLXokjzmkqsSWgDxc377W8BQ5qTtqra4JCk4SFc0+PKO1MuTYeeYbZ3NJs2CK3iO qtTSnf8SwOux9r7H/Fd16vYi9D1ftwyhKyTDvC95f0yB2legFAF1k1b0i06v7qcwDvb9 mVZh8+kHfSPC3e6JrWyFimdmb9MunSOJqgOvNMVYKaa/Ym+mx+paFPaSe6U5pywRVIIm CCMd0zlHppi64eC0WPjiYF5bojK1p40JR2mPK6WWmw+K1zW3hIv6aZs0TiAfE0d62Rve 4pKQ== X-Gm-Message-State: AOJu0YyF6eOrzzKfw/Y3PWR5LDCIBwOpi5CTBxEmaRgw5j+tetjdsmWc k2EyvIS2f8G+OGRbDNyyynS+2kHm+0B/ZtA70NR0m992IRmsPIWfM6GZSd4LudkPaVkozegsXx+ EwGocqau/DSugKvIcsRxpeoKoBjB2VS95HMEXYkYf X-Google-Smtp-Source: AGHT+IEl2bBpwjMgfCqn81IqF1n/l22Laj9Px9T7yvgWNCDOE1HGEChjERCNQtvi56dNT5YDGHZ5EZ8nK80zwW27hKo= X-Received: by 2002:a2e:8e99:0:b0:2d2:a4e6:a5b0 with SMTP id z25-20020a2e8e99000000b002d2a4e6a5b0mr750523ljk.4.1710831722009; Tue, 19 Mar 2024 00:02:02 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:aa6:d9d6:0:b0:28a:555c:7538 with HTTP; Tue, 19 Mar 2024 00:02:00 -0700 (PDT) From: Samuel Wales Date: Tue, 19 Mar 2024 00:02:00 -0700 Message-ID: Subject: heading structure ramblie To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000000f9d870613fe0d11" Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=samologist@gmail.com; helo=mail-lf1-x12a.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.59 X-Spam-Score: -9.59 X-Migadu-Queue-Id: 1E8C820897 X-TUID: n+tPNRLyQU+o --0000000000000f9d870613fe0d11 Content-Type: text/plain; charset="UTF-8" this is open ended. i'd probably be happy with simple solution but want to explore the space. i sometimes need to know when a folded heading has children, and also possibly go to them. maybe it swallowed a heading without my intention. creating new headings with c-c * seems to create children, when i want a sibling. (so maybe i need a command like c-c * that creates a sibling. but i also want to show and navigate heading structure.) i'd also like to know without linting the whole file if anything is awry locally, such as twice or more indented (*******) or half-indented (****), when org-odd-levels-only t. it is too cumbersome to go to the parent and expand all with TAB and navigate headings. this could be solved by showing a view similar to canonical visibility, but only headings perhaps as an org-cycle state. i THINK this is supposed to be possible with c-u: 2. CONTENTS: Show all headlines of all levels, but no body text. i probably need to upgrade, but in org 9.6.7, it folds and mangles the whole buffer. or perhaps i can run org-fold-show-set-visibility as a special command. this view would show the heading structure without anything else. maybe it's there, but i couldn't find such a view in org-fold-show-context-detail. if this view is indeed present in c-u m-x org-cycle, then perhaps for consistency it is or should be also usable in org-fold-show-set-visibility. org-cycle uses org-cycle-content, but that folds the whole buffer in my version of org. perhaps i would bind a command to run (org-fold-show-context-detail 'headings-canonical) or something like that. but maybe we can get more fancy, by running a command that will overlay org-ellipsis with the number of direct children. or perhaps simpler, is there a command that will go to the next heading even if it is invisible, and unfold? there seems to be no org-next-heading, but there is one for visible headings. -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com --0000000000000f9d870613fe0d11 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable this is open ended.=C2=A0 i'd probably be happy with simple
solution= but want to explore the space.

i sometimes need to know when a fold= ed heading has children,
and also possibly go to them.=C2=A0 maybe it sw= allowed a heading
without my intention.=C2=A0 creating new headings with= c-c *
seems to create children, when i want a sibling.=C2=A0 (so maybe = i need a command like c-c * that creates a sibling.=C2=A0 but i also want t= o show and navigate heading structure.)

i'd also like to know wi= thout linting the whole file if
anything is awry locally, such as twice = or more indented
(*******) or half-indented (****), when org-odd-levels-= only
t.

it is too cumbersome to go to the parent and expand all w= ith
TAB and navigate headings.

this could be solved by showing a = view similar to canonical
visibility, but only headings perhaps as an or= g-cycle state.

i THINK this is supposed to be possible with c-u:
=
=C2=A0=C2=A0=C2=A0 2. CONTENTS: Show all headlines of all levels, but n= o body text.

i probably need to upgrade, but in org 9.6.7, it folds = and
mangles the whole buffer.

or perhaps i can run org-fold-show-= set-visibility as a
special command.=C2=A0 this view would show the head= ing structure
without anything else.=C2=A0 maybe it's there, but i c= ouldn't
find such a view in org-fold-show-context-detail.

if = this view is indeed present in c-u m-x org-cycle, then perhaps for consiste= ncy it is or should be also usable in org-fold-show-set-visibility.

= org-cycle uses org-cycle-content, but that folds the whole
buffer i= n my version of org.

perhaps i would bind a comman= d to run (org-fold-show-context-detail 'headings-canonical) or somethin= g like that.

but maybe we can get more fancy, by running a command= that
will overlay org-ellipsis with the number of direct children.
<= br>or perhaps simpler, is there a command that will go to the
next headi= ng even if it is invisible, and unfold?=C2=A0 there
seems to be no org-n= ext-heading, but there is one for
visible headings.



-- The Kafka Pandemic

A blog about science, health, human rights, and= misopathy: https://theka= fkapandemic.blogspot.com

--0000000000000f9d870613fe0d11--