From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ami Fischman Newsgroups: gmane.emacs.devel Subject: Re: specific coloring of diary calendar entries Date: Mon, 16 Dec 2002 22:18:50 -0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040105995 8698 80.91.224.249 (17 Dec 2002 06:19:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2002 06:19:55 +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 18OB53-0002Ff-00 for ; Tue, 17 Dec 2002 07:19:49 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18OBIs-00034H-00 for ; Tue, 17 Dec 2002 07:34:06 +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 18OB55-0000Hg-09 for emacs-devel@quimby.gnus.org; Tue, 17 Dec 2002 01:19:51 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18OB4h-0000F9-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 01:19:27 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18OB4S-0008W5-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 01:19:15 -0500 Original-Received: from 12-228-169-213.client.attbi.com ([12.228.169.213] helo=fischman.org) by monty-python.gnu.org with smtp (Exim 4.10.13) id 18OB4E-0007zn-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 01:18:59 -0500 Original-Received: (qmail 11782 invoked by uid 500); 17 Dec 2002 06:18:50 -0000 Original-To: rms@gnu.org Mail-Copies-To: nobody In-Reply-To: (Richard Stallman's message of "Sun, 15 Dec 2002 18:39:14 -0500") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.50 (i686-pc-linux-gnu) 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:10194 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10194 I misread your previous post on this subject. Specifically, I thought you were asking for the tags to allow different attributes from color (so there'd be [bgcolor:blah], [underline:blah], [bold:blah], etc tags). Doing that much work would just be silly, as someone who knows enough to define the attributes of an emacs face can just create the face and use an sexp. Upon re-reading your suggestion, I think what you are saying is you want the ability to say [work] or [home] and have `work' and `home' be "categories" -- presumably a conglomerate of face attributes that apply to the entry. But how is this simpler than defining a "work" or "home" face and having an sexp entry invoke it? I guess I'm looking at two situations: the emacs expert and the emacs novice. The former knows how to create a face and attach it to an entry even without my patches (using sexp's); the latter will now be able to define f/g colors for his/her diary entries. Is the difference between defining/using "semantic categories" and defining/using emacs faces+sexp entries really as large as the gap between expert and novice? I think the answer is no. If you disagree, please let me know. I'm not morally opposed to adding features to these patches. I just don't think there is an elegant way to add them to the code (the color patches are already somewhat "glued on") and so would rather not do so unless there's a demonstrated need or demand for them. If others would like to see some form of semantic categorization (going beyond f/g color, which can be achieved with file-glob-color), please speak up :) Cheers, -- Ami Fischman usenet@fischman.org