From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ole Laursen Newsgroups: gmane.emacs.help Subject: Re: 'smart' indentation Date: 10 Mar 2003 21:02:09 +0100 Organization: TDC Internet Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87u1ebj8hq.fsf@bach.composers> References: <87llzonnqs.fsf@cecilia.trollope.org> <84ptozjp6v.fsf@lucy.is.informatik.uni-duisburg.de> 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 1047326745 8494 80.91.224.249 (10 Mar 2003 20:05:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2003 20:05:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 10 21:05:43 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 18sTWp-0002Ck-00 for ; Mon, 10 Mar 2003 21:05:43 +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 18sTWZ-0002VC-01 for gnu-help-gnu-emacs@m.gmane.org; Mon, 10 Mar 2003 15:05:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Lines: 19 Original-NNTP-Posting-Host: 131.165.63.132 Original-X-Trace: 1047326526 dread15.news.tele.dk 137 131.165.63.132 Original-X-Complaints-To: abuse@post.tele.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:110959 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:7459 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7459 Oliver Scholz writes: > kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: > [...] > > Usually, Emacs does syntax-driven indentation. This means that it > > groks the syntax of your programming language and then uses the right > > indentation level. > [...] > > Does that imply that other editors don't have syntax driven > indentation??? I think most haven't, at least not for more than one or two languages. It's not trivial to implement. I think most fake it like indent-relative. -- Ole Laursen http://www.cs.auc.dk/~olau/