From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Bug in nxml-mode (indentation)? Date: Thu, 20 Dec 2007 19:41:20 -0500 Message-ID: References: <8763ywvf4y.fsf@everybody.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198197722 10450 80.91.229.12 (21 Dec 2007 00:42:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2007 00:42:02 +0000 (UTC) Cc: Eric Lilja , emacs-devel@gnu.org To: mah@everybody.org (Mark A. Hershberger) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 21 01:42:12 2007 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 1J5Vxa-0000WS-UB for ged-emacs-devel@m.gmane.org; Fri, 21 Dec 2007 01:41:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5VxH-0004Uy-BM for ged-emacs-devel@m.gmane.org; Thu, 20 Dec 2007 19:41:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J5Vx4-0004H4-Fj for emacs-devel@gnu.org; Thu, 20 Dec 2007 19:41:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J5Vx3-0004Fy-Gw for emacs-devel@gnu.org; Thu, 20 Dec 2007 19:41:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5Vx3-0004Fg-8p for emacs-devel@gnu.org; Thu, 20 Dec 2007 19:41:21 -0500 Original-Received: from bas-flu-bbcs-dynip-199-119.vtx.ch ([83.228.199.119] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J5Vx2-0005B3-Vm for emacs-devel@gnu.org; Thu, 20 Dec 2007 19:41:21 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 24FEEB40F3; Thu, 20 Dec 2007 19:41:20 -0500 (EST) In-Reply-To: <8763ywvf4y.fsf@everybody.org> (Mark A. Hershberger's message of "Mon, 17 Dec 2007 22:46:37 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:85322 Archived-At: >> Is the nxml-mode way of indenting vs xml-mode in this particular >> example to be considered a bug? > Space can be significant (i.e. can convey meaning) in XML and there is > no way to figure out what the space means just from the snippets you've > given. Depending on the application, the following XML could be > considered identical or completely different: > bar > or > > bar > > or > > bar > But this problem you bring up is about whether to auto-indent or not, not about *how* to auto-indent. I.e. it's unrelated to the OP's problem. Stefan