From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.devel Subject: Re: widget-mouse-face problem Date: Mon, 28 Jul 2008 22:27:32 +0200 Message-ID: References: <87ljzuytkk.fsf@mithrandir.homeunix.net> <874p6iyoff.fsf@mithrandir.homeunix.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1217276940 6921 80.91.229.12 (28 Jul 2008 20:29:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2008 20:29:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 28 22:29:50 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KNZLk-0005zX-Js for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2008 22:29:45 +0200 Original-Received: from localhost ([127.0.0.1]:44985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNZKp-00060t-Va for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2008 16:28:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNZJo-0005S5-I7 for emacs-devel@gnu.org; Mon, 28 Jul 2008 16:27:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNZJm-0005Q6-QS for emacs-devel@gnu.org; Mon, 28 Jul 2008 16:27:44 -0400 Original-Received: from [199.232.76.173] (port=45249 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNZJm-0005Pq-Ag for emacs-devel@gnu.org; Mon, 28 Jul 2008 16:27:42 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:44912 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KNZJm-0006n7-4L for emacs-devel@gnu.org; Mon, 28 Jul 2008 16:27:42 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KNZJi-0006jr-US for emacs-devel@gnu.org; Mon, 28 Jul 2008 20:27:38 +0000 Original-Received: from remote5.student.chalmers.se ([129.16.29.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jul 2008 20:27:38 +0000 Original-Received: from bojohan+news by remote5.student.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jul 2008 20:27:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: remote5.student.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:dOlHZ1AOH8NMRwsepQMMVTvGh7k= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:101654 Archived-At: "Jose A. Ortega Ruiz" writes: > bojohan+news@dd.chalmers.se (Johan Bockgård) writes: > >> Variable can't be made both buffer local (make-local-variable) and frame >> local (make-variable-frame-local). Do you use color-theme? > > Yes, that seems to be the problem. In my theme file, widget-mouse-face > was set to 'highlight, with a form (widget-mouse-face . highlight) near > the beginning. Removing this assignment seems to fix my problem: is this > the right fix? Frame local variables are deprecated and Emacs 23 signals an error when trying to make a frame local variable buffer local (or vice versa), so color-theme should avoid make-variable-frame-local. Also see color-theme-is-global. (I don't use color-theme.) -- Johan Bockgård