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


Reply via email to