emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: [RFC] Org Num library
Date: Tue, 20 Nov 2018 19:22:56 +0100	[thread overview]
Message-ID: <87r2fftxq7.fsf@nicolasgoaziou.fr> (raw)

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

Hello,

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.

Regards,

-- 
Nicolas Goaziou

[-- Attachment #2: Org Num library --]
[-- Type: application/emacs-lisp, Size: 18971 bytes --]

             reply	other threads:[~2018-11-20 19:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-20 18:22 Nicolas Goaziou [this message]
2018-11-20 22:29 ` [RFC] Org Num library Neil Jerram
2018-11-21  6:31 ` Eric S Fraga
2019-01-31 15:27 ` Marco Wahl
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r2fftxq7.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --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 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).