From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: How to get "Wrap at Window Edge" in org-mode? Date: Wed, 23 May 2012 09:56:34 +0200 Message-ID: <30BE8B40-8A76-432F-AB93-157BE61EEE65@gmail.com> References: <87hav8fc7n.fsf@math.ethz.ch> <87hav8w2r5.fsf@gnu.org> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SX6RC-0000sP-43 for emacs-orgmode@gnu.org; Wed, 23 May 2012 03:56:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SX6R7-0002RH-Cz for emacs-orgmode@gnu.org; Wed, 23 May 2012 03:56:53 -0400 In-Reply-To: <87hav8w2r5.fsf@gnu.org> 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: Bastien Cc: Marius Hofert , emacs-orgmode@gnu.org On May 22, 2012, at 7:21 PM, Bastien wrote: > Hi Marius, >=20 > Marius Hofert writes: >=20 >> 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: >>=20 >> ,---- >> | (add-hook 'org-agenda-mode-hook >> | '(lambda() >> | (if truncate-lines (toggle-truncate-lines -1)) >> | )) >> `---- >>=20 >> How can I get "Wrap at Window Edge" in all .org files? >=20 > (setq org-startup-truncated nil) The a reason why Org does wrap by default is to keep tables and code = segments in good shape. It would be nice if line truncation could be = set locally with text properties, but that is currently not the case. - Carsten >=20 > HTH, >=20 > --=20 > Bastien >=20 - Carsten