unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Gernot Hassenpflug <gh@nospam.com>
Subject: Re: auto-indent
Date: Wed, 31 Dec 2003 11:36:16 +0900	[thread overview]
Message-ID: <vc9n099af33.fsf@nospam.com> (raw)
In-Reply-To: S9nIb.456$Er.31687@mencken.net.nih.gov

"hastenthunder" <hastenthunder@yahoo.com> 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

  reply	other threads:[~2003-12-31  2:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-30 22:40 auto-indent hastenthunder
2003-12-31  2:36 ` Gernot Hassenpflug [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-31 13:58 auto-indent hastenthunder
2003-11-28 17:11 Auto-Indent digits
2003-11-30  6:08 ` Auto-Indent Eli Zaretskii
     [not found] ` <mailman.804.1070176088.399.help-gnu-emacs@gnu.org>
2003-12-01 16:52   ` Auto-Indent digits
2002-11-16  2:51 auto-indent Michael P. Soulier
2002-11-16 18:57 ` auto-indent Kai Großjohann
2002-11-18 17:44 ` auto-indent Michael P. Soulier
2002-11-19 14:53   ` auto-indent Kai Großjohann
2002-11-20 17:35     ` auto-indent Michael P. Soulier

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=vc9n099af33.fsf@nospam.com \
    --to=gh@nospam.com \
    /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).