From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: Should comments break paragraphs? Date: Tue, 16 Jul 2013 10:19:17 +0200 Message-ID: <87vc4a3oje.fsf@med.uni-goettingen.de> References: <51E443F6.2050104@arfer.net> <87mwpnfybn.fsf@gmail.com> <51E47BC1.7010808@gmail.com> <87ip0byoqg.fsf@gmail.com> <87ehazymua.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz0To-00021i-LS for emacs-orgmode@gnu.org; Tue, 16 Jul 2013 04:19:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uz0Tn-0008RI-Ju for emacs-orgmode@gnu.org; Tue, 16 Jul 2013 04:19:28 -0400 Received: from plane.gmane.org ([80.91.229.3]:34120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz0Tn-0008RE-Cv for emacs-orgmode@gnu.org; Tue, 16 Jul 2013 04:19:27 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uz0Tn-0002lS-05 for emacs-orgmode@gnu.org; Tue, 16 Jul 2013 10:19:27 +0200 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Jul 2013 10:19:26 +0200 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Jul 2013 10:19:26 +0200 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 Rainer M Krug writes: > Nicolas Goaziou writes: > >> Hello, >> >> Rainer M Krug writes: >> >>> I see comments as "entities which do not have any impact on the final >>> product". >>> >>> If you regard the org file as the final product, then I >>> completely agree (I use org mainly for literate programming, and I don't >>> use any comments unless in linger code blocks, but that is not in >>> org). But if I use org for writing e.g. presentations in beamer, I might want >>> to add comments which should not be on the product (slides, article, >>> handout, ...) but which contain info in the org file. >>> >>> So we are talking different levels here. >> >> Comments do not alter the final product: they are ignored during export. >> But there are places where you cannot have comments, at all. If we look >> at the following example, similar to OP's: >> >> Some text >> # comment >> Some other text >> >> comment do not split the paragraph: there were two paragraphs since the >> beginning (but still no spoon). It's only disturbing if you think >> comments can be inserted within paragraphs, which is not the case. > > I think I see what you mean: if the comment would not be there, the text > would look as follow: > > ,---- > | Some text > | > | Some other text > `---- > > for the exporter. So the comment here > > ,---- > | Some text > | # comment > | Some other text > `---- > > is ignored, but not the empty line resulting - is this correct? I think > the confusion is that comments in org are between comment lines and > inline comments in this regard. > In that case, I guess some confusion might come from LaTeX, for example, where also the newline is ignored by the comment, s.t. in LaTeX ,---- | Some text | % comment | Some other text `---- is interpreted as ,---- | Some text | Some other text `---- [...] IMO, there is no 'feature' in the 'paragraph breaking' comments in org. But I understand that it is quite hard to change that behaviour. Regards, Andreas