From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78891 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: setting face in gnus-user-format-function-x Date: Tue, 24 May 2011 08:18:50 +0200 Message-ID: <877h9gpqnp.fsf@marauder.physik.uni-ulm.de> References: <87sjs5thro.fsf@micropit.couberia.bzh> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1306268574 17697 80.91.229.12 (24 May 2011 20:22:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:22:54 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27191@lists.math.uh.edu Tue May 24 22:22:50 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOy7s-0006eQ-Hw for ding-account@gmane.org; Tue, 24 May 2011 22:22:48 +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 1QOy6u-0003ra-Pp; Tue, 24 May 2011 15:21:48 -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 1QOy6s-0003rP-VV for ding@lists.math.uh.edu; Tue, 24 May 2011 15:21:46 -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 1QOy6q-0005H4-HC for ding@lists.math.uh.edu; Tue, 24 May 2011 15:21:46 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QOy6o-0006wm-FZ for ding@gnus.org; Tue, 24 May 2011 22:21:42 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QOy6n-0005xI-AJ for ding@gnus.org; Tue, 24 May 2011 22:21:41 +0200 Original-Received: from p4fd42a76.dip.t-dialin.net ([79.212.42.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 May 2011 22:21:41 +0200 Original-Received: from Reiner.Steib by p4fd42a76.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 May 2011 22:21:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 22 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p4fd42a76.dip.t-dialin.net X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T;w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv,vbL^XF1nIp\:F=$Ei2o&mEe:%N~,:3]vtQ~s9u$9izmX$IF@VgGl7/,^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Copies-To: nobody User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:mNswdI8zPB5ObFTBnD7bXktyuPQ= X-Spam-Score: -1.5 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78891 Archived-At: On Mon, May 23 2011, Peter Münster wrote: > I would like to set different faces for some marks in the summary lines. > But unfortunately, when changing the mark, the mark-letter is updated, > but the face is not. Only after reopening the group, the faces get > right. > Here my test setup: > > (defun gnus-user-format-function-x (header) > (propertize (format "%c" gnus-tmp-unread) 'face > (if (equal gnus-tmp-unread gnus-ancient-mark) > gnus-face-2 gnus-face-3) 'gnus-face t)) > > (setq gnus-summary-line-format "%ux...") Did you try (info "(gnus)Formatting Fonts")? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/