From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Powe Newsgroups: gmane.emacs.help Subject: 'smart' indentation Date: 09 Mar 2003 18:06:51 -0500 Organization: The Hospice of the Mind Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87llzonnqs.fsf@cecilia.trollope.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1047253231 17270 80.91.224.249 (9 Mar 2003 23:40:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2003 23:40:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 10 00:40:30 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18sAP8-0004UP-00 for ; Mon, 10 Mar 2003 00:40:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18sAP8-0001Bv-02 for gnu-help-gnu-emacs@m.gmane.org; Sun, 09 Mar 2003 18:40:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews2 Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: p-750.newsdawg.com X-Home-Page: http://www.trollope.org X-Newsreader: Gnus v5.8.8/GNU Emacs 21.2.1 [Linux 2.4.5] X-PGP: http://www.trollope.org/pgp.txt User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:110938 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7439 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7439 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