emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Amin Bandali <bandali@gnu.org>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>,
	"Garreau, Alexandre" <galex-713@galex-713.eu>
Cc: org-mode-email <emacs-orgmode@gnu.org>,
	John Kitchin <jkitchin@andrew.cmu.edu>
Subject: Re: Display-level automatic subtree numbering
Date: Sun, 04 Nov 2018 01:09:58 -0400	[thread overview]
Message-ID: <87in1dpgwp.fsf@aminb.org> (raw)
In-Reply-To: <87zhusbsdo.fsf@nicolasgoaziou.fr>

Hello,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> As I was offline for a few days, I toyed a bit with this. I wrote the
> following library.

Awesome, thanks for your work!

> I didn't test it thoroughly. I didn't write regression tests
> either.
>
> Also, it ignores UNNUMBERED property and export tags. I have the feeling
> these are orthogonal requirements (i.e., if you want to see the
> numbering obtained upon export, just export your document).
>

I really wish it did support UNNUMBERED (and perhaps COMMENT and
:ARCHIVED: too) though :(

> You may want to test it. It could go in GNU ELPA or some such if fast
> and accurate enough.

I took it for a spin on a few org files of moderate size (a few
thousand lines) and it seems to work pretty well.  I didn’t
extensively test or look for corner cases though.

Would love to see it on GNU ELPA.

Best,
amin

      parent reply	other threads:[~2018-11-04  5:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-23 18:29 Display-level automatic subtree numbering Garreau, Alexandre
2018-10-23 18:33 ` John Kitchin
2018-10-23 19:58   ` Garreau, Alexandre
2018-10-24  7:38     ` Nicolas Goaziou
2018-10-24  8:54       ` Garreau, Alexandre
2018-10-24 11:40         ` Nicolas Goaziou
2018-10-24 11:49           ` Garreau, Alexandre
2018-10-25 15:02             ` Nicolas Goaziou
2018-10-27 22:36               ` Garreau, Alexandre
2018-11-01 17:49                 ` Nicolas Goaziou
2018-11-02  6:51                   ` Eric S Fraga
2018-11-02  7:12                     ` Marco Wahl
2018-11-04  5:09                   ` Amin Bandali [this message]

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=87in1dpgwp.fsf@aminb.org \
    --to=bandali@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=galex-713@galex-713.eu \
    --cc=jkitchin@andrew.cmu.edu \
    --cc=mail@nicolasgoaziou.fr \
    /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).