emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: word wrap preferences in org-mode buffers
Date: Sat, 17 Jul 2010 12:01:35 +0100	[thread overview]
Message-ID: <87iq4extgw.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <87sk3jno37.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]

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

[-- Attachment #2: Type: text/plain, Size: 75 bytes --]

-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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	other threads:[~2010-07-17 11:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-16 19:37 word wrap preferences in org-mode buffers Erik Iverson
2010-07-16 20:18 ` Eric S Fraga
2010-07-19  8:43   ` Noorul Islam K M
2010-07-16 20:55 ` Sebastian Rose
2010-07-17 11:01   ` Eric S Fraga [this message]
2010-07-17 11:57     ` Sebastian Rose
2010-07-17 12:23       ` Eric S Fraga

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=87iq4extgw.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastian_rose@gmx.de \
    /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).