From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Somayaji, Ananth" Subject: Line folding Date: Tue, 8 Sep 2009 13:27:41 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0608306168==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MkvaS-0002hY-Lx for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 03:58:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MkvaO-0002YU-4Y for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 03:58:00 -0400 Received: from [199.232.76.173] (port=58956 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkvaO-0002YD-0W for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 03:57:56 -0400 Received: from mx20.gnu.org ([199.232.41.8]:4904) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MkvaN-0001Yo-Fz for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 03:57:55 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MkvaM-000051-Bf for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 03:57:54 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id n887vh51024604 for ; Tue, 8 Sep 2009 02:57:49 -0500 Received: from dbde71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id n887vfw8004091 for ; Tue, 8 Sep 2009 13:27:42 +0530 (IST) Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --===============0608306168== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_E0D41E29EB0DAC4E9F3FF173962E9E9402537C14BCdbde02enttico_" --_000_E0D41E29EB0DAC4E9F3FF173962E9E9402537C14BCdbde02enttico_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Any pointers on how to enable line-folding like the one done in filladapt-m= ode in org-mode ? I tried doing it but the syntax highlighting is all gone = bad. Best Regards, Ananth --_000_E0D41E29EB0DAC4E9F3FF173962E9E9402537C14BCdbde02enttico_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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 i= s all gone bad.

 

Best Regards, Ananth

 

--_000_E0D41E29EB0DAC4E9F3FF173962E9E9402537C14BCdbde02enttico_-- --===============0608306168== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0608306168==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Line folding Date: Tue, 08 Sep 2009 11:22:06 +0200 Message-ID: <87ocpl94g1.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mkwu6-0007WX-HH for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 05:22:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mkwu1-0007Uo-Ij for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 05:22:21 -0400 Received: from [199.232.76.173] (port=60488 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkwu1-0007Ul-9L for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 05:22:17 -0400 Received: from mail.gmx.net ([213.165.64.20]:41237) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Mkwu0-0001RQ-Mc for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 05:22:17 -0400 In-Reply-To: (Ananth Somayaji's message of "Tue, 8 Sep 2009 13:27:41 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Somayaji, Ananth" Cc: "emacs-orgmode@gnu.org" "Somayaji, Ananth" 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