Re: [O] [RFC] Org Num library

2019-02-04 Thread Nicolas Goaziou
Hello, Marco Wahl writes: > If there is interest in that patch, the code could be refined to only > hook into the `post-command-hook' when local numbering of narrowed parts > has been chosen. This is mostly already the case. If local numbering of narrowed parts is inactive, the code executed

Re: [O] [RFC] Org Num library

2019-02-04 Thread Marco Wahl
Hello stardiviner, >>> 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? >> >> AFAICT, detecting narrowing changes requires using >> `post-command-hook'. > > Add more things into

Re: [O] [RFC] Org Num library

2019-02-03 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > Marco Wahl writes: > >> 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? > > AFAICT, detecting narrowing changes requires using >

Re: [O] [RFC] Org Num library

2019-02-03 Thread Nicolas Goaziou
Hello, Marco Wahl writes: > 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? AFAICT, detecting narrowing changes requires using `post-command-hook'. Therefore an update to numbering,

Re: [O] [RFC] Org Num library

2019-01-31 Thread Marco Wahl
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

Re: [O] [RFC] Org Num library

2018-11-20 Thread Eric S Fraga
On Tuesday, 20 Nov 2018 at 19:22, Nicolas Goaziou wrote: > 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. No objection from me at all. I may or may not use this

Re: [O] [RFC] Org Num library

2018-11-20 Thread Neil Jerram
Nicolas Goaziou writes: > 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