From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MIn6NxmPtWQ5cgEASxT56A (envelope-from ) for ; Mon, 17 Jul 2023 20:57:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IMwYNxmPtWR2cwEAG6o9tA (envelope-from ) for ; Mon, 17 Jul 2023 20:57:29 +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 C780C4F434 for ; Mon, 17 Jul 2023 20:57:28 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hawaii.edu header.s=google header.b=Q8crKFsI; 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=1689620249; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=x7FtN6ZkurL8f+LsaGlnQNv05k3R6+CaNf6RShv/rKA=; b=ao2pKySzBzhUvLOo7/X83tAJe/gce2dhDn6WfSJ4O9IkPunaPihADMMl83oVwwKF6YwE6u 3m5WvZR8fQDS1NEKPf6cdreI9es/9d+Unw0beb+I3hssQC+rLNHdTy7fxefO9sPMbUNlfY 1rJowocwNeadCE602cQMNvHbwfahVZPGNiH1V6RTYTC4/l/Zxd0zKnwOxTQLPhzO9buR4a 3i5hmUR+VaJH0Y5xiIiiUf1c//PsyMS0N3O6RoUwV98N8p19QRk3Fi9EVq4PhtjeejSPxZ vGSX/aS4qKK/WV8Rch0DQ7PcSHW9w/hpS6rWeVjPOe3X7ls/m02alPyt7Ai/Jw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689620249; a=rsa-sha256; cv=none; b=Lwumi2sVzq7d6rA4fKbwipza+5O5U5gwrBKKS41a31ykYAaf5zKOFEPVpufi2Acy+mhaiH jeqIh3fCtk/tWgUPjqlgtw6JeBWy3O63fykuOk353HfjFpaO0z07FGZPhi4sPVpYZDBhDT 7IYjCw4Jy37ERNxUdFffSwRg5YgZHCu/39ZWqpEyZKgTazjN+8Lli0vWuQcwSDZkD9ZiXy 93u/xllJoRwLSdxD/G35gP7k+m4LUbkpT6Ch4qgSPLJHetsqCU/xglWz1jE18DPnWs8fHK 1/iMRYl90vZZCnnX8QL0jBr/P+j+ApZ8byrtdfx6N4D6HHOPH/hfUfS/KywJFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=hawaii.edu header.s=google header.b=Q8crKFsI; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLTOd-0008E8-NW; Mon, 17 Jul 2023 14:56: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 1qLTOZ-0008Ao-Ec for emacs-orgmode@gnu.org; Mon, 17 Jul 2023 14:56:31 -0400 Received: from mail-vs1-xe35.google.com ([2607:f8b0:4864:20::e35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qLTOS-0001ff-V0 for emacs-orgmode@gnu.org; Mon, 17 Jul 2023 14:56:31 -0400 Received: by mail-vs1-xe35.google.com with SMTP id ada2fe7eead31-444f9c0b2a4so1449247137.1 for ; Mon, 17 Jul 2023 11:56:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hawaii.edu; s=google; t=1689620181; x=1692212181; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=x7FtN6ZkurL8f+LsaGlnQNv05k3R6+CaNf6RShv/rKA=; b=Q8crKFsIFxbGUXbzJW1WS7ah6vrbYphQ75PpCRSssaj35YQq+rzDVp4xgnTWvfXyBA AnWOS3YpmWOPinlOddqq+mGuvtifog2FQlGXOILGFKx1qND9vxpDb8LPmpQOAFHf2Xvk JsSUZ38hmBQI+jpVsylhZRTaf+DNjVH4MX8ks= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689620181; x=1692212181; h=cc: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=x7FtN6ZkurL8f+LsaGlnQNv05k3R6+CaNf6RShv/rKA=; b=LfJheGNnllctB5A4AaQcfSqBjHYWu9kqqDtyW2fxpe60EFr6NwhVmdREoOueMRckrL SEAQqH11424h4SjnLZBvtG9bJUSI9hUsDxuyhlLDglH+FCtcTM0FbwQUU0Znt7bA/ZhN dCE6CEEtv68zaRwCs9DEPCmjY2F1mHw1HqDPNfgiXfQk/sTiRaMpSD73k/pk57XOxyok iGdDrnfDf/dQpmuyWKLqs+nl5HqqR/9XQUfnSsOZj+23nUbs6hi+CG5Gvh4X1hSGIg8M c0jstF0knuzWWp9TCF/+qdos0xtasxxIvasu0Hjgh16Ttj24KpD/B0O2QXty1YUqrKrl HHIg== X-Gm-Message-State: ABy/qLa9sRkHrt/WaJufPZreUogXECd4BnFObkS24qUktJN/b1XKO+PS WfgL66Gwc+iqpjk1NWJ3UTmPSIkGMuqDLiqOd7iOXQ== X-Google-Smtp-Source: APBJJlGsCHn3oV4YUAwMOR/YUtKuQCzjciqBx6hKAcmqSxm5bx+LRXruko3qXL9Ig1YhRSPjesWEZFahZfvbZoUr6Dc= X-Received: by 2002:a05:6102:1352:b0:43f:561c:2ea3 with SMTP id j18-20020a056102135200b0043f561c2ea3mr5563516vsl.21.1689620181552; Mon, 17 Jul 2023 11:56:21 -0700 (PDT) MIME-Version: 1.0 References: <87v8eiiumd.fsf@localhost> In-Reply-To: <87v8eiiumd.fsf@localhost> From: Ilja Kocken Date: Mon, 17 Jul 2023 08:56:10 -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: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000ba2e0f0600b35a46" Received-SPF: pass client-ip=2607:f8b0:4864:20::e35; envelope-from=ikocken@hawaii.edu; helo=mail-vs1-xe35.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-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-Spam-Score: -10.62 X-Spam-Score: -10.62 X-Migadu-Queue-Id: C780C4F434 X-Migadu-Scanner: mx1.migadu.com X-TUID: D+6FcKOWvGWA --000000000000ba2e0f0600b35a46 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ah thanks for the info, I messed up by only looking at C-h f org-num-mode, and not looking at customize-group. Thank you :) On Mon, Jul 17, 2023 at 2:35=E2=80=AFAM Ihor Radchenko wrote: > Ilja Kocken writes: > > > 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 i= n > > 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 activate= d > or not: > > * heading :ignore: > > See `org-num-skip-commented', `org-num-skip-tags', and generally "Org > Num" staff in M-x customize-group org-appearance > > Canceled. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at < > https://urldefense.com/v3/__https://orgmode.org/__;!!PvDODwlR4mBZyAb0!XEe= AiUVhr0Q9RZmWhARjn77YA5CoMvWp_0cdCN4SZSoWWIvwkhcnL3pWm-LatsWrvi7bI-dium_rKa= t5o4k$ > >. > Support Org development at < > https://urldefense.com/v3/__https://liberapay.com/org-mode__;!!PvDODwlR4m= BZyAb0!XEeAiUVhr0Q9RZmWhARjn77YA5CoMvWp_0cdCN4SZSoWWIvwkhcnL3pWm-LatsWrvi7b= I-dium_rRQ4SYCU$ > >, > or support my work at < > https://urldefense.com/v3/__https://liberapay.com/yantar92__;!!PvDODwlR4m= BZyAb0!XEeAiUVhr0Q9RZmWhARjn77YA5CoMvWp_0cdCN4SZSoWWIvwkhcnL3pWm-LatsWrvi7b= I-dium_rXK24r_s$ > > > --000000000000ba2e0f0600b35a46 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ah thanks for the info, I messed up by only looking a= t C-h f org-num-mode, and not looking at customize-group. Thank you :)

On Mon, Jul 17, 2023 at 2:35=E2=80=AFAM Ihor Radchenko <yantar92@posteo.net> wrote:
Ilja Kocken <ikocken@hawaii.edu> writes:<= br>
> If I have a large org-file with many headings, sometimes it's usef= ul 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 expor= t
> 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 activat= ed or not:
> * heading :ignore:

See `org-num-skip-commented', `org-num-skip-tags', and generally &q= uot;Org
Num" staff in M-x customize-group <RET> org-appearance <RET&g= t;

Canceled.

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://urldefense.com/v3/__https://orgmode.org/__;!!PvDODwlR4m= BZyAb0!XEeAiUVhr0Q9RZmWhARjn77YA5CoMvWp_0cdCN4SZSoWWIvwkhcnL3pWm-LatsWrvi7b= I-dium_rKat5o4k$ >.
Support Org development at <https://urldefense.com/v3/__https://liberapay.com/org-m= ode__;!!PvDODwlR4mBZyAb0!XEeAiUVhr0Q9RZmWhARjn77YA5CoMvWp_0cdCN4SZSoWWIvwkh= cnL3pWm-LatsWrvi7bI-dium_rRQ4SYCU$ >,
or support my work at <https://urldefense.com/v3/__https://liberapay.com/yantar92__= ;!!PvDODwlR4mBZyAb0!XEeAiUVhr0Q9RZmWhARjn77YA5CoMvWp_0cdCN4SZSoWWIvwkhcnL3p= Wm-LatsWrvi7bI-dium_rXK24r_s$ >
--000000000000ba2e0f0600b35a46--