Christopher Schmidt <christop...@ch.ristopher.com> writes:

> There is still one major issue, though.  Consider this text:
>
> ,--------
> | >> rms
> | >> foo
> | >>
> | >> org-mode
> `--------
>
> Place the point somewhere in the first or second line and do a M-q.
> Vanilla message-mode correctly recognises the paragraph prefix whereas
> an use of Org's enhancements breaks this.

It all boils down to orgstruct++-mode setting non-org-vars like
paragraph-start or paragraph-separate to the org values.  This is fine,
even the doc string says so.

,----[ C-h f orgstruct++-mode RET ]
| Toggle `orgstruct-mode', the enhanced version of it.
| In addition to setting orgstruct-mode, this also exports all indentation
| and autofilling variables from org-mode into the buffer.  It will also
| recognize item context in multiline items.
`----

This does not work with message-mode and any other mode that imposes a
special document structure, though.  I think the docstring and the
manual should note that explicitly, and the line promoting the use of
turn-on-orgstruct++ in message-mode-hook in (info "(org)Orgstruct mode")
should be removed.

        Christopher

Reply via email to