all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: emacs-devel@gnu.org
Subject: Re: widget-mouse-face problem
Date: Mon, 28 Jul 2008 22:27:32 +0200	[thread overview]
Message-ID: <yoijd4kxeouj.fsf@remote5.student.chalmers.se> (raw)
In-Reply-To: 874p6iyoff.fsf@mithrandir.homeunix.net

"Jose A. Ortega Ruiz" <jao@gnu.org> 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





      reply	other threads:[~2008-07-28 20:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-22 12:47 widget-mouse-face problem Jose A. Ortega Ruiz
2008-07-22 13:24 ` Chong Yidong
2008-07-22 13:27 ` Johan Bockgård
2008-07-22 14:38   ` Jose A. Ortega Ruiz
2008-07-28 20:27     ` Johan Bockgård [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yoijd4kxeouj.fsf@remote5.student.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.