# HG changeset patch # User aidan # Date 1112268524 0 # Node ID 2f2d12f4f93accda75ef05c3d6506d9b34d66499 # Parent b64583b596160d86b6624acc0f3a34a116da3826 [xemacs-hg @ 2005-03-31 11:28:41 by aidan] Emacs -> XEmacs as X resource app class in warnings about lack of bold, italic diff -r b64583b59616 -r 2f2d12f4f93a lisp/ChangeLog --- 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 + + * 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 * startup.el (command-line): Move Mule initialisation before diff -r b64583b59616 -r 2f2d12f4f93a lisp/faces.el --- 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 diff -r b64583b59616 -r 2f2d12f4f93a lisp/x-faces.el --- 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