On Fri, 16 Jul 2010 22:55:40 +0200, Sebastian Rose wrote: > > Erik Iverson 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".