From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#15668: 24.3.50; No font lock on active region Date: Mon, 21 Oct 2013 20:47:25 +0200 Message-ID: References: <83zjq2k2nf.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1382381296 28762 80.91.229.3 (21 Oct 2013 18:48:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 18:48:16 +0000 (UTC) Cc: 15668@debbugs.gnu.org, Darren Hoo To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 21 20:48:17 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VYKWX-00059B-Jk for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 20:48:17 +0200 Original-Received: from localhost ([::1]:41206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYKWX-0003P8-3N for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 14:48:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYKWO-0003Ov-Qy for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 14:48:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYKWJ-0007RX-04 for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 14:48:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYKWI-0007RT-TF for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 14:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VYKWI-0000P1-HD for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 14:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Oct 2013 18:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15668 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15668-submit@debbugs.gnu.org id=B15668.13823812511498 (code B ref 15668); Mon, 21 Oct 2013 18:48:02 +0000 Original-Received: (at 15668) by debbugs.gnu.org; 21 Oct 2013 18:47:31 +0000 Original-Received: from localhost ([127.0.0.1]:33040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VYKVm-0000O4-Ru for submit@debbugs.gnu.org; Mon, 21 Oct 2013 14:47:31 -0400 Original-Received: from mail01.bdtv.se ([176.10.222.34]:51137) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1VYKVj-0000Ns-89 for 15668@debbugs.gnu.org; Mon, 21 Oct 2013 14:47:28 -0400 Original-Received: (qmail 16519 invoked by uid 89); 21 Oct 2013 18:47:24 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.bdtv.se with ESMTPA; 21 Oct 2013 18:47:24 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id B73761A0197; Mon, 21 Oct 2013 18:47:24 +0000 (UTC) In-Reply-To: <83zjq2k2nf.fsf@gnu.org> X-Mailer: Apple Mail (2.1510) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79467 Archived-At: Hello. 21 okt 2013 kl. 18:30 skrev Eli Zaretskii : >> Date: Mon, 21 Oct 2013 13:56:24 +0800 >> From: Darren Hoo >>=20 >> Open any elisp file and mark a function, and the active region is >> not font-lockfied. >>=20 >> This only occurs in GUI mode, it's ok with text-mode. >=20 > Can't reproduce this with today's trunk. Unless the recipe is not as > simple as it sounds, this could be NS specific. Both Gtk+ and NS does this. The reason is that we use the system = defined selection colors, and the background may be ill-matched to Emacs = foreground colors. For example, many Gnome settings use an almost black color for selection = background, so Emacs black for text color is almost unreadable. These = settings use white(ish) for text color which is much better. But by = setting foreground selection color, you loose font-lock. OSX uses a = light blue for background, which is very near to blue used by = font-lock-constant-face and also near font-lock-function-name-face. It would be nice if one could define a face with a foreground color to = be used when foreground and background otherwise are to similar. Jan D.