From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.devel Subject: Re: foreground menu bug Date: Thu, 16 Jun 2005 13:51:35 +0200 Message-ID: <87aclqbjug.fsf@xs4all.nl> References: <20050615.071604.11389732.wl@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118923576 28079 80.91.229.2 (16 Jun 2005 12:06:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2005 12:06:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 16 14:06:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dit7f-0002lB-Mz for ged-emacs-devel@m.gmane.org; Thu, 16 Jun 2005 14:05:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DitD4-0002nk-Rs for ged-emacs-devel@m.gmane.org; Thu, 16 Jun 2005 08:11:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dit8L-0001Pi-EJ for emacs-devel@gnu.org; Thu, 16 Jun 2005 08:06:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dit8K-0001PK-Kt for emacs-devel@gnu.org; Thu, 16 Jun 2005 08:06:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dit77-0000sL-Ba for emacs-devel@gnu.org; Thu, 16 Jun 2005 08:04:53 -0400 Original-Received: from [194.109.24.25] (helo=smtp-vbr5.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Disw3-0000Aq-Es; Thu, 16 Jun 2005 07:53:27 -0400 Original-Received: from pijl (a80-127-67-124.adsl.xs4all.nl [80.127.67.124]) by smtp-vbr5.xs4all.nl (8.13.3/8.13.3) with ESMTP id j5GBpciS021695; Thu, 16 Jun 2005 13:51:38 +0200 (CEST) (envelope-from Lute.Kamstra@xs4all.nl) Original-Received: from lute by pijl with local (Exim 3.36 #1 (Debian)) id 1DisuH-0003qI-00; Thu, 16 Jun 2005 13:51:37 +0200 Original-To: Mathias Dahl In-Reply-To: (Mathias Dahl's message of "Wed, 15 Jun 2005 15:28:00 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Original-Lines: 35 X-Virus-Scanned: by XS4ALL Virus Scanner 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:38951 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38951 Mathias Dahl writes: > Werner LEMBERG writes: > >> [emacs CVS 2005-06-12 with GTK] >> >> If I mark a text region and select the menu entry >> >> Edit->Text Properties->Foreground Color->Other... >> >> I can select a colour (say, red) and everything is fine. >> >> After doing that, the colour `red' is added to the last submenu so >> that it can be accessed as >> >> Edit->Text Properties->Foreground Color->red >> >> Doing this on another region, it is *not* coloured. >> >> IMHO, this is a bug. > > 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. > > I don't think that this is a bug, but I'm not sure. It certainly is > puzzling for some users though. I think you and Werner are talking about different things. You talk about Font Lock mode overriding the text properties you set manually. Werner's problem happens even when Font Lock mode is off. The "red" menu entry (that is created automatically when you set the foreground text property once) simply doesn't work. That's a bug. Lute.