unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jim Crossley <jim@crossleys.org>
Subject: Re: xml indenting, possibly with psgml?
Date: 06 Dec 2002 10:55:52 -0500	[thread overview]
Message-ID: <m3u1hr6t13.fsf@vaio.crossleys.org> (raw)
In-Reply-To: asqbn1$tassa$1@ID-142197.news.dfncis.de

Bjoern <p1@blinker.net> writes:

> I can't figure out how to make psgml indent my xml-files. It just
> doesn't do anything when I press 'tab' or do 'indent-region'.

M-x customize-variable RET sgml-indent-data

> I also get an error message because it doesn't find the dtd, can't I
> get rid of that. I guess I really only need indenting and possibly
> syntax highlighting.

You'll only get that error once (the first time it attempts to
parse).  You can live with it (and still derive benefit from
indentation, etc) or you can create a local CATALOG file that contains
the DTD references you commonly use.  I highly recommend this article:

http://www-106.ibm.com/developerworks/library/x-emacs/

> Perhaps there is a simpler mode for achieving this?

Not really.

> Bjoern

Jim

  reply	other threads:[~2002-12-06 15:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-06 14:24 xml indenting, possibly with psgml? Bjoern
2002-12-06 15:55 ` Jim Crossley [this message]
2002-12-10 23:13   ` Bjoern
2002-12-11 20:34     ` Kai Großjohann
2002-12-06 16:19 ` Stefan Monnier <foo@acm.com>
2002-12-10 23:29   ` Bjoern
2002-12-11  0:32     ` Bjoern
2002-12-11  1:32       ` Self-documentation adjustment David Forrest
2002-12-11 14:25         ` Stefan Monnier <foo@acm.com>
2002-12-11 14:53         ` Kevin Rodgers
2002-12-24  3:22         ` Moving a symbol from one obarray to another Greg Hill
2003-01-10  5:33   ` xml indenting, possibly with psgml? Gman
2003-01-12 20:46     ` Stefan Monnier <foo@acm.com>
2002-12-06 21:45 ` Michael Slass
  -- strict thread matches above, loose matches on Subject: below --
2002-12-12  6:17 Dmitri.Minaev
2003-01-10 17:20 Jayakrishnan Nair

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3u1hr6t13.fsf@vaio.crossleys.org \
    --to=jim@crossleys.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).