From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: Problem with org-export--delete-comments Date: Thu, 17 Dec 2015 22:56:43 +0000 Message-ID: References: <87h9jgrec8.fsf@nicolasgoaziou.fr> <871takog7c.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9hUL-0004Fr-MN for emacs-orgmode@gnu.org; Thu, 17 Dec 2015 17:57:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9hUI-0008P4-Di for emacs-orgmode@gnu.org; Thu, 17 Dec 2015 17:57:33 -0500 Received: from plane.gmane.org ([80.91.229.3]:37827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9hUI-0008P0-6b for emacs-orgmode@gnu.org; Thu, 17 Dec 2015 17:57:30 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a9hUG-0004zN-NY for emacs-orgmode@gnu.org; Thu, 17 Dec 2015 23:57:28 +0100 Received: from cpc92322-cmbg19-2-0-cust549.5-4.cable.virginm.net ([86.26.34.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2015 23:57:28 +0100 Received: from andreas.leha by cpc92322-cmbg19-2-0-cust549.5-4.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2015 23:57:28 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Nicolas, Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> I agree that the paragraph should not be broken in the exported >> document. There are also other use cases for comments inside >> paragraphs. > > Note that Org doesn't support comments within paragraphs since a comment > ends a paragraph. In this case, the export output matches the contents > of the document. > > Again, I'm not sure there is a solution satisfying all needs here. > I do not really follow the footnote problem (not using footnotes much) with this. But if removing the line following the comment works, then I'd suggest to simply also comment that newline. In my opinion comments are not newlines. Exporting comment lines as newlines makes it impossible to comment newlines, which might be desirable -- see this thread. But I might be missing the point here. > However, you can mimic inline comments with export snippets, e.g., > @@comment:...@@. That is handy. I would not have thought of that. Regards, Andreas