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 wP0NKsg1tWQBzgAASxT56A (envelope-from ) for ; Mon, 17 Jul 2023 14:36:24 +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 AE/iKMg1tWQKMgEAG6o9tA (envelope-from ) for ; Mon, 17 Jul 2023 14:36:24 +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 4AA2C590E6 for ; Mon, 17 Jul 2023 14:36:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=msLoVHSl; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689597384; 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=NQuxmT15dzQP3zQp7vX/Q1fiMzvg5SF1qPMVnQD/tEk=; b=s203gAQUqoYL9byCvZNElP4Up0NpUFXuNfh3ojA/Sv1kanmEHOdM7oxCxDLZF+YXAchhBZ sU3ItRoiyc8X8YWNwW+0IrN1j1Q24EoN+UGae7kPOs3uX6uhGU8c8igLB3BNsgi6xoF4GY EhRZJ7b5WyGPq/CAlMDkj71Rjzl/hYiS4Lys7f+zUIZmg/fZT0iDBAfISN0fO129dFeEZB 40UvIsCsOUkQoKoC61w5zKtsXTshUpstshCq4cj+YXcG3gIqzTjvSxU5M8upajzNOS324g lIKy56THoUCVAcIzc406i4LyKbhGdZy0K6xeFoxJjRc83GAFalMF6wyPwRFUaA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689597384; a=rsa-sha256; cv=none; b=easELObn6QELoNO4BSiPcsoMLW5jCGbVlDUSse5oj8zXyzIf3Ljn6qt4VCfEp0qdfpwcVB mErGVIqnvOtlZuqou+NDo2sW6RKsGIIozQmEcTEmHZeeIAUTcWTD+Alu9+s1HnZInIUprJ pu7xmeZBD4Qd0K8l1nJfM1CqQ9Qz22cIfTh0GGe8vnqIpFu3JF3trj1jwVOWvOlNFDTUHI WTBs6jtCRNOW5Xc9ZdNOghRTFIPTIFynXmwMIFV5dLAu3UOg1nHjmGoWW0ZZ6VzHcVj2X9 fXJYFNPuJXZL9aLe4mj6iTNlL0ZjWjscT2IEjBI/x2NzEIKs69qWT8q5iDkfFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=msLoVHSl; 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=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLNRn-0002Sz-Jk; Mon, 17 Jul 2023 08:35:27 -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 1qLNRR-0002OR-NA for emacs-orgmode@gnu.org; Mon, 17 Jul 2023 08:35:08 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLNRL-00062d-Hd for emacs-orgmode@gnu.org; Mon, 17 Jul 2023 08:35:05 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3C4C9240101 for ; Mon, 17 Jul 2023 14:34:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689597296; bh=nSsZKj+w5ZKYl2F3IotPtc7TUhPBM26eZ/1W0QNZQsQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=msLoVHSl/2svCplRc81ARtoA2H7HYojncI1L3wF6QTWrjqFtA1Kp0KUYPzrCKkjtT 8fmH3ClXo+mz55eFZW1kO/SFLR0VNAXTE1J1rYXnR7iStUChdjseDcIK+vwHepOT0J 5hjMFSRWcWsxcx1UuWN9hjU1OSJo9Wpnq4lcOQCrFKYWtHXVoTkGBZfFfUNZ1dnAwz 6Z/qp0JdpJmzk1KuoynTBHYA57/d+H7Q5NpfhhHPyN5c0Md8xEmcWmqx8qCk0z6l69 mSHP8ewYQWtjfMWVBnRty6/9BCVWD1AEDDtXJENQIdatvFo1iJogpUFnPbaLaU8PGI KbSfzyUNCBYnw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R4M3g2yVcz6tn4; Mon, 17 Jul 2023 14:34:53 +0200 (CEST) From: Ihor Radchenko To: Ilja Kocken Cc: emacs-orgmode@gnu.org 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/)] In-Reply-To: References: Date: Mon, 17 Jul 2023 12:35:06 +0000 Message-ID: <87v8eiiumd.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: -9.30 X-Migadu-Queue-Id: 4AA2C590E6 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -9.30 X-TUID: 1V+C6/wSnvIr 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 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: 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 . Support Org development at , or support my work at