[Top][All Lists]

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

Re: [Orgmode] Line folding

From: Sebastian Rose
Subject: Re: [Orgmode] Line folding
Date: Tue, 08 Sep 2009 11:22:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

"Somayaji, Ananth" <address@hidden> writes:
> Hi,
> Any pointers on how to enable line-folding like the one done in filladapt-mode
> in org-mode ? I tried doing it but the syntax highlighting is all gone bad.
> Best Regards, Ananth

Hi Ananth,

not sure, what you mean by `line-folding'. But if you want to have
automatic line breaks on, just turn on auto-fill-mode for your Org-files:

 (add-hook 'org-mode-hook 'turn-on-auto-fill)

I simply have

 (add-hook 'text-mode-hook 'turn-on-auto-fill)

to turn on auto-fill-mode in any text file. text-mode-hook is called
from outline-mode.

Not sure if this helps. I use fill-adapt for very special cases like
comments in C/C++ file and so on.

Best regards,


reply via email to

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