From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: fill-paragraph broken Date: Tue, 09 Jul 2013 21:25:49 +0200 Message-ID: <87k3kzlema.fsf@gmail.com> References: <87ip0klz7u.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwdXf-0004dc-2s for emacs-orgmode@gnu.org; Tue, 09 Jul 2013 15:25:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwdXe-0001KX-2v for emacs-orgmode@gnu.org; Tue, 09 Jul 2013 15:25:39 -0400 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:52474) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwdXd-0001IX-Sh for emacs-orgmode@gnu.org; Tue, 09 Jul 2013 15:25:38 -0400 Received: by mail-we0-f174.google.com with SMTP id q58so5155281wes.33 for ; Tue, 09 Jul 2013 12:25:36 -0700 (PDT) In-Reply-To: (Samuel Wales's message of "Tue, 9 Jul 2013 11:47:25 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org Hello, Samuel Wales 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. Regards, -- Nicolas Goaziou