[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21072: Brave new mark-defun (and a testing tool)

From: Marcin Borkowski
Subject: bug#21072: Brave new mark-defun (and a testing tool)
Date: Tue, 18 Apr 2017 14:35:13 +0200
User-agent: mu4e 0.9.19; emacs 26.0.50

On 2017-04-07, at 16:41, Noam Postavsky <address@hidden> wrote:

>>> This entry should go before the page separator, and the "+++" should go
>>> on the line just above the entry, not after it.
>> That one I do not understand.  This means that "+++" goes essentially
>> _to the previous entry_, which doesn't seem to make sense (especially
>> when viewing NEWS folded, which I assume everyone does, right?).
> Hmm, no, I wasn't really aware of folding (you mean via
> `outline-hide-sublevels', right?).

Actually, via Org-mode.  Is there anyone who does that without Org-mode?
Out of curiosity: why???

> I guess the convention wasn't made with folding in mind, but the "+++"
> and "---" markup is just temporary anyway.

OK.  Anyway, I fixed that.

> [...]
> Oh, right, I thought it was doing backward-comment, but the difference
> is that it stops at blank lines, thus the *non-redundant* looking-at
> call.
> I wonder if that's a sensible thing to do for languages that have
> multiline comments though, e.g. Javascript:
> /*
> This function returns 0
> */
> function foo () {
>     return 0;
> }
> Although we might say that such comments should have "*" on the empty lines.

Definitely.  OTOH, what if they don't...?  I'm not sure how to detect
such a situation.  Any ideas?


Marcin Borkowski

reply via email to

[Prev in Thread] Current Thread [Next in Thread]