emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Russell Adams <RLAdams@AdamsInfoServ.Com>
To: emacs-orgmode@gnu.org
Subject: Re: How to get "Wrap at Window Edge" in org-mode?
Date: Tue, 22 May 2012 10:53:59 -0500	[thread overview]
Message-ID: <20120522155358.GM4001@cardamom.adamsinfoserv.com> (raw)
In-Reply-To: <87hav8fc7n.fsf@math.ethz.ch>

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

  reply	other threads:[~2012-05-22 15:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22 15:49 How to get "Wrap at Window Edge" in org-mode? Marius Hofert
2012-05-22 15:53 ` Russell Adams [this message]
2012-05-22 17:21 ` Bastien
2012-05-22 17:31   ` Marius Hofert
2012-05-23  7:56   ` Carsten Dominik
  -- strict thread matches above, loose matches on Subject: below --
2012-05-22 16:14 Marius Hofert
2012-05-22 16:51 ` Russell Adams
2012-05-22 17:16 ` Marius Hofert

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=20120522155358.GM4001@cardamom.adamsinfoserv.com \
    --to=rladams@adamsinfoserv.com \
    --cc=emacs-orgmode@gnu.org \
    /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).