[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: nxml-mode for Emacs



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]