[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Discrepancy between documentation and implementation regarding comme
From: |
Robert Pluim |
Subject: |
Re: Discrepancy between documentation and implementation regarding comments |
Date: |
Tue, 29 Oct 2019 14:52:32 +0100 |
>>>>> On Mon, 28 Oct 2019 17:16:55 +0100, Nicolas Goaziou <address@hidden> said:
Nicolas> Hello,
Nicolas> Thibault Polge <address@hidden> 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