From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Gernot Hassenpflug Newsgroups: gmane.emacs.help Subject: Re: auto-indent Date: Wed, 31 Dec 2003 11:36:16 +0900 Organization: RASC Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1072838668 14496 80.91.224.253 (31 Dec 2003 02:44:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2003 02:44:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 31 03:44:25 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AbWLR-000591-00 for ; Wed, 31 Dec 2003 03:44:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AbXIm-0003FF-IT for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Dec 2003 22:45:44 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.media.kyoto-u.ac.jp!news.media.kyoto-u.ac.jp!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: h16.110.244.10.31184.vlan.kuins.net Original-X-Trace: caraway.media.kyoto-u.ac.jp 1072838176 49 10.244.110.16 (31 Dec 2003 02:36:16 GMT) Original-X-Complaints-To: news@news.media.kyoto-u.ac.jp Original-NNTP-Posting-Date: Wed, 31 Dec 2003 02:36:16 +0000 (UTC) Mail-Copies-To: never X-Attribution: Gernot Hassenpflug X-Jost-Rating: Gernot X-URL: http://www.kurasc.kyoto-u.ac.jp/radar-group/members/~gernot X-Home-Page: http://www.kurasc.kyoto-u.ac.jp/radar-group/members/gernot/index.html User-Agent: T-gnus/6.15.13 (based on Oort Gnus v0.13) Cancel-Lock: sha1:2ucJ8qn8oQ7X7OTem7el2D329aQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:119690 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:15632 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15632 "hastenthunder" writes: > Hi Group, > > I'm trying to figure out how to get emacs to auto-indent. > > For example, if I type > This is the first line > > I like my second line to start at position 6 rather than position 1. > > Can any one tell me how to do this? Sorry if this question seem simple. indented-text-mode >>From the description: indented-text-mode is an alias for `text-mode' in `textmodes/text-mode'. (indented-text-mode) Major mode for editing text written for humans to read. In this mode, paragraphs are delimited only by blank or white lines. You can thus get the full benefit of adaptive filling (see the variable `adaptive-fill-mode'). key binding --- ------- TAB indent-relative ESC Prefix Command ESC S center-paragraph ESC s center-line ESC TAB ispell-complete-word Turning on Text mode runs the normal hook `text-mode-hook'. -- G Hassenpflug RASC, Kyoto University