Re: [Orgmode] question about indirect buffers for capture and line-breaks

2011-02-24 Thread Filippo A. Salustri
On my aquamacs, (auto-fill-mode nil) seems to toggle the mode, whereas (auto-fill-mode -1) seems to always disable it. In any case, that seems to have fixed it. Thanks! Cheers. Fil On 24 February 2011 11:09, Jeff Horn wrote: > Yep. > > Evaluate the following two lines in the scratch buffer: > >

Re: [Orgmode] question about indirect buffers for capture and line-breaks

2011-02-24 Thread Jeff Horn
Yep. Evaluate the following two lines in the scratch buffer: (auto-fill-mode -1) (auto-fill-mode nil) The first returns nil every time. The second returns true every time. Funky. On Thu, Feb 24, 2011 at 11:07 AM, Jeff Horn wrote: > What happens if you use (auto-fill-mode -1) intead? >

Re: [Orgmode] question about indirect buffers for capture and line-breaks

2011-02-24 Thread Jeff Horn
What happens if you use (auto-fill-mode -1) intead? ,[ C-h f auto-fill-mode RET ] | auto-fill-mode is an interactive compiled Lisp function in | `simple.el'. | | (auto-fill-mode &optional ARG) | | Toggle Auto Fill mode. | With ARG, turn Auto Fill mode on if and only if ARG is positive. | In Au

[Orgmode] question about indirect buffers for capture and line-breaks

2011-02-24 Thread Filippo A. Salustri
Hi, I've turned off hard line breaks for various reasons. I do it like this: > (add-hook 'org-mode-hook > '(lambda () > (auto-fill-mode nil) > (visual-line-mode t))) However, in the indirect buffers used by capture, hard line breaks are still in place. I've lo