emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Thibault Polge <thibault@thb.lt>
Cc: emacs-orgmode@gnu.org
Subject: Re: Discrepancy between documentation and implementation regarding comments
Date: Tue, 29 Oct 2019 14:52:32 +0100	[thread overview]
Message-ID: <m28sp3pskf.fsf@gmail.com> (raw)
In-Reply-To: <87tv7s3kw8.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 28 Oct 2019 17:16:55 +0100")

>>>>> On Mon, 28 Oct 2019 17:16:55 +0100, Nicolas Goaziou <mail@nicolasgoaziou.fr> said:

    Nicolas> Hello,
    Nicolas> Thibault Polge <thibault@thb.lt> writes:

    >> Thanks Nicolas, just a small detail though: unless this is a planned
    >> (breaking) change, I believe the description you linked should read:
    >> 
    >> A “comment line” starts with *zero or more whitespace characters,
    >> followed by* a hash sign, followed by a whitespace character or an end
    >> of line.

    Nicolas> True. I fixed that.

end of line *is* a whitespace character, but Iʼm not going to argue
that. Iʼm going to argue that this doesnʼt cover the case of a '#' at
EOB without a newline, hence saying 'zero or more' would be better.

(and if it really is *one* whitespace character, thatʼs a breaking
change from at least org-9.2.6, which allows zero-or-more).

Robert

  reply	other threads:[~2019-10-29 13:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-27 10:07 Discrepancy between documentation and implementation regarding comments Thibault Polge
2019-10-27 16:13 ` Robert Pluim
2019-10-27 20:09   ` Adam Porter
2019-10-27 21:02     ` Samuel Wales
2019-10-28 11:05 ` Nicolas Goaziou
2019-10-28 11:42   ` Thibault Polge
2019-10-28 16:16     ` Nicolas Goaziou
2019-10-29 13:52       ` Robert Pluim [this message]
2019-10-29 14:14         ` Thibault Polge
2019-10-29 14:34           ` Robert Pluim

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=m28sp3pskf.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=thibault@thb.lt \
    /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).