From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Filling comments in Org code block vs in temporary buffer Date: Wed, 24 Oct 2012 20:53:53 +0200 Message-ID: <80625zpupq.fsf@somewhere.org> References: <80ipa03pr5.fsf@somewhere.org> <87y5iwlye7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello Nicolas, Nicolas Goaziou wrote: > "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 '. For sure, that did work before -- at least in my setup... Maybe because of FillAdapt and such, which I used back then. Is there no way to make such a practical feature[1] available? Best regards, Seb [1] For example, mails I get are enclosed in a "verse" block, and I've the habit of reformatting them before saving my "inbox" file. -- Sebastien Vauban