Re: [O] Auto-fill-mode with code sections

2012-05-05 Thread Bastien
Hi Charles, cbe...@tajo.ucsd.edu writes: > It fills normal text, but leaves src blocks alone. > > Maybe add something to one of the org-mode hooks ? `org-auto-fill-function' already exists in the code, adding a new function with the same name would confuse things. I patched the current `org-a

Re: [O] Auto-fill-mode with code sections

2012-05-04 Thread cberry
Eric Schulte writes: > 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

Re: [O] Auto-fill-mode with code sections

2012-05-04 Thread Eric Schulte
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: K

Re: [O] Auto-fill-mode with code sections

2012-05-04 Thread Ken Williams
Ping - I'm still interested in this, if anyone has any recommendations. Thanks. -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 n

[O] Auto-fill-mode with code sections

2012-05-01 Thread Ken Williams
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