On Fri, 16 Jul 2010 22:55:40 +0200, Sebastian Rose <sebastian_r...@gmx.de> 
wrote:
> 
> Erik Iverson <er...@ccbr.umn.edu> 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
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to