unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Indentation problems in SGML mode
@ 2003-05-13 16:18 Jeffery B. Rancier
  0 siblings, 0 replies; 12+ messages in thread
From: Jeffery B. Rancier @ 2003-05-13 16:18 UTC (permalink / raw)


I'm seeing peculiar indentation in some of my XML files.  For example,
if I start with the following:

<?xml version="1.0"?>
<project name="ScreenDesigner" default="help" basedir=".">
    <!-- Project directories -->
    <property name="src.dir"              value="src"/>
    <property name="doc.dir"              value="doc"/>
    <property name="dist.dir"             value="dist"/>
    <property name="lib.dir"              value="lib"/>
    <property name="bin.dir"              value="bin"/>

    <!-- Temporary build directories -->
    <property name="build.dir"            value="build"/>
    <property name="build.classes"        value="${build.dir}/classes"/>
    <property name="build.doc"            value="${build.dir}/doc"/>
    <property name="build.lib"            value="${build.dir}/lib"/>

and run mark-whole-buffer, and run indent-region, I get the
following.  Is a bug in SGML mode?

<?xml version="1.0"?>
<project name="ScreenDesigner" default="help" basedir=".">
  <!-- Project directories -->
  <property name="src.dir"              value="src"/>
    <property name="doc.dir"              value="doc"/>
      <property name="dist.dir"             value="dist"/>
	<property name="lib.dir"              value="lib"/>
	  <property name="bin.dir"              value="bin"/>

	    <!-- Temporary build directories -->
	    <property name="build.dir"            value="build"/>
	      <property name="build.classes"        value="${build.dir}/classes"/>
		<property name="build.doc"            value="${build.dir}/doc"/>
		  <property name="build.lib"            value="${build.dir}/lib"/>

-- 
Thanks,
Jeff
,----
| Jeffery B. Rancier
| 
| Softechnics
| a METTLER TOLEDO company
`----

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-05-21 20:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.6112.1052843222.21513.help-gnu-emacs@gnu.org>
2003-05-13 19:58 ` Indentation problems in SGML mode Kai Großjohann
2003-05-13 23:21   ` Peter Lee
2003-05-15  8:35     ` Kai Großjohann
2003-05-15 14:53       ` Kevin Rodgers
2003-05-16  6:21         ` Kai Großjohann
2003-05-15 15:22       ` Peter Lee
2003-05-15 17:27   ` Jeffery B. Rancier
     [not found]   ` <mailman.6260.1053020030.21513.help-gnu-emacs@gnu.org>
2003-05-17 17:16     ` Stefan Monnier
2003-05-19 14:36       ` Jeffery B. Rancier
     [not found]       ` <mailman.6432.1053392287.21513.help-gnu-emacs@gnu.org>
2003-05-20  6:40         ` Stefan Monnier
2003-05-21 20:39           ` Jeffery B. Rancier
2003-05-13 16:18 Jeffery B. Rancier

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).