emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Martín Hartmann" <maarhart@htkl1201-01.hum.jyu.fi>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: spurious newline after comment [8.3.5 (release_8.3.5-1087-g6b52bc @ /Users/maarhart/elisp/org-mode/lisp/)]
Date: Fri, 26 Aug 2016 16:31:48 +0200	[thread overview]
Message-ID: <87h9a7zjmz.fsf@saiph.selenimh> (raw)
In-Reply-To: <31nfqimvk1jul2.fsf@htkl1201-01.hum.jyu.fi> ("Martín Hartmann"'s message of "Thu, 25 Aug 2016 08:17:29 +0300")

Hello,

maarhart@htkl1201-01.hum.jyu.fi (Martín Hartmann) writes:

> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.  You don't know how to make a good report?  See
>
>      http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org mailing list.
> ------------------------------------------------------------------------
>
> Hi,
>
> I am not sure if this was reported before because I don't follow this list:
>
> http://emacs.stackexchange.com/questions/22574/orgmode-export-how-to-prevent-a-new-line-for-comment-lines
>
> I have tried it in both the bleeding edge version and in the version
> that comes by default in emacs (is it 8.2.10?). This seems to be a bug
> in 8.3.5 because this does not occur in 8.2.10.

This is a feature. 

Comments (starting with "# ") are not inline, so they really break
paragraphs. The purpose of this blank line is to also break paragraphs
in the export output.

Note that you can
- use somewhat inline comments with @@comment:...@@ syntax
- remove commented lines the way you like using a hook:
  `org-export-before-processing-hook'.

Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2016-08-26 14:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25  5:17 Bug: spurious newline after comment [8.3.5 (release_8.3.5-1087-g6b52bc @ /Users/maarhart/elisp/org-mode/lisp/)] Martín Hartmann
2016-08-26 14:31 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9a7zjmz.fsf@saiph.selenimh \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=maarhart@htkl1201-01.hum.jyu.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).