From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: How to get "Wrap at Window Edge" in org-mode? Date: Tue, 22 May 2012 10:53:59 -0500 Message-ID: <20120522155358.GM4001@cardamom.adamsinfoserv.com> References: <87hav8fc7n.fsf@math.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWrPU-0003Ia-TI for emacs-orgmode@gnu.org; Tue, 22 May 2012 11:54:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SWrPP-0002YC-IM for emacs-orgmode@gnu.org; Tue, 22 May 2012 11:54:08 -0400 Received: from jack.asmallorange.com ([74.52.119.82]:60016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWrPP-0002XS-D6 for emacs-orgmode@gnu.org; Tue, 22 May 2012 11:54:03 -0400 Received: from snow-white-ext.umsmed.edu ([192.231.71.2]:34111 helo=localhost) by jack.asmallorange.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1SWrPL-002SdB-5w for emacs-orgmode@gnu.org; Tue, 22 May 2012 11:53:59 -0400 Content-Disposition: inline In-Reply-To: <87hav8fc7n.fsf@math.ethz.ch> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Tue, May 22, 2012 at 05:49:00PM +0200, Marius Hofert wrote: > Hi, > > I am working with Xubuntu 12.04 on a MacBook Air (4,1) with org-mode version > 7.8.09. I use the following code to get "Wrap at Window Edge" in > org-agenda-mode: > > ,---- > | (add-hook 'org-agenda-mode-hook > | '(lambda() > | (if truncate-lines (toggle-truncate-lines -1)) > | )) > `---- > > How can I get "Wrap at Window Edge" in all .org files? The only idea I found is > https://plus.google.com/u/0/113859563190964307534/posts/RVBN7KvQtB7 but that > unfortunately did not work. > > Cheers, > > Marius > This will set wrapping globally from your .emacs file: (setq-default truncate-lines nil) ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3