From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Filling comments in Org code block vs in temporary buffer Date: Wed, 24 Oct 2012 16:48:00 +0200 Message-ID: <87y5iwlye7.fsf@gmail.com> References: <80ipa03pr5.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR2Jv-000718-Fv for emacs-orgmode@gnu.org; Wed, 24 Oct 2012 10:52:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TR2Jp-0003Dh-HX for emacs-orgmode@gnu.org; Wed, 24 Oct 2012 10:52:35 -0400 Received: from plane.gmane.org ([80.91.229.3]:46000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR2Jp-0003DX-AO for emacs-orgmode@gnu.org; Wed, 24 Oct 2012 10:52:29 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TR2Jo-0001Sj-Bf for emacs-orgmode@gnu.org; Wed, 24 Oct 2012 16:52:28 +0200 In-Reply-To: <80ipa03pr5.fsf@somewhere.org> (Sebastien Vauban's message of "Wed, 24 Oct 2012 16:31:58 +0200") 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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hello, "Sebastien Vauban" writes: > When trying to refill the comment directly in the following code block > (staying in the Org file), it has *no effect*. > > #+begin_src emacs-lisp > ;; a single space does end a sentence. But this sentence is the longest I could write... > (setq-default sentence-end-double-space nil) > #+end_src Org doesn't know how to fill foreign code. Thus, you cannot fill directly a src-block (or an example block or even an export block for that matter). As you tried, you can edit that chunk of code in a separate buffer with the appropriate major mode (and subsequent filling rules) using C-c '. Regards, -- Nicolas Goaziou