all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thorsten Bonow <thorsten.bonow@post.rwth-aachen.de>
Subject: Re: how to prevent 'line-wrap'?
Date: Fri, 23 Jul 2004 11:35:11 +0200	[thread overview]
Message-ID: <87d62n3w34.fsf@herrrossi.mmweg.rwth-aachen.de> (raw)
In-Reply-To: cdqj6o$t8c$1@news1.kornet.net

>>>>> "Chang" == Chang PilHun <cph@nhncorp.com> writes:

    Chang> in vim, I can do this ":set" nowrap.(and recover by ":set wrap") How
    Chang> can I do these actions in emacs?

The function `auto-fill-mode' toggles "word-wrapping" in Emacs.

To enable it for all text based modes, I have

;; ** auto-fill for all text modes
(add-hook 'text-mode-hook 'auto-fill-mode 1)

in my init file.

Toto

-- 
Contact information and PGP key at
http://www-users.rwth-aachen.de/thorsten.bonow

  reply	other threads:[~2004-07-23  9:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23  8:45 how to prevent 'line-wrap'? Chang PilHun
2004-07-23  9:35 ` Thorsten Bonow [this message]
2004-07-23 11:31   ` roodwriter
2004-07-23 20:58 ` Walker Pendleton

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d62n3w34.fsf@herrrossi.mmweg.rwth-aachen.de \
    --to=thorsten.bonow@post.rwth-aachen.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.