From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Erik Charlebois Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4381: 23.1.50; Cocoa Emacs: face background for 'region set in ns-win.el after .emacs Date: Wed, 9 Sep 2009 00:23:33 -0700 Message-ID: <1AAD906B-FB98-45B1-897A-C42427404493@gmail.com> Reply-To: Erik Charlebois , 4381@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1075.2) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252482597 5866 80.91.229.12 (9 Sep 2009 07:49:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Sep 2009 07:49:57 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 09 09:49:50 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MlHw3-0005oV-1h for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Sep 2009 09:49:48 +0200 Original-Received: from localhost ([127.0.0.1]:59418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlHw2-0007HB-Eb for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Sep 2009 03:49:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlHvE-0006zo-GW for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 03:48:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlHv9-0006xT-Jk for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 03:48:56 -0400 Original-Received: from [199.232.76.173] (port=33803 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlHv9-0006xM-AT for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 03:48:51 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:9612) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MlHv8-0004Fw-Hc for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 03:48:50 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlHv7-0001wI-DK for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2009 03:48:49 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n897kwxj031733; Wed, 9 Sep 2009 00:46:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n897U6Gn029019; Wed, 9 Sep 2009 00:30:06 -0700 Resent-Date: Wed, 9 Sep 2009 00:30:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Erik Charlebois Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 09 Sep 2009 07:30:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4381 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125248103128085 (code B ref -1); Wed, 09 Sep 2009 07:30:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 9 Sep 2009 07:23:51 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n897NnWO028082 for ; Wed, 9 Sep 2009 00:23:50 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:38475) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MlHWv-0001ER-60 for emacs-pretest-bug@gnu.org; Wed, 09 Sep 2009 03:23:49 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MlHWt-00064r-MC for emacs-pretest-bug@gnu.org; Wed, 09 Sep 2009 03:23:48 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:8363) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MlHWt-00061i-7B for emacs-pretest-bug@gnu.org; Wed, 09 Sep 2009 03:23:47 -0400 Original-Received: from mail-px0-f175.google.com ([209.85.216.175]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlHWi-0000Yo-Ls for emacs-pretest-bug@gnu.org; Wed, 09 Sep 2009 03:23:36 -0400 Original-Received: by pxi5 with SMTP id 5so3956626pxi.6 for ; Wed, 09 Sep 2009 00:23:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=fVSizTcE92ZkVjlWzuNrUFRvMB6iKue9grCtsfCjL50=; b=FDNBo5ZIO8ZRCySeZixHv+OuUmbpVB7Mo1wfxTQqQ4AdI6jIliPby3CZdFSCjAyWID YIR7isl2iHeJYtibYzm15y+qHE/Wd1mRjry8qDmBy8ldwAISqkBoPfMenXmdUtpjNCFv KRY6gGzJCdzgugk5ytSU/xQjm8925Brnd2Gcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=V/mZoeg9CQV6dLaohs5cltVBg9qFjUFytHtVbisdaQe9TyLZImi1/kHea63Vmg+nH0 utllJLwPsD7zEj2FQxP6qQgAMFq4pqABu9SglhvRoxTxbf8s8ajOJYSt3gJ27oAb0kMG 8ih54T3+jiP9ZlYHO389DYpzax12MNq1PAS3U= Original-Received: by 10.114.18.4 with SMTP id 4mr19590144war.137.1252481014662; Wed, 09 Sep 2009 00:23:34 -0700 (PDT) Original-Received: from ?192.168.123.51? (64-46-22-205.dyn.novuscom.net [64.46.22.205]) by mx.google.com with ESMTPS id 21sm1016654pzk.7.2009.09.09.00.23.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Sep 2009 00:23:34 -0700 (PDT) X-Mailer: Apple Mail (2.1075.2) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Wed, 09 Sep 2009 03:48:56 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30878 gmane.emacs.pretest.bugs:25024 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: term/ns-win.el line 1068 sets the face background for 'region to "ns_selection_color", which is defaulted to lightgoldenrod2 on Macs and looks rather harsh on dark backgrounds. My problem is that ns-win.el is eval'd after your .emacs/init.el and will override any color choices you made for 'region. I'm working around it by setting the 'region background in a window-setup-hook (which is after frame-notice-user-settings in startup.el). It seems like this is a mistake and the 'region face background should not be set in ns-win.el. It's unintuitive that one specific face setting isn't honoured in your init.el. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /Users/erikc/Documents/emacs/nextstep/Emacs.app/Contents/Resources/etc/ DEBUG for instructions. In GNU Emacs 23.1.50.3 (i386-apple-darwin10.0.0, NS apple- appkit-1038.00) of 2009-09-08 on ermac.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: Lisp Interaction Minor modes in effect: display-time-mode: t show-paren-mode: t global-whitespace-mode: t savehist-mode: t global-auto-revert-mode: t yas/global-mode: t yas/minor-mode: t shell-dirtrack-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t q Recent messages: Loading ~/.viper...done Loading tramp...done Building list of manual directory expansions... Building completion list of all manual topics... Loading /Users/erikc/.emacs.d/anything-c-adaptive-history...done Setting up CEDET packages...done Loading /Users/erikc/.emacs.d/haskell-mode-2.4/haskell-site-file.el (source)...done Loading fu...done Ido mode enabled For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /Users/erikc/.emacs.d/cedet-1.0pre6/speedbar/speedbar hides /Users/ erikc/Documents/emacs/nextstep/Emacs.app/Contents/Resources/lisp/ speedbar /Users/erikc/.emacs.d/cedet-1.0pre6/speedbar/sb-image hides /Users/ erikc/Documents/emacs/nextstep/Emacs.app/Contents/Resources/lisp/sb- image /Users/erikc/.emacs.d/cedet-1.0pre6/common/ezimage hides /Users/erikc/ Documents/emacs/nextstep/Emacs.app/Contents/Resources/lisp/ezimage /Users/erikc/.emacs.d/cedet-1.0pre6/speedbar/dframe hides /Users/erikc/ Documents/emacs/nextstep/Emacs.app/Contents/Resources/lisp/dframe Erik Charlebois erikcharlebois@gmail.com