From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82236 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Summary line format and gnus-face-X Date: Wed, 05 Sep 2012 15:27:56 +0200 Message-ID: <87r4qg1qmr.fsf@thinkpad.tsdh.de> References: <87d3393iud.fsf@thinkpad.tsdh.de> <87mx15ifog.fsf@gnus.org> <87pq612cuj.fsf@thinkpad.tsdh.de> <87sjawd3ak.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346855948 13936 80.91.229.3 (5 Sep 2012 14:39:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Sep 2012 14:39:08 +0000 (UTC) Cc: ding@gnus.org To: Lars Ingebrigtsen Original-X-From: ding-owner+M30505@lists.math.uh.edu Wed Sep 05 16:39:07 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 1T9Gl1-0006wn-55 for ding-account@gmane.org; Wed, 05 Sep 2012 16:39:07 +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 1T9Gks-0000xe-36; Wed, 05 Sep 2012 09:38:58 -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 1T9Gkq-0000xL-Om for ding@lists.math.uh.edu; Wed, 05 Sep 2012 09:38:56 -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 1T9Gkl-0003NF-Ee for ding@lists.math.uh.edu; Wed, 05 Sep 2012 09:38:56 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1T9Gkj-0005Xv-JK; Wed, 05 Sep 2012 16:38:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 0B2111A87F4; Wed, 5 Sep 2012 16:38:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SJY6ik2ntYzg; Wed, 5 Sep 2012 16:38:43 +0200 (CEST) X-CHKRCPT: Envelopesender noch thorn@fastmail.fm Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id B78FE1A87E6; Wed, 5 Sep 2012 16:38:42 +0200 (CEST) In-Reply-To: <87sjawd3ak.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 05 Sep 2012 15:09:39 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82236 Archived-At: Lars Ingebrigtsen writes: Hi Lars, >> I think, I want both: Let this be (1): >> faces that are not colorized by gnus for defining my tabular summary >> layout, e.g., for column separators |, and this (2): >> and faces that I can adjust to my likings (e.g., use a proportional >> font for the subject) and still get the colorization, boldification, >> italicification indicating the readedness and score. > > I think this is a feature of sorts. Gnus uses > `gnus-put-text-property-excluding-characters-with-faces' to avoid > highlighting (i.e. changing the face) of stuff that has already faces > set. > > Try (fset 'gnus-put-text-property-excluding-characters-with-faces > 'put-text-property) or something and see whether that's nice or not. That's nice for (2), but bad for (1). Now I can have colorized/boldified subjects with proportional fonts, but my column separators and stuff are also mangled which I don't want. How about that idea: We allow face specs %n{...%} where n may now also be negative. n and -n would be basically identical, i.e., the text is fontified with gnus-face-n. But with the negative version, a different text property 'gnus-face-mergable instead of 'gnus-face is used. Then, gnus-put-text-property-excluding-characters-with-faces could be extended to merge face properties in the gnus-face-mergable case and act just like now in the gnus-face case. Bye, Tassilo