emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [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/)]
@ 2023-07-14  1:43 Ilja Kocken
  2023-07-15  1:52 ` Ilja Kocken
  2023-07-17 12:35 ` Ihor Radchenko
  0 siblings, 2 replies; 4+ messages in thread
From: Ilja Kocken @ 2023-07-14  1:43 UTC (permalink / raw)
  To: emacs-orgmode

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ānoa | 1000 Pope Road | MSB 504 | Honolulu, HI 96822, USA


^ permalink raw reply	[flat|nested] 4+ messages in thread

* 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/)]
  2023-07-14  1:43 [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/)] Ilja Kocken
@ 2023-07-15  1:52 ` Ilja Kocken
  2023-07-17 12:35 ` Ihor Radchenko
  1 sibling, 0 replies; 4+ messages in thread
From: Ilja Kocken @ 2023-07-15  1:52 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1353 bytes --]

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 PM 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  : 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ānoa | 1000 Pope Road | MSB 504 | Honolulu, HI 96822, USA
>

[-- Attachment #2: Type: text/html, Size: 1807 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* 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/)]
  2023-07-14  1:43 [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/)] Ilja Kocken
  2023-07-15  1:52 ` Ilja Kocken
@ 2023-07-17 12:35 ` Ihor Radchenko
  2023-07-17 18:56   ` Ilja Kocken
  1 sibling, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2023-07-17 12:35 UTC (permalink / raw)
  To: Ilja Kocken; +Cc: emacs-orgmode

Ilja Kocken <ikocken@hawaii.edu> 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 <RET> org-appearance <RET>

Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* 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/)]
  2023-07-17 12:35 ` Ihor Radchenko
@ 2023-07-17 18:56   ` Ilja Kocken
  0 siblings, 0 replies; 4+ messages in thread
From: Ilja Kocken @ 2023-07-17 18:56 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1764 bytes --]

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 AM Ihor Radchenko <yantar92@posteo.net> wrote:

> Ilja Kocken <ikocken@hawaii.edu> 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 <RET> org-appearance <RET>
>
> Canceled.
>
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <
> https://urldefense.com/v3/__https://orgmode.org/__;!!PvDODwlR4mBZyAb0!XEeAiUVhr0Q9RZmWhARjn77YA5CoMvWp_0cdCN4SZSoWWIvwkhcnL3pWm-LatsWrvi7bI-dium_rKat5o4k$
> >.
> Support Org development at <
> https://urldefense.com/v3/__https://liberapay.com/org-mode__;!!PvDODwlR4mBZyAb0!XEeAiUVhr0Q9RZmWhARjn77YA5CoMvWp_0cdCN4SZSoWWIvwkhcnL3pWm-LatsWrvi7bI-dium_rRQ4SYCU$
> >,
> or support my work at <
> https://urldefense.com/v3/__https://liberapay.com/yantar92__;!!PvDODwlR4mBZyAb0!XEeAiUVhr0Q9RZmWhARjn77YA5CoMvWp_0cdCN4SZSoWWIvwkhcnL3pWm-LatsWrvi7bI-dium_rXK24r_s$
> >
>

[-- Attachment #2: Type: text/html, Size: 2864 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-07-17 18:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-14  1:43 [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/)] Ilja Kocken
2023-07-15  1:52 ` Ilja Kocken
2023-07-17 12:35 ` Ihor Radchenko
2023-07-17 18:56   ` Ilja Kocken

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).