From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Auto-fill-mode with code sections Date: Fri, 04 May 2012 16:09:47 -0400 Message-ID: <87y5p77lo4.fsf@gmx.com> References: <21A5E1E970CD46459ECBE86D6CC4B28C66C1C273@spexch01.WindLogics.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQQhV-0006E9-Qf for emacs-orgmode@gnu.org; Fri, 04 May 2012 18:10:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQQhQ-0004hh-1Y for emacs-orgmode@gnu.org; Fri, 04 May 2012 18:10:09 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:41519) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SQQhP-0004cA-Or for emacs-orgmode@gnu.org; Fri, 04 May 2012 18:10:03 -0400 In-Reply-To: <21A5E1E970CD46459ECBE86D6CC4B28C66C1C273@spexch01.WindLogics.local> (Ken Williams's message of "Fri, 4 May 2012 17:00:46 -0500") 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: Ken Williams Cc: "emacs-orgmode@gnu.org" Ken Williams writes: > Ping - I'm still interested in this, if anyone has any recommendations. Thanks. > Hi Ken, I don't know of an automatic solution here. One option is to edit code sections with org-edit-special, i.e., press C-c ' from within a code block. Best, > > -Ken > >> From: Ken Williams >> Sent: Tuesday, May 01, 2012 8:51 AM >> To: emacs-orgmode@gnu.org >> Subject: Auto-fill-mode with code sections >> >> 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 document), it extends to the >> code section and starts auto-filling my code. >> >> Can anyone recommend a configuration that will get me folding in the body >> sections, but not in the code sections? It could 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. > > > CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the > intended recipient(s) and may contain confidential and privileged > information. Any unauthorized review, use, 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. > -- Eric Schulte http://cs.unm.edu/~eschulte/