This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: configuring the docbook major mode for GNU Emacs(Win NT)
- To: "Lossner, Kevin" <KLossner at easy dot de>
- Subject: Re: DOCBOOK-APPS: configuring the docbook major mode for GNU Emacs(Win NT)
- From: Michael Smith <smith at xml-doc dot org>
- Date: Thu, 28 Dec 2000 09:32:53 -0800
- Cc: docbook-apps at lists dot oasis-open dot org
- References: <92F3AFA59FA5D3118DB100902772E7630208411D@EXCH_MH>
"Lossner, Kevin" <KLossner@easy.de> writes:
> Since Emacs is mentioned so often in this list as an editor, I
> thought I'd take a look at it and try the configuration that Norm
> Walsh created for editing docbook files. I'm a bit stuck at the
> following instruction in the README file:
>
> >> 4. Add the elisp code in dot_emacs to your .emacs file.
>
> As far as I can tell there is no such file in the NT distribution of
> Emacs. What's the equivalent in this context?
Before going further with your configuration on Windows, you should
probably read and follow Markus Hoenicka's step-by-step tutorial:
http://ourworld.compuserve.com/homepages/hoenicka_markus/ntsgml.html
Your .emacs file is a user-config file that goes in the directory you
specify with your $HOME environment variable. It's not part of the
distribution because it's meant to hold only personal customizations.
You can create a .emacs file using any text editor (Emacs itself,
Notepad, whatever) and save it in your $HOME directory.
If you name/save the file using something other than the Windows file
manager, you can call it .emacs. But the file manager won't let you
create filenames that start with a dot, so I think you can call it
_emacs instead, and Windows Emacs will still recognize it.
For getting any serious work done on Windows, you might also want to
consider installing Cygwin:
http://www.cygwin.com/
If you've heard of the MKS Toolkit, Cygwin is the free/open-source
alternative. In a nutshell, installing it gives you a standard UNIX
bash shell and an big set of common utilities (grep, tar, gzip, etc.)
and UNIX development tools that will run under Windows. It basically
lets you interact with a Windows machine as if it were running UNIX.
--
Michael Smith mailto:smith@xml-doc.org
XML-Doc http://www.xml-doc.org/