[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] word wrap preferences in org-mode buffers
From: |
Eric S Fraga |
Subject: |
Re: [Orgmode] word wrap preferences in org-mode buffers |
Date: |
Sat, 17 Jul 2010 12:01:35 +0100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
On Fri, 16 Jul 2010 22:55:40 +0200, Sebastian Rose <address@hidden> wrote:
>
> Erik Iverson <address@hidden> writes:
> > Hello,
> >
> > As I use org-mode more and more for actually writing things, I'm wondering
> > what
> > your favorite Emacs word/line-wrapping mode is.
> >
> > Basically, I see two main ways of doing this, auto-fill-mode and
> > visual-line-mode. Any others that you all use? If you use auto-fill-mode
> > or
> > visual-line-mode, are there any obvious drawbacks, particularly regarding
> > org-tables and source code blocks.
>
>
> I have this here bound to `SUPER-t':
>
> (defun sr-toggle-truncate-lines ()
> "Lange Zeilen abschneiden, oder eben nicht."
> (interactive)
> (setq truncate-lines (if truncate-lines nil t)))
>
> I use it to toggle truncate-lines in the rare cases I have to edit a
> longish piece of text, that must be on one line.
Sebastian,
Emacs, at least since v22 or maybe longer, has a built-in function
"toggle-truncate-lines".
--
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D