This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: PSGML with emacs 21


It works fine for me. NTemacs 21.1, psgml-1.2.3 on Win2K.
Havn't tried yet on a *nix, but I'd be surprised if it were any different.

Oh, a smal glitch (it's the same with psgml-1.2.2): I like to use 
customize-face to set up faces, but it doesn't work quite as it should; 
I can customize all right, but after customization, the faces are no 
longer created when emacs loads (the NOW parameter gets zapped), and 
psgml apparently doesn't trigger creation of the faces. I have to manually 
add a non-nil value for NOW to force emacs to create the face. Example 
included:

(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.
 '(cursor ((t (:background "blue"))))
 '(font-lock-string-face ((t (:foreground "dark green"))))
 '(psgml-comment-face ((t (:background "gray95" :foreground "dimgray" :slant
italic))) t)
 '(psgml-doctype-face ((t (:foreground "forestgreen" :height 0.9 :family
"lucida console"))) t)
 '(psgml-end-tag-face ((t (:background "cornsilk" :foreground
"mediumslateblue" :box (:line-width 1 :color "grey75" :style
released-button) :height 0.9 :family "lucida console"))) t)
 '(psgml-entity-face ((t (:background "cornsilk" :foreground "firebrick"
:box (:line-width 1 :color "grey75" :style released-button) :height 0.9
:family "lucida console"))) t)
 '(psgml-ignored-face ((t (:foreground "maroon" :background "grey95"))) t)
 '(psgml-ms-end-face ((t (:background "lightblue" :height 0.9 :family
"lucida console"))) t)
 '(psgml-ms-start-face ((t (:background "lightblue" :height 0.9 :family
"lucida console"))) t)
 '(psgml-pi-face ((t (:background "cornsilk" :foreground "coral" :box
(:line-width 1 :color "grey75" :style released-button) :height 0.9 :family
"lucida console"))) t)
 '(psgml-sgml-face ((t (:foreground "maroon"))) t)
 '(psgml-shortref-face ((t (:background "yellow" :height 0.9 :family "lucida
console"))) t)
 '(psgml-start-tag-face ((t (:background "cornsilk" :foreground
"mediumslateblue" :box (:line-width 1 :color "grey75" :style
released-button) :height 0.9 :family "lucida console"))) t)
)

Kind regards
Peter Ring

-----Original Message-----
From: Eric Richardson [mailto:eric.richardson@milagrosoft.com]
Sent: Thursday, November 15, 2001 6:33 PM
To: docbook
Subject: Re: DOCBOOK-APPS: PSGML with emacs 21


Peter Ring wrote:

> Or better: get psgml-1.2.3
>
> http://sourceforge.net/projects/psgml/


Does this include the patch that was going around for saving the parsed DTD?


Eric



----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]