From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Indentation contest nxml vs xml-mode Date: Thu, 06 Mar 2008 22:18:36 +0000 Message-ID: <47D06DBC.3050800@gnu.org> References: <47D03AE7.8070408@gmail.com> <00a601c87fba$febc3150$0600a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204841942 6296 80.91.229.12 (6 Mar 2008 22:19:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2008 22:19:02 +0000 (UTC) Cc: "'Lennart Borgman \(gmail\)'" , 'Emacs Devel' To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 06 23:19:26 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JXOQr-00007L-1F for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 23:19:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXOQJ-0007tx-56 for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 17:18:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JXOQE-0007pp-Fb for emacs-devel@gnu.org; Thu, 06 Mar 2008 17:18:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JXOQC-0007lb-Ht for emacs-devel@gnu.org; Thu, 06 Mar 2008 17:18:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXOQC-0007l6-9y for emacs-devel@gnu.org; Thu, 06 Mar 2008 17:18:40 -0500 Original-Received: from mk-outboundfilter-4.mail.uk.tiscali.com ([212.74.114.32]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JXOQB-0005zE-UT for emacs-devel@gnu.org; Thu, 06 Mar 2008 17:18:40 -0500 Original-X-Trace: 21016586/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao0BAKP8z0dTQxds/2dsb2JhbAAIrG0 X-IronPort-AV: E=McAfee;i="5200,2160,5246"; a="21016586" X-IP-Direction: OUT Original-Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Mar 2008 22:18:38 +0000 User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <00a601c87fba$febc3150$0600a8c0@us.oracle.com> X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:91555 Archived-At: Drew Adams wrote: >> Try indenting the following in nxml-mode and xml-mode: >> >> >> >> Duh >> >> >> >> >> I think xml-mode wins here. This has been discussed here before. Try it with some real elements... Duh Which indentation looks more correct now? nxml's indentation is based on the fact that you are using in a way that suggests that it has inline, not block semantics.