From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: specific coloring of diary calendar entries Date: Fri, 13 Dec 2002 17:22:00 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1039818789 26893 80.91.224.249 (13 Dec 2002 22:33:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Dec 2002 22:33:09 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18MyMl-0006za-00 for ; Fri, 13 Dec 2002 23:33:07 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18MyYz-0001cH-00 for ; Fri, 13 Dec 2002 23:45:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18MyLM-00068Y-04 for emacs-devel@quimby.gnus.org; Fri, 13 Dec 2002 17:31:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18MyG3-0005ai-00 for emacs-devel@gnu.org; Fri, 13 Dec 2002 17:26:11 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18MyEX-0005Fp-00 for emacs-devel@gnu.org; Fri, 13 Dec 2002 17:24:39 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18MyC1-0004AG-00 for emacs-devel@gnu.org; Fri, 13 Dec 2002 17:22:01 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18MyC0-00069Q-00; Fri, 13 Dec 2002 17:22:00 -0500 Original-To: usenet@fischman.org In-reply-to: (message from Ami Fischman on Wed, 11 Dec 2002 15:58:37 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10122 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10122 This is done via "color tags" -- a string that looks like "[color:blue]" (without the quotes, and blue can be any standard X color). This is an ok feature, but it would be more useful if these tags can specify a semantic category whose visual presentation is defined elsewhere. If a date matches more than one entry, the FIRST matching entry's color is used for the date. For explicit color tags, that's the best you can do. But when using semantic categories, you can do better. You could pick the "most important" semantic category according to a specified priority list, from among those specified for the given date, and use its color.