[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-docs-list
Subject:    Re: nxml-mode for Emacs
From:       James Ralston <qralston+ml.redhat-fedora-docs () andrew ! cmu ! edu>
Date:       2003-12-06 19:32:44
Message-ID: 4350000.1070739163 () pcmy ! sei ! cmu ! edu
[Download RAW message or body]

On 2003-11-21 at 14:44:53-0800 "Taylor, ForrestX" <forrestx.taylor@intel.com> wrote:

> On Mon, 2003-11-17 at 07:29, Tim Waugh wrote:
> 
> > ftp://people.redhat.com/twaugh/docbook/nxml-mode
> 
> So, how does on start using nXML mode after installing the rpm?

After you install the RPM, visiting any file that ends in ".xhtml"
should switch to nXML mode (unless the file explicitly sets a
different mode).  If not, you can explicitly call M-x nxml-mode.

There is a cursory Info document ("nXML Mode") that describes most of
the features.

You can use the Custom feature to experiment with different faces.  At
the moment, I'm using this:

(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 )
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(mode-line ((((type x w32 mac) (class color)) (:background "navy" :foreground \
"yellow" :box (:line-width -1 :style released-button)))))  \
'(nxml-comment-content-face ((t (:foreground "yellow4"))))  \
'(nxml-delimited-data-face ((t (:foreground "lime green"))))  '(nxml-delimiter-face \
((t (:foreground "grey"))))  '(nxml-element-local-name-face ((t (:inherit \
nxml-name-face :foreground "medium turquoise"))))  '(nxml-name-face ((t (:foreground \
"rosy brown"))))  '(nxml-tag-slash-face ((t (:inherit nxml-name-face :foreground \
"grey")))))

(Although this probably won't look decent unless you use whitish text
on a blackish background.)

-- 
James Ralston, Information Technology
Software Engineering Institute
Carnegie Mellon University, Pittsburgh, PA, USA


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic