emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Line folding
@ 2009-09-08  7:57 Somayaji, Ananth
  2009-09-08  9:22 ` Sebastian Rose
  0 siblings, 1 reply; 2+ messages in thread
From: Somayaji, Ananth @ 2009-09-08  7:57 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 189 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 2233 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Line folding
  2009-09-08  7:57 Line folding Somayaji, Ananth
@ 2009-09-08  9:22 ` Sebastian Rose
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Rose @ 2009-09-08  9:22 UTC (permalink / raw)
  To: Somayaji, Ananth; +Cc: emacs-orgmode@gnu.org

"Somayaji, Ananth" <gs_ananth@ti.com> 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,

  Sebastian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-08  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-08  7:57 Line folding Somayaji, Ananth
2009-09-08  9:22 ` Sebastian Rose

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).