From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thorsten Bonow Newsgroups: gmane.emacs.help Subject: Re: how to prevent 'line-wrap'? Date: Fri, 23 Jul 2004 11:35:11 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87d62n3w34.fsf@herrrossi.mmweg.rwth-aachen.de> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1090575442 12757 80.91.224.253 (23 Jul 2004 09:37:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2004 09:37:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 23 11:37:17 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BnwUO-0000iS-00 for ; Fri, 23 Jul 2004 11:37:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BnwXG-0002sx-H9 for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Jul 2004 05:40:14 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: news.uni-berlin.de rU2mw9a0h3scrz5SJt3dwgJ1Vl0xb5mxeQhj4tkV5BEqrJvNyGv3fAioe/ User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:+BPi5Fv7vyFUkYDOiDtsCxySVik= Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!feed.ac-versailles.fr!fu-berlin.de!uni-berlin.de!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:124410 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19747 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19747 >>>>> "Chang" == Chang PilHun 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