From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Has filling behavior been changed recently in org? Date: Fri, 13 Nov 2009 00:33:22 +0100 Message-ID: <87fx8jgvy5.fsf@gmx.de> References: <20524da70911121213q1081591apad41a5349e2cf602@mail.gmail.com> <87ocn7h00t.fsf@gmx.de> <20524da70911121409v16fde2b1w7ecbf5842a11f44d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8jAV-0003O7-7m for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 18:33:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8jAQ-0003KH-Qy for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 18:33:34 -0500 Received: from [199.232.76.173] (port=57868 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8jAQ-0003KE-Kh for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 18:33:30 -0500 Received: from mail.gmx.net ([213.165.64.20]:55910) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1N8jAQ-0000fK-1v for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 18:33:30 -0500 In-Reply-To: <20524da70911121409v16fde2b1w7ecbf5842a11f44d@mail.gmail.com> (Samuel Wales's message of "Thu, 12 Nov 2009 15:09:08 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org Samuel Wales writes: > Hi Sebastian, > > On 2009-11-12, Sebastian Rose wrote: >> Samuel Wales writes: >>> For some reason, I can fill a commented paragraph in emacs lisp mode, >>> text mode, and fundamental mode, but not in org mode. It does >>> nothing. fill-column is my normal 60. I cannot debug it. Did >>> something change recently? I use filladapt. >>> >>> Thanks. >> >> Sorry for the question, but "in emacs lisp mode" is not "in org mode", >> is it? > > Sorry, I don't understand your comment at all. Sorry, I mis-read your mail :-( I read: For some reason, I can fill a commented paragraph in emacs lisp mode, ...but somehow the next line slipped through. Well, I believe the problem is, that we have no simple defined comment start in Org-mode. If `#' was the comment start, lines might be wrapped and stop working. As `#' also starts working directives, e.g. for ditaa and gnuplot. In addition, a `#' may occur anywhere in a line but the first non-blank position and would not start a comment. Also, imagine a code block like this: #+begin_src perl print "This example"; # ...contains a perl comment... # In deep nested node, this line might wrap, because of the fill column. #+end_src Anyway, I believe it could be done - but no one got around and did it yet. It seems complicated and error prone. Best wishes Sebastian