How to auto-renumber chapters

2024-08-28 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I'm writing a fiction book, and have just added several chapters from a previous draft to it. As a result I now have ** Chapter 2 blah ** Chapter 2 blah de blah ** Chapter 3 more blahing How can I get these new chapters to autorenumber th

Re: org-cut-subtree should respect org-ctrl-k-protect-subtree

2024-08-28 Thread Dan Drake
I agree, a function that examines the "protect subtree" variable and performs the logic is best. I can work on that. What do you think we should have for the new name for org-ctrl-k-protect-subtree? Just "org-protect-subtree"? How do we handle renaming the variable? We'd want some way of deprecat

Re: [PATCH] lisp/org.el: Add ability to sort tags by hierarchy

2024-08-28 Thread Ihor Radchenko
Ihor Radchenko writes: > ... may you please elaborate what kind of sorting > order does your function imply? ... It has been over a month. Have you had a chance to look into my questions? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at .

Re: [PATCH] lisp/org.el: Add ability to sort tags by hierarchy

2024-08-28 Thread Morgan Smith
Ihor Radchenko writes: > Ihor Radchenko writes: > >> ... may you please elaborate what kind of sorting >> order does your function imply? ... > > It has been over a month. Have you had a chance to look into my > questions? After you asked that question, I decided to demonstrate the changes I wa

Re: How to auto-renumber chapters

2024-08-28 Thread AndrĂ¡s Simonyi
Dear All, On Wed, 28 Aug 2024 at 10:41, Sharon Kimble wrote: > I now have > ** Chapter 2 > blah > ** Chapter 2 > blah de blah > How can I get these new chapters to autorenumber themselves please, so that > they will show Chapter 2, Chapter 3 one way of doing the required renumbering would be p

Re: How to auto-renumber chapters

2024-08-28 Thread Gregor Zattler
Hi Sharon, * Sharon Kimble [2024-08-28; 09:41 +01]: > I'm writing a fiction book, and have just added several chapters from a > previous draft to it. > > As a result I now have > > ** Chapter 2 > blah > > ** Chapter 2 > blah de blah > > ** Chapter 3 > more blahing > > How can I get these new