emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ox: fix comment exported as a blank line


From: Max Nikulin
Subject: Re: [PATCH] ox: fix comment exported as a blank line
Date: Thu, 2 Jun 2022 23:09:04 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 02/06/2022 12:02, Phil Estival wrote:
Still, the writing experience is much improved
when comments are allowed inside paragraphs
without disrupting the publication, and this
definitely worth a few modifications.

There are at least a couple of workarounds for inline comments, however some care is required to not add a spurious blank line (I think, ox-latex should strip blank lines from paragraphs).

Maxim Nikulin. Re: Comments break up a paragraph when writing one-setence-per-line. Sun, 18 Jul 2021 15:21:39 +0700. https://list.orgmode.org/sd0oak$k5h$1@ciao.gmane.io

#+macro: comment

Another test
{{{comment(some text
)}}} with macro comment.

or

Export snippets
@@c: a comment
@@ may be used with any non-existing backend name.


I believe that comments breaking paragraphs is an unnecessary pitfall. While comments are not passed to exporters there are should be no great problems besides users who rely on current behavior. I am unsure how many of them do it intentionally. Attributes and other keywords are more tricky case, but rather independent of comments.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]