unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Powe <michael@trollope.org>
Subject: 'smart' indentation
Date: 09 Mar 2003 18:06:51 -0500	[thread overview]
Message-ID: <87llzonnqs.fsf@cecilia.trollope.org> (raw)

hello,

i would like to have 'smart' indentation, à la some editors i use like
textpad.  if i indent a line, then when i press enter at the end of
the line, i want point to go to the indented position on the following
line.  i can't find the way to make this work.  it looks like
'adaptive-fill-mode' should do this, but it does not.  having to go
back and 'indent-region' is annoying.

thanks.

mp

-- 
  Michael Powe                                 Waterbury, CT USA
-------------------------------------------------------------------
"It stands to reason that self-righteous, inflexible, single-minded,
authoritarian true believers are politically organized. Open-minded,
flexible, complex, ambiguous, anti-authoritarian people would just as
soon be left to mind their own fucking business." - R.U. Sirius

             reply	other threads:[~2003-03-09 23:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-09 23:06 Michael Powe [this message]
2003-03-10  0:26 ` 'smart' indentation Johan Bockgård
2003-03-10  0:26 ` Benjamin Rutt
2003-03-10 14:01 ` Kai Großjohann
2003-03-10 17:03   ` Oliver Scholz
2003-03-10 18:22     ` Kai Großjohann
2003-03-10 20:02     ` Ole Laursen
2003-03-10 20:24       ` Oliver Scholz
2003-03-10 20:33   ` Stefan Monnier
2003-03-11 11:50     ` Kai Großjohann
2003-03-11 15:11       ` Stefan Monnier

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=87llzonnqs.fsf@cecilia.trollope.org \
    --to=michael@trollope.org \
    /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).