emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: Re: change headings to list but have a nested numeration?
Date: Wed, 13 Jul 2022 07:04:27 +0200	[thread overview]
Message-ID: <87cze9li1w.fsf@mat.ucm.es> (raw)
In-Reply-To: 877d4luxb8.fsf@localhost

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


> Uwe Brauer <oub@mat.ucm.es> writes:

> AFAIK, using "-" is hard-coded in org-toggle-item.
> Also, 1.1 is not a valid list bullet.

> So, you need to implement alternative bullet support yourself.
> Patches are welcome!

I see, several observations.

    1. For headings there is a third party package called
       ‘org-outline-numbering.el’. Which provides a mode that display
       headings in such a numbering scheme, however using overlays, as
       far as I can see.

    2. Headings are much more robust since the use an unique syntax in
       form of *, on the other hand list depend heavily on indentation. So,
       again, third party packages such as
       org-transform-tree-table/toggle transform trees to table and
       back, however if a table contain a list that looses its
       indentation when transforming from a table to tree. That is not
       really a concern for org vanilla but a sign that lists are more
       delicate since the depend on indentation.

Regards

Uwe Brauer 



-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

  reply	other threads:[~2022-07-13  5:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-09 16:43 change headings to list but have a nested numeration? Uwe Brauer
2022-07-10  9:33 ` Ihor Radchenko
2022-07-13  5:04   ` Uwe Brauer [this message]
2022-07-31 12:48     ` Ihor Radchenko
2022-08-01 11:46       ` Uwe Brauer
2022-08-03  9:53         ` Ihor Radchenko

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=87cze9li1w.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --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).