Date: Wed, 27 Jan 1999 19:35:01 +0000 From: Nik Clayton <nik@nothing-going-on.demon.co.uk> To: Vallo Kallaste <vallo@matti.ee> Cc: freebsd-doc@FreeBSD.ORG Subject: Re: About Emacs and PSGML Message-ID: <19990127193500.A3201@catkin.nothing-going-on.org> In-Reply-To: <19990127085501.A58549@matti.ee>; from Vallo Kallaste on Wed, Jan 27, 1999 at 08:55:01AM %2B0200 References: <19990127085501.A58549@matti.ee>
index | next in thread | previous in thread | raw e-mail
On Wed, Jan 27, 1999 at 08:55:01AM +0200, Vallo Kallaste wrote:
> Some time ago I posted question about Emacs PSGML package.
Sorry, I must have missed it.
<snip: Emacs can't auto indent SGML source>
> So I have now next question, is this true or are things different
> when I use FreeBSD port of Emacs ?
It's not true. At least, not for Xemacs, which is what I use.
If you've loaded a .sgml file in Xemacs, go
SGML -> File Options
on the menu, and make sure "Indent data" is set to true. You can also set
the sgml-indent-data variable in the usual way.
My .emacs has the following hook defined;
(add-hook 'sgml-mode-hook
(function
(lambda()
(setq sgml-omittag nil)
(setq sgml-indent-data t))))
which does the right thing.
N
--
Bagel: The carbohydrate with the hole
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990127193500.A3201>
