emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "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: Thu, 01 Nov 2018 18:49:07 +0100	[thread overview]
Message-ID: <87zhusbsdo.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <8736srggq3.fsf@portable.galex-713.eu> (Alexandre Garreau's message of "Sun, 28 Oct 2018 00:36:04 +0200")

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

Hello,

"Garreau, Alexandre" <galex-713@galex-713.eu> writes:

> No it doesn’t update anything, and doesn’t color number compatibly with
> outlining.  Also it’s not integrated in org and only available in melpa,
> unsigned.

As I was offline for a few days, I toyed a bit with this. I wrote the
following library. 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).

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

Regards,

-- 
Nicolas Goaziou

[-- Attachment #2: Dynamic headline numbering in Org --]
[-- Type: application/emacs-lisp, Size: 11256 bytes --]

  reply	other threads:[~2018-11-01 17:49 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 [this message]
2018-11-02  6:51                   ` Eric S Fraga
2018-11-02  7:12                     ` Marco Wahl
2018-11-04  5:09                   ` Amin Bandali

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