From: Marco Wahl <marcowahlsoft@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] Org Num library
Date: Thu, 31 Jan 2019 16:27:42 +0100 [thread overview]
Message-ID: <84k1ikludt.fsf@gmail.com> (raw)
In-Reply-To: 87r2fftxq7.fsf@nicolasgoaziou.fr
Hi Nicolas and all,
@Nicolas: Thanks for org-num-mode.
> A few weeks ago, I posted on this ML a proof of concept about dynamic
> numbering of headlines in an Org buffer. Since then, I worked on it more
> seriously, improved it, and threw in some features. Here is an excerpt
> of its commentary section:
>
> This library provides dynamic numbering for Org headlines. Use
>
> <M-x org-num-mode>
>
> to toggle it.
>
> You can select what is numbered according to level, tags, COMMENT
> keyword, or UNNUMBERED property. You can also skip footnotes
> sections. See `org-num-max-level', `org-num-skip-tags',
> `org-num-skip-commented', `org-num-skip-unnumbered', and
> `org-skip-footnotes' for details.
>
> You can also control how the numbering is displayed by setting
> `org-num-face' and `org-num-format-function'.
>
> I tested it a bit, even in relatively large documents like the Org
> manual, without problem. I also wrote a test suite for that library.
>
> Since it is very much Org-specific, and a basic feature you could expect
> from Org, I'd like to add it in core. So, if there is no strong
> objection to it, it can go in Org 9.3.
>
> I attach the library for further testing, suggestions, remarks… Let me
> know what you think.
For some days I turned on org-num-mode for every Org file automatically
with the setting
(add-hook 'org-mode-hook #'org-num-mode)
in my init file. org-num-mode worked fine for me.
Just one idea came to my mind. What about adding an option to restart
the numbering at 1 for the first heading in the case when narrowing is
in effect?
Ciao, Marco
next prev parent reply other threads:[~2019-01-31 15:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-20 18:22 [RFC] Org Num library Nicolas Goaziou
2018-11-20 22:29 ` Neil Jerram
2018-11-21 6:31 ` Eric S Fraga
2019-01-31 15:27 ` Marco Wahl [this message]
2019-02-03 9:41 ` Nicolas Goaziou
2019-02-04 6:35 ` stardiviner
2019-02-04 11:23 ` Marco Wahl
2019-02-04 19:36 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84k1ikludt.fsf@gmail.com \
--to=marcowahlsoft@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.