Subject: bug#7966: closed (Re: bug#7966: 23.1.50; bold property, dark background, and defface)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 08 Feb 2011 04:02:02 +0000

Your bug report

#7966: 23.1.50; bold property, dark background, and defface

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
7966: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7966
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#7966: 23.1.50; bold property, dark background, and defface
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Mon, 07 Feb 2011 23:10:08 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 23.3

In the absence of any comments about that patch I installed it.

Subject: 23.1.50; bold property, dark background, and defface
From: "Jose F. Morales" <[email-masked]>
To: [email-masked]
Date: Wed, 2 Feb 2011 17:01:47 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

When defining a face color as:

    ...
    (((class color) (background light)) (:foreground "NavyBlue" :bold t))
    (((class color) (background dark)) (:foreground "Lavender" :bold t))
    ...

the face does not switch from the light to the dark setting (or
viceversa) when changing the frame background. However, it does if the
face color is defined as:

    (((class color) (background light)) (:foreground "NavyBlue" :weight bold))
    (((class color) (background dark)) (:foreground "Lavender" :weight bold))

Is it a bug or the expected behaviour? Can I safely replaced ":bold t"
by ":weight bold"? Thank you.

In GNU Emacs 23.1.50.1 (x86_64-apple-darwin10.2.0, NS apple-appkit-1038.25)
 of 2009-12-08 on huygens.local
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Org

Minor modes in effect:
  TeX-PDF-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
e - m o d C-s C-s C-s C-s C-s C-a C-n C-n C-n C-n C-n
C-n C-p C-n C-x o C-n C-v M-v M-< C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n
C-n C-n C-p C-x o C-x 1 C-n C-v C-v C-v C-v C-v C-v
C-v C-v C-v C-v C-v C-v C-v C-x C-f C-a C-f C-f C-g
C-a d C-_ C-s d e f f a C-a C-x b C-g C-x C-b C-x o
C-n C-s . o r g C-a <return> C-n C-p C-x 1 C-n <tab>
C-s T O D O C-s C-a C-n C-p C-p C-n C-p C-p M-x s e
t - b a c <tab> <return> b l <backspace> <backspace>
w h i t e <return> M-x M-p <return> b l a c k <return>
C-n C-p M-x s e t <M-backspace> c u s t o m i z e -
f a <tab> <return> o r g - t o d o <return> C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-p q C-n C-p C-n C-p
M-x M-p C-g M-x s e t - b a c <tab> <return> w h i
t e <return> C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-n C-x b <return>
C-p M-x s e t - b a <tab> <return> b l a c k <return>
C-n C-p C-x b <return> C-p C-n M-x r e p o r <tab>
<return>

Recent messages:
Mark saved where search started
Quit
Mark saved where search started
CHILDREN
Mark saved where search started
Creating customization items...
Creating face editor...done
Creating customization items ...done
Resetting customization items...done
Creating customization setup...done
Quit

Load-path shadows:
/Users/jfran/Documents/git/prolog-commons/systems/ciao/emacs-mode/prolog
hides /Applications/Emacs.app/Contents/Resources/lisp/progmodes/prolog

Features:
(shadow mail-extr message ecomplete rfc822 mml mml-sec password-cache
mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045
qp ietf-drums mailabbrev nnheader gnus-util netrc mm-util mail-prsvr
gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils warnings
emacsbug sendmail org-clock crm cus-edit wid-edit multi-isearch
mule-util parse-time vc-cvs js json thingatpt imenu newcomment python-21
python sym-comp cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs make-mode sgml-mode css-mode tex-info texinfo
sh-script executable bibtex reftex-auc latexenc preview prv-emacs
tex-buf reftex-vcr reftex-dcr reftex reftex-vars font-latex latex
tex-style tex org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc
org-jsinfo org-infojs org-html org-exp org-exp-blocks org-agenda
org-info org-gnus org-bibtex org-bbdb org byte-opt bytecomp byte-compile
advice help-fns advice-preload org-footnote org-src org-list org-faces
org-compat org-macs time-date noutline outline easy-mmode vc-git dired
regexp-opt ciao etags word-help comint ring info vc-dispatcher vc-svn
tex-site server edmacro kmacro desktop cus-start cus-load tooltip
ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces
cus-face text-properties overlay md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process ns
multi-tty emacs)