unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

  List information: https://www.gnu.org/software/emacs/

* 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.
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).