emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: "Somayaji, Ananth" <gs_ananth@ti.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Line folding
Date: Tue, 08 Sep 2009 11:22:06 +0200	[thread overview]
Message-ID: <87ocpl94g1.fsf@gmx.de> (raw)
In-Reply-To: <E0D41E29EB0DAC4E9F3FF173962E9E9402537C14BC@dbde02.ent.ti.com> (Ananth Somayaji's message of "Tue, 8 Sep 2009 13:27:41 +0530")

"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

      reply	other threads:[~2009-09-08  9:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-08  7:57 Line folding Somayaji, Ananth
2009-09-08  9:22 ` Sebastian Rose [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ocpl94g1.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=gs_ananth@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).