From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78967 Path: news.gmane.org!not-for-mail From: pmlists@free.fr (Peter =?utf-8?Q?M=C3=BCnster?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: setting face in gnus-user-format-function-x Date: Tue, 31 May 2011 09:06:33 +0200 Organization: Micropit Message-ID: <87hb8b8i2u.fsf@micropit.couberia.bzh> References: <87sjs5thro.fsf@micropit.couberia.bzh> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1306825649 15420 80.91.229.12 (31 May 2011 07:07:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 May 2011 07:07:29 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27267@lists.math.uh.edu Tue May 31 09:07:24 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 1QRJ2y-0002ad-Do for ding-account@gmane.org; Tue, 31 May 2011 09:07:24 +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 1QRJ2U-00038r-Gc; Tue, 31 May 2011 02:06:54 -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 1QRJ2S-00038i-TU for ding@lists.math.uh.edu; Tue, 31 May 2011 02:06:52 -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 1QRJ2R-00074h-7w for ding@lists.math.uh.edu; Tue, 31 May 2011 02:06:52 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QRJ2O-0001JE-D9 for ding@gnus.org; Tue, 31 May 2011 09:06:48 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QRJ2L-0002KV-5Q for ding@gnus.org; Tue, 31 May 2011 09:06:45 +0200 Original-Received: from arennes-651-1-310-75.w2-12.abo.wanadoo.fr ([2.12.133.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 May 2011 09:06:45 +0200 Original-Received: from pmlists by arennes-651-1-310-75.w2-12.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 May 2011 09:06:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: arennes-651-1-310-75.w2-12.abo.wanadoo.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:gprdLSGfTCIlltyJjf0vK6Tfjj4= X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78967 Archived-At: On Mon, May 30 2011, Lars Magne Ingebrigtsen wrote: > pmlists@free.fr (Peter Münster) writes: > >> 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. > > I think your best bet would be to put a function into > `gnus-summary-update-hook', possibly calling > `gnus-summary-update-article-line' to delete the line and reinsert it. Oh, no chance for an easier solution...? :( Ok, one day, I'll try it. -- Peter