From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: another auto-fill bug Date: Sat, 20 Oct 2012 12:05:41 +0200 Message-ID: <871ugtmpai.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPW0D-00046V-0L for emacs-orgmode@gnu.org; Sat, 20 Oct 2012 06:09:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPW0B-00053H-SN for emacs-orgmode@gnu.org; Sat, 20 Oct 2012 06:09:56 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:58556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPW0B-000537-Ly for emacs-orgmode@gnu.org; Sat, 20 Oct 2012 06:09:55 -0400 Received: by mail-wi0-f177.google.com with SMTP id hj13so787931wib.12 for ; Sat, 20 Oct 2012 03:09:54 -0700 (PDT) In-Reply-To: (Samuel Wales's message of "Fri, 19 Oct 2012 10:04:01 -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: > If you press SPC after this with the appropriate fill-columun setup, > Org will incorrectly comment the next line. > > === > # It's not as if bad guys always aim > # for the loss of life per se. They often just consider the > # loss of life less important than their real goal. > I won't go into the details, because I don't use the term. > === Thanks for the report. It should be fixed now. > Just out of curiosity, what would be the incorrect behavior that would > result if Org used Emacs standard filling and auto-filling instead of > its own? As I already explained, standard filling and auto-filling cannot cope with Org requirements about paragraphs and comments. It would be too tedious to describe the incorrect behaviour here. You can remove all comments and filling code and start from scratch to get you an idea if you want to. Regards, -- Nicolas Goaziou