From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kBhzKkoutWRvzgAASxT56A (envelope-from ) for ; Mon, 17 Jul 2023 14:04:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8FoSKkoutWT/6QAAauVa8A (envelope-from ) for ; Mon, 17 Jul 2023 14:04:26 +0200 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 8544E5AECB for ; Mon, 17 Jul 2023 14:04:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hawaii.edu header.s=google header.b=cAt0sdJj; 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=hawaii.edu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689595466; 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=qB9tU/ELUFzA5o/+ECrnzO6wwy3D5w9YxZS7gdMzyNU=; b=bHbf8hCUYETTls6HUHSGietmGrdy/OfoSKh7oE5o6FT0SuPspbk6j3gQo9LMVC7T/TC3ug +2yksCJtuFnDZ0dV/g5s2sA+faB+PfWBXEVizTb/PmODMqpjhVpoZeoUiJnwhluqcJ8E63 7NMpMTIoZMXF0h7N/h/Ey73vX94/9MCRgyrw05eIUGj9TKUhzyc0l90ibXwhYfRhBV/fJ/ T4UbDi8ATkh5xVXIHgpDSffC5fTyXk8LXf7uGt6Q+k3IEIR9l9C2ozCwfoVgXQxd3OdwnW gY/dBWOHmcmhF1uRiPPxUgsqHK/iU4f0q4bCDG2d+IQ2uda9shdPHNHsOigpcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=hawaii.edu header.s=google header.b=cAt0sdJj; 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=hawaii.edu ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689595466; a=rsa-sha256; cv=none; b=q6ygzpCatzEe4TpziZCqb3uyZ0XNdEQRpTJ9cSK33zBbnZiWVKO3dboA9vaHHyCU8g99Q/ T5fnR8OSibvHBJJVTsKK36uOw0vkOe6IKg5R2/bezV6KqJzInl8KkTwN4echdka6YevUwa Mum/kJzhX+1ZsDkHiQhdofkGxM51E0PRU1lolrtUWs0VgDy8CBPEtx4E3rFU1oVi72Z48S pany0B+KS4kwFE5WXSol50a6ry7x8q2uNSiIf6fIC3mzzP80o3HY69LxbQwtag5dLdbeXV 773I+CCpcArRGGVcAFzrcZUNABbbKnYPjzY1li3wJ3gjxf+5TrruzA9Encka2g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLMwy-0000Kk-Kj; Mon, 17 Jul 2023 08:03:36 -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 1qKUSX-0003Nq-QL for emacs-orgmode@gnu.org; Fri, 14 Jul 2023 21:52:33 -0400 Received: from mail-vk1-xa33.google.com ([2607:f8b0:4864:20::a33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qKUSU-00029l-2O for emacs-orgmode@gnu.org; Fri, 14 Jul 2023 21:52:33 -0400 Received: by mail-vk1-xa33.google.com with SMTP id 71dfb90a1353d-4816078ab3cso1419074e0c.1 for ; Fri, 14 Jul 2023 18:52:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hawaii.edu; s=google; t=1689385946; x=1691977946; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=qB9tU/ELUFzA5o/+ECrnzO6wwy3D5w9YxZS7gdMzyNU=; b=cAt0sdJjOMGQFhnnDO+DrAs1ULAFtWSvXPnDxjF2Tc54RRcxY+Zv9+aQNBxRwiXyn8 DPGM2V/rt1exLnk5a/LaNdBG8nJgl7kLWdEykSw0Xox2CAtCSosTe85eMhCwZcD5kdtx +FfCmGCjF+lxd55uk53qf8I3jDCxLNTLC21Es= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689385946; x=1691977946; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qB9tU/ELUFzA5o/+ECrnzO6wwy3D5w9YxZS7gdMzyNU=; b=OKBo04ksrO4AkkhFMXs5fvwINkf21qz9UCM14k8whrpxhY1cwp7luY8jS/pSSdMAcS a/IysdAWT6str3WrS+HZY+eK7mQmbDlCZ05iZiICifyyX7u7M+hiwQ3w2L2SuJY8x3uG AMQkdHvqoamYiat5N5KGoeQlF0h69MjZgqjIyNVevJWfnswphUVqdmv14ZTTO2BggaZd JKaPTQkUeeiaRKOOHajqqGwuF2WVy7jJ89NTPMMo01Y6U6ak1PEUC+o858o4Bq/y37u5 yPJrtIucdYAZ277wQIKYLXH+hKhPKdSu9K+vombGfKqCoVfUfjsFrQ1U8db2M1qsUVOq qbxg== X-Gm-Message-State: ABy/qLatio7OM7FZ542Xjmx9vLaoAk76VJ+vTP4ZAjH18ZCdVymt3iLb WQ2JKMBbBWbzbxW66ccibNLjD7hYR/b4S488l61tFCE9FbV2c3SbDdA= X-Google-Smtp-Source: APBJJlHXcHnc/EPQ+4FZ8o82XBIhncm3FRH4rZBJj06EvjpEhQaD9xnzM1o8TSye7vB8ApGf/S5V4EZlrH5yLFxwPSM= X-Received: by 2002:a1f:3fd4:0:b0:46e:8610:5756 with SMTP id m203-20020a1f3fd4000000b0046e86105756mr1640836vka.8.1689385945718; Fri, 14 Jul 2023 18:52:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ilja Kocken Date: Fri, 14 Jul 2023 15:52:14 -1000 Message-ID: Subject: Re: [BUG] feature request: make org-num-mode not count headings that are COMMENTs or have an :ignore: tag [9.6.6 (release_9.6.6 @ /usr/share/emacs/30.0.50/lisp/org/)] To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000002f02e706007cd1ff" Received-SPF: pass client-ip=2607:f8b0:4864:20::a33; envelope-from=ikocken@hawaii.edu; helo=mail-vk1-xa33.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, 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-Mailman-Approved-At: Mon, 17 Jul 2023 08:03:31 -0400 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: mx0.migadu.com X-Migadu-Queue-Id: 8544E5AECB X-Migadu-Spam-Score: -6.35 X-Spam-Score: -6.35 X-TUID: pi3a59ayT/PL --0000000000002f02e706007cd1ff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I think in the above I may have forgotten that at the bottom of [[ https://github.com/japhir/ArchConfigs/blob/master/myinit.org#reset-gc-cons-= threshold][my config]] I had not uncommented the line that sets the gconf-threshold :O On Thu, Jul 13, 2023 at 3:43=E2=80=AFPM Ilja Kocken wr= ote: > Hi! > > If I have a large org-file with many headings, sometimes it's useful to > refer to the heading number that people have commented on in the > exported PDF (e.g. for an academic paper). However, when I turn on > org-num-mode, this shows a continuous numbering for all the headlines in > the file. I have many headings that are not included in my LaTeX export > for one reason or another, so the heading numbers don't match. > > Ideally org-num-mode would not add a number to headings with: > * COMMENT heading > * heading :nolatex: > > and perhaps based on whether the ox-extras ignore-headlines is activated > or not: > * heading :ignore: > > Emacs : GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.38, cairo version 1.17.8) > of 2023-06-05 > Package: Org mode version 9.6.6 (release_9.6.6 @ > /usr/share/emacs/30.0.50/lisp/org/) > > > -- > Dr. Ilja J. Kocken | Postdoc Researcher at SOEST | University of > Hawaii at M=C4=81noa | 1000 Pope Road | MSB 504 | Honolulu, HI 96822, USA > --0000000000002f02e706007cd1ff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think in the above I may have forgotten that at the= bottom of [[https://github.com/japhir/ArchConfig= s/blob/master/myinit.org#reset-gc-cons-threshold][my config]] I had not= uncommented the line that sets the gconf-threshold :O

<= br>
On Thu,= Jul 13, 2023 at 3:43=E2=80=AFPM Ilja Kocken <ikocken@hawaii.edu> wrote:
Hi!

If I have a large org-file with many headings, sometimes it's useful to=
refer to the heading number that people have commented on in the
exported PDF (e.g. for an academic paper). However, when I turn on
org-num-mode, this shows a continuous numbering for all the headlines in the file. I have many headings that are not included in my LaTeX export
for one reason or another, so the heading numbers don't match.

Ideally org-num-mode would not add a number to headings with:
* COMMENT heading
* heading :nolatex:

and perhaps based on whether the ox-extras ignore-headlines is activated or= not:
* heading :ignore:

Emacs=C2=A0 : GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version=
3.24.38, cairo version 1.17.8)
=C2=A0of 2023-06-05
Package: Org mode version 9.6.6 (release_9.6.6 @
/usr/share/emacs/30.0.50/lisp/org/)


--
Dr. Ilja J. Kocken | Postdoc Researcher at SOEST | University of
Hawaii at M=C4=81noa | 1000 Pope Road | MSB 504 | Honolulu, HI 96822, USA
--0000000000002f02e706007cd1ff--