emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Filling comments in Org code block vs in temporary buffer


From: Sebastien Vauban
Subject: Re: [O] Filling comments in Org code block vs in temporary buffer
Date: Wed, 24 Oct 2012 20:53:53 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (windows-nt)

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

[Prev in Thread] Current Thread [Next in Thread]