From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82283 Path: news.gmane.org!not-for-mail From: Wolfgang Jenkner Newsgroups: gmane.emacs.gnus.general Subject: Re: Summary line format and gnus-face-X Date: Sat, 08 Sep 2012 11:41:33 +0200 Message-ID: <85zk50x35e.fsf@iznogoud.viz> References: <87d3393iud.fsf@thinkpad.tsdh.de> <87mx15ifog.fsf@gnus.org> <87pq612cuj.fsf@thinkpad.tsdh.de> <87sjawd3ak.fsf@gnus.org> <87r4qg1qmr.fsf@thinkpad.tsdh.de> <87d320783z.fsf@gnus.org> <85ipbruvaz.fsf@iznogoud.viz> <87ehmfi7ff.fsf@gnus.org> <85ehmfut5m.fsf@iznogoud.viz> <87y5kngqz0.fsf@gnus.org> <87harbj9wu.fsf@thinkpad.tsdh.de> <87392vngvl.fsf@gnus.org> <85vcfphjs3.fsf@iznogoud.viz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347097371 18716 80.91.229.3 (8 Sep 2012 09:42:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2012 09:42:51 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30550@lists.math.uh.edu Sat Sep 08 11:42:53 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TAHYw-000890-VL for ding-account@gmane.org; Sat, 08 Sep 2012 11:42:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1TAHXv-0002Xc-5R; Sat, 08 Sep 2012 04:41:47 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1TAHXr-0002XH-Gf for ding@lists.math.uh.edu; Sat, 08 Sep 2012 04:41:43 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1TAHXp-0003TF-Ug for ding@lists.math.uh.edu; Sat, 08 Sep 2012 04:41:43 -0500 Original-Received: from mx04.lb01.inode.at ([62.99.145.4] helo=mx.inode.at) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1TAHXo-0005ZV-29 for ding@gnus.org; Sat, 08 Sep 2012 11:41:40 +0200 Original-Received: from [91.119.101.188] (port=12931 helo=iznogoud.viz) by smartmx-04.inode.at with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1TAHXi-0004VC-TC for ding@gnus.org; Sat, 08 Sep 2012 11:41:34 +0200 Original-Received: from wolfgang by iznogoud.viz with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TAHXh-0000gK-GA for ding@gnus.org; Sat, 08 Sep 2012 11:41:33 +0200 Mail-Followup-To: ding@gnus.org In-Reply-To: <85vcfphjs3.fsf@iznogoud.viz> (Wolfgang Jenkner's message of "Fri, 07 Sep 2012 17:59:08 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (berkeley-unix) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82283 Archived-At: On Fri, Sep 07 2012, Wolfgang Jenkner wrote: > What about something like the (barely tested) patch below? Or rather not. I think that this face combining business should be used (if at all) for Tassilo's use case, so that perhaps faces specified in format strings are prepended to the "regular" faces (like gnus-summary-normal-unread etc.) but those regular faces should be applied exclusively, as before. That is, the value of the face property would be a single regular face or a list of a face specified in the format string and a regular face. And as was pointed out in emacs-devel, there's already font-lock-append-text-property and font-lock-prepend-text-property, so the add-face function should probably be removed. Wolfgang