Mercurial > hg > xemacs-beta
changeset 2703:2f2d12f4f93a
[xemacs-hg @ 2005-03-31 11:28:41 by aidan]
Emacs -> XEmacs as X resource app class in warnings about lack of bold, italic
author | aidan |
---|---|
date | Thu, 31 Mar 2005 11:28:44 +0000 |
parents | b64583b59616 |
children | 114400ea911b |
files | lisp/ChangeLog lisp/faces.el lisp/x-faces.el |
diffstat | 3 files changed, 19 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Mar 30 21:51:42 2005 +0000 +++ b/lisp/ChangeLog Thu Mar 31 11:28:44 2005 +0000 @@ -1,3 +1,11 @@ +2005-03-31 Aidan Kehoe <kehoea@parhasard.net> + + * faces.el (face-complain-about-font): + * x-faces.el: + The warnings when there wasn't a bold or italic version of a given + font available still specified "Emacs" as the X11 resource + class. Change this to "XEmacs." + 2005-03-29 Aidan Kehoe <kehoea@parhasard.net> * startup.el (command-line): Move Mule initialisation before
--- a/lisp/faces.el Wed Mar 30 21:51:42 2005 +0000 +++ b/lisp/faces.el Thu Mar 31 11:28:44 2005 +0000 @@ -1746,9 +1746,9 @@ visually distinguishable from the default face. For example, you could add one of the following to $HOME/Emacs: -Emacs.%s.attributeFont: -dt-*-medium-i-* +XEmacs.%s.attributeFont: -dt-*-medium-i-* or -Emacs.%s.attributeForeground: hotpink\n" +XEmacs.%s.attributeForeground: hotpink\n" invocation-name (if (string-match "\\`[aeiouAEIOU]" face) "an" "a") face
--- a/lisp/x-faces.el Wed Mar 30 21:51:42 2005 +0000 +++ b/lisp/x-faces.el Thu Mar 31 11:28:44 2005 +0000 @@ -39,20 +39,20 @@ ;; The resource-manager syntax for faces is -;; Emacs.bold.attributeFont: font-name -;; Emacs.bold.attributeForeground: fg -;; Emacs.bold.attributeBackground: bg -;; Emacs.bold.attributeBackgroundPixmap: file -;; Emacs.bold.attributeUnderline: true/false -;; Emacs.bold.attributeStrikethru: true/false +;; XEmacs.bold.attributeFont: font-name +;; XEmacs.bold.attributeForeground: fg +;; XEmacs.bold.attributeBackground: bg +;; XEmacs.bold.attributeBackgroundPixmap: file +;; XEmacs.bold.attributeUnderline: true/false +;; XEmacs.bold.attributeStrikethru: true/false ;; You can specify the properties of a face on a per-frame basis. For ;; example, to have the "isearch" face use a red foreground on frames -;; named "emacs" (the default) but use a blue foreground on frames that +;; named "XEmacs" (the default) but use a blue foreground on frames that ;; you create named "debugger", you could do -;; Emacs*emacs.isearch.attributeForeground: red -;; Emacs*debugger.isearch.attributeForeground: blue +;; XEmacs*XEmacs.isearch.attributeForeground: red +;; XEmacs*debugger.isearch.attributeForeground: blue ;; Generally things that make faces won't set any of the face attributes if ;; you have already given them values via the resource database. You can