From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Auto-fill-mode with code sections Date: Tue, 1 May 2012 08:51:28 -0500 Message-ID: <21A5E1E970CD46459ECBE86D6CC4B28C66AE82FE@spexch01.WindLogics.local> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_21A5E1E970CD46459ECBE86D6CC4B28C66AE82FEspexch01WindLog_" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPDUN-0004MV-Bn for emacs-orgmode@gnu.org; Tue, 01 May 2012 09:51:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPDUK-0006yM-Hv for emacs-orgmode@gnu.org; Tue, 01 May 2012 09:51:34 -0400 Received: from shrimp.windlogics.com ([216.245.170.164]:30060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPDUK-0006y2-C0 for emacs-orgmode@gnu.org; Tue, 01 May 2012 09:51:32 -0400 Content-Language: en-US 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: "emacs-orgmode@gnu.org" --_000_21A5E1E970CD46459ECBE86D6CC4B28C66AE82FEspexch01WindLog_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I use org-mode extensively with R code sections, as a scientific notebook. = One annoyance I have is that when I have auto-fill-mode turned on (which i= s convenient for the main body parts of the document), it extends to the co= de section and starts auto-filling my code. Can anyone recommend a configuration that will get me folding in the body s= ections, but not in the code sections? It could use another mechanism besi= des auto-fill-mode if that's what's preferred these days, but auto-fill-mod= e is the one I'm familiar with. Thanks. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com ________________________________ CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the inte= nded recipient(s) and may contain confidential and privileged information. = Any unauthorized review, use, disclosure or distribution of any kind is str= ictly prohibited. If you are not the intended recipient, please contact the= sender via reply e-mail and destroy all copies of the original message. Th= ank you. --_000_21A5E1E970CD46459ECBE86D6CC4B28C66AE82FEspexch01WindLog_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I use org-mode extensively with R code sections, as = a scientific notebook.  One annoyance I have is that when I have auto-= fill-mode turned on (which is convenient for the main body parts of the doc= ument), it extends to the code section and starts auto-filling my code.

 

Can anyone recommend a configuration that will get m= e folding in the body sections, but not in the code sections?  It coul= d use another mechanism besides auto-fill-mode if that’s what’s= preferred these days, but auto-fill-mode is the one I’m familiar with.

 

Thanks.

 

--

Ken Williams, Senior Research Scientist

Wind<= /b>Logics

http://windlogics.com

 



CONFIDENTIALITY NOTICE: Th= is e-mail message is for the sole use of the intended recipient(s) and may = contain confidential and privileged information. Any unauthorized review, u= se, disclosure or distribution of any kind is strictly prohibited. If you are not the intended recipient, please= contact the sender via reply e-mail and destroy all copies of the original= message. Thank you.
--_000_21A5E1E970CD46459ECBE86D6CC4B28C66AE82FEspexch01WindLog_--