From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: enriched-mode and switching major modes. Date: Mon, 20 Sep 2004 22:21:44 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200409042358.i84Nwjt19152@raven.dms.auburn.edu> <87llfn5ihw.fsf@emacswiki.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095711800 24851 80.91.229.6 (20 Sep 2004 20:23:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2004 20:23:20 +0000 (UTC) Cc: boris@gnu.org, alex@emacswiki.org, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 20 22:23:07 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C9Ugk-0006zG-00 for ; Mon, 20 Sep 2004 22:23:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9Umd-00068Z-N4 for ged-emacs-devel@m.gmane.org; Mon, 20 Sep 2004 16:29:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C9Um2-0005XO-0H for emacs-devel@gnu.org; Mon, 20 Sep 2004 16:28:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C9Ulx-0005T9-US for emacs-devel@gnu.org; Mon, 20 Sep 2004 16:28:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9Ulx-0005T6-Mt for emacs-devel@gnu.org; Mon, 20 Sep 2004 16:28:29 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C9UfT-0005Bz-H7; Mon, 20 Sep 2004 16:21:47 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id 96F305EE03A; Mon, 20 Sep 2004 22:21:44 +0200 (CEST) Original-To: Oliver Scholz In-Reply-To: (Oliver Scholz's message of "Mon, 20 Sep 2004 21:35:40 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27346 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27346 Oliver Scholz writes: > I think we need a way for merging categories, if those are supposed to > be used. > > (section stylesheets: specifying both character and paragraph > formatting properties) > > paragraph stylesheets: specifying both character and paragraph > formatting properties > > character stylesheets: specifying only character formatting > properties > > explicit setting of propeties, bother character and paragraph > formatting. Maybe we could allow 'category to take a value which is a list of category symbols -- and then use those categories in order, i.e. when looking for a specific property, use the first occurrence. Just like an explicit property should (does?) take precedence over a property from a category. Like this: 'category '(char-style para-style sect-style) -- Kim F. Storm http://www.cua.dk