Hi all

Is there a way to have automatic alignments in the Org buffer with M-q
(fill-paragraph) and C-c C-c like:

  - cmd ::                    short term + short descr
  - cmd -o <dst> <src> ::     short term + short descr
  - cmd --log-level=err -o <dst> <src> ::
                              long term + short descr
  - cmd --create-file ::      short term + long descr bla bla bla bla
                              bla bla bla bla bla bla bla bla bla bla
                              bla bla bla bla bla bla bla bla bla
  - cmd --log-level=wrn -o <dst> <src> ::
                              long term + long descr bla bla bla bla
                              bla bla bla bla bla bla bla bla bla bla
                              bla bla bla bla bla bla bla bla bla
  - cmd --log-level=dbg -o <dst> <src> ::
                              - term descr 1
                              - term descr 2

instead of the default (shown below)?

With a configuration for the character column of the left alignment of
descr that is ideally per list?

Can description lists during export to ASCII, HTML, LaTeX, PDF and ODT
have descr also:
- on the same line as the term when the term is short?
- aligned horizontally?

Some remarks:

Alternatives for the long items could be:

  - cmd --log-level=err -o <dst> <src> ::
                              long term + short descr
  - cmd --create-file ::      short term + long descr bla bla bla bla
       bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
       bla bla bla
  - cmd --log-level=wrn -o <dst> <src> ::
                              long term + long descr bla bla bla bla
       bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
       bla bla bla

or maybe simply:

  - cmd --log-level=err -o <dst> <src> ::
       long term + short descr
  - cmd --create-file ::
       short term + long descr bla bla bla bla bla bla bla bla bla bla
       bla bla bla bla bla bla bla bla bla bla bla bla bla
  - cmd --log-level=wrn -o <dst> <src> ::
       long term + long descr bla bla bla bla bla bla bla bla bla bla
       bla bla bla bla bla bla bla bla bla bla bla bla bla

The default alignment is:

  - cmd :: short term + short descr
  - cmd -o <dst> <src> :: short term + short descr
  - cmd --log-level=err -o <dst> <src> :: long term + short descr
  - cmd --create-file :: short term + long descr bla bla bla bla bla
       bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
       bla bla
  - cmd --log-level=wrn -o <dst> <src> :: long term + long descr bla
       bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
       bla bla bla bla bla bla
  - cmd --log-level=dbg -o <dst> <src> ::
    - term descr 1
    - term descr 2

M-q on the item "long term + long descr" that is aligned manually as
shown first will be stable only after a second M-q instead of already
after the first M-q with release_7.8.10-633 on 23.3.1.

Michael

Reply via email to