emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rafael Laboissiere <rafael@laboissiere.net>
To: emacs-orgmode@gnu.org
Subject: Contradiction between code and doc as regards commented lines
Date: Sat, 27 Oct 2012 21:04:05 +0200	[thread overview]
Message-ID: <20121027190405.GL31999@laboissiere.net> (raw)

Before Git commit e8046d2, lines like this were treated as comments in 
org-mode:

     ### This used to be a comment

At present, lines as the above are not highlighted as comments and will 
be exported verbatim.  Only lines like the following are considered to be 
comments, currently:

     # Only this is now a comment

This behavior is clearly in contradiction with the documentation, 
according to this relevant part of doc/org.texi:

     @node Comment lines,  , Horizontal rules, Structural markup elements
     [snip]
     Lines starting with zero or more whitespace characters followed by @samp{#}
     are treated as comments and will never be exported.

Please, fix the documentation (or restore the previous behavior, if the 
documentation is meant to be correct).

Cheers,

Rafael

             reply	other threads:[~2012-10-27 19:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-27 19:04 Rafael Laboissiere [this message]
2012-10-27 19:44 ` Contradiction between code and doc as regards commented lines Bastien
2012-10-27 21:50   ` Rafael Laboissiere
2012-10-28 10:10     ` Bastien
2012-10-28 16:50       ` Rafael Laboissiere
2012-10-29  5:30         ` Bastien

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=20121027190405.GL31999@laboissiere.net \
    --to=rafael@laboissiere.net \
    --cc=emacs-orgmode@gnu.org \
    /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).