From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: foreground menu bug Date: Thu, 16 Jun 2005 00:07:59 -0400 Message-ID: References: <20050615.071604.11389732.wl@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1118895053 9534 80.91.229.2 (16 Jun 2005 04:10:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2005 04:10:53 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 16 06:10:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dili7-0002ZP-Rx for ged-emacs-devel@m.gmane.org; Thu, 16 Jun 2005 06:10:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DilnS-0004Ec-Qm for ged-emacs-devel@m.gmane.org; Thu, 16 Jun 2005 00:16:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dilmn-00040h-5p for emacs-devel@gnu.org; Thu, 16 Jun 2005 00:15:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dilmj-0003ys-CI for emacs-devel@gnu.org; Thu, 16 Jun 2005 00:15:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dilmj-0003uz-4K for emacs-devel@gnu.org; Thu, 16 Jun 2005 00:15:21 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DilhP-0008A4-Pl for emacs-devel@gnu.org; Thu, 16 Jun 2005 00:09:51 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Dilfb-0003IW-9E; Thu, 16 Jun 2005 00:07:59 -0400 Original-To: Mathias Dahl In-reply-to: (message from Mathias Dahl on Wed, 15 Jun 2005 15:28:00 +0200) 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:38928 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38928 I tested this the other day too and was confuzzled (confused + puzzled). After a while I realized that it had to do woth font-lock-mode overriding my coloring. Perhaps those menu items should be disabled when Font Lock is enabled. That way, people will see they're not supposed to work. However, doing that in a simple way would have the wrong results for Enriched mode buffers when Global Font Lock mode has been enabled. So the criterion "when font lock mode is enabled" is not exactly the right criterion. Perhaps it should be "in major modes that specify something nontrivial for Font Lock to do", or "in such major modes when Font Lock is enabled." Would someone like to do this?