From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6G5+KlMutWSs5AAASxT56A (envelope-from ) for ; Mon, 17 Jul 2023 14:04:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2NlCKVMutWTxAQEAG6o9tA (envelope-from ) for ; Mon, 17 Jul 2023 14:04:35 +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 645A54ADE8 for ; Mon, 17 Jul 2023 14:04:35 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hawaii.edu header.s=google header.b=BQYQvqLr; 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=1689595475; a=rsa-sha256; cv=none; b=C9beXaCL0M97VPz7GWygs0jtbpKbmQi15RzrLZ9oS+Ql5PrHptf4HDCWLRMXIOc6or7ASb LKCo47q2/Fr1mrpwjdLDMi0qmdgL0Q8loGaRQwV8/Kit8zVtBSHdGRGkuf+xIbN3BwbmrP mFZStEXRZWsbqxehLAHrzc7I+wXXWgJhTMrQCCXWZ5l/L5mVMxWFmQxJzbb/tIz6cHr3Yx 9Nky1vTQzfosSf27GSlgyByx18xzCjG4q1rZV4g07VoWGe39shjTL9lQMIahKGcy4qP297 GToaNrAgAJpF6lGoalXzggixgzINi4q+3XHAnbp0ZHqqNZQsALyn4P/KjUE2CA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=hawaii.edu header.s=google header.b=BQYQvqLr; 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=1689595475; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=byKPg5SKMv9BRDp4Az1c8J+2MkZ2rV5Sswyp+mFZdwQ=; b=B79PLIl6Yig++ApjSjv4ZyZ6Ko996VBkvJZPJb51GSR+otFHuUTGOjcBTjq3gvTt58IFr1 Kg/+7i8pLvdqo//4+VnOsnu5x4zK+b3rOT3kTgwPdKP8tk8F3B/lkWdM5ys2Y3jnHX6XjO W3ihP+Xl0qHmcns45oz4eFHuDE1thqffPgWoecU2B4fjveCJSvERJM1+dNC+2JYK3sDehq dzJLNChfaCeT1IP42SjaWtrAzMHQWzUvPJEGQrKR0npTsr5rWcwkgodsJdc5mmLkTmuTFW pUeVdSxQOuNCoC5nTKt+7JW2oegBbNT0pRSu9u2AJNjDoB/l8Bolp+TUrN8l1Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLMwv-0000KK-GL; Mon, 17 Jul 2023 08:03:33 -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 1qK7qw-0007ko-Ao for emacs-orgmode@gnu.org; Thu, 13 Jul 2023 21:44:14 -0400 Received: from mail-vs1-xe33.google.com ([2607:f8b0:4864:20::e33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qK7qp-0002fE-0F for emacs-orgmode@gnu.org; Thu, 13 Jul 2023 21:44:13 -0400 Received: by mail-vs1-xe33.google.com with SMTP id ada2fe7eead31-4435508cff9so511631137.0 for ; Thu, 13 Jul 2023 18:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hawaii.edu; s=google; t=1689299042; x=1691891042; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=byKPg5SKMv9BRDp4Az1c8J+2MkZ2rV5Sswyp+mFZdwQ=; b=BQYQvqLrtAONc/VhIa1rnJQ9aaCP8gQj1L0Kqz0Vwo1ZoTqcWmfe3J+ZG/al+my0S+ sMqAIv2RsCNKtJJSDMreuXzkTwwefRboFHh+JHvViKfyLsLicG17K39AiQLh+DfwrtPB GFGnYwK8uzL62go9Sac+7Bk7SuvXtgXc8EBSQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689299042; x=1691891042; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=byKPg5SKMv9BRDp4Az1c8J+2MkZ2rV5Sswyp+mFZdwQ=; b=BzNPiIt0rV7xoBOA6e7V4KrD3JAzd3pRtjPAT7v41NR78uqDuhuCSfjlnA1Ykbr4x8 qSbN+q+uUo/epqK3z4mKZZKgCJE1XZJ8ruSS1NJFPS2zV9vZa3JNc7QQ+qUwG9q7RtaE yxkQZA65g9s+sTZmfktDncAi5yROdluBmhIjCZAdOcldil7RYv/vaK2UAMrgkUGOkDr1 3uDwoHhOOjEEAHI+rqkylU0n1mudkvQt2jYb9wmRGRyEN23n3jQ7bFCjZvutFH/qJNbS uQhls5xXHBqDYMuoaQnaL7nYjGWkGd0i7eyuOj/3o/yZ2wm9CSUKTwEyZ3xdSBgYJN6q f10w== X-Gm-Message-State: ABy/qLZBRjhZSpVkfBxPyftJoCi0B3aLlvyGfLGyHHZAcvsGEXltBo7D 9n0OLBEcQXRuPjyJk4FQ4xfLkytOWl7eOXDdB8xfhPr+Dt68kRjHCh8= X-Google-Smtp-Source: APBJJlELxaboZozPaAQgqemXBpM7mZdmAJg2XVn7hhdkRsX9jL66xmE/Bnp4jHrjAzHYRka+wt3UJBZYkOaG06XahEY= X-Received: by 2002:a05:6102:446:b0:444:bb6c:1188 with SMTP id e6-20020a056102044600b00444bb6c1188mr2422044vsq.1.1689299042645; Thu, 13 Jul 2023 18:44:02 -0700 (PDT) MIME-Version: 1.0 From: Ilja Kocken Date: Thu, 13 Jul 2023 15:43:51 -1000 Message-ID: Subject: [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: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::e33; envelope-from=ikocken@hawaii.edu; helo=mail-vs1-xe33.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, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.34 X-Spam-Score: -7.34 X-Migadu-Queue-Id: 645A54ADE8 X-Migadu-Scanner: mx2.migadu.com X-TUID: noACZSkKiXYb 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/) --=20 Dr. Ilja J. Kocken | Postdoc Researcher at SOEST | University of Hawaii at M=C4=81noa | 1000 Pope Road | MSB 504 | Honolulu, HI 96822, USA