[Top][All Lists]

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

Re: [O] fill-paragraph broken

From: Nicolas Goaziou
Subject: Re: [O] fill-paragraph broken
Date: Tue, 09 Jul 2013 21:25:49 +0200


Samuel Wales <address@hidden> writes:

> I think Org should support this variable and not fill two commented
> paragraphs with a commented empty line as if they were one.

I do not.

> When you fill in, for example, Emacs Lisp mode, each paragraph is
> filled as a paragraph, without combining them.

You're comparing apples and oranges. Emacs Lisp is a programming
language, i.e., derived from `prog-mode', whereas Org is about text,
i.e., ultimately derived from `text-mode'. Let's compare text modes with
text modes.

The only mode derived from `text-mode' with comments I can think of is
`rst-mode'. And it doesn't fill comments at all. We might do the same
for the sake of consistency...

> I think there is benefit for the user in keeping things consistent
> with other modes and supporting this  Emacs variable.

Org doesn't support this variable. It doesn't even use "newcomment.el".
There is a simple reason for that: many functions in "newcomment.el"
assume comments may start anywhere on a line. This is not possible in
Org. "newcomment.el" is not meant for the `text-mode' family.


Nicolas Goaziou

reply via email to

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