emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to get "Wrap at Window Edge" in org-mode?


From: Russell Adams
Subject: Re: [O] How to get "Wrap at Window Edge" in org-mode?
Date: Tue, 22 May 2012 10:53:59 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

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                            address@hidden

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3



reply via email to

[Prev in Thread] Current Thread [Next in Thread]