From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15460 Path: main.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Fran=E7ois_Pinard?= Newsgroups: gmane.emacs.gnus.general Subject: Re: %{ %} Date: Mon, 29 Jun 1998 11:59:31 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN Content-Transfer-Encoding: 8BIT X-Trace: main.gmane.org 1035154487 22187 80.91.224.250 (20 Oct 2002 22:54:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:54:47 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8]) by altair.xemacs.org (8.9.0/8.9.0) with ESMTP id LAA00411 for ; Mon, 29 Jun 1998 11:43:51 -0700 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id OAA25130 for ; Mon, 29 Jun 1998 14:30:26 -0400 Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id MAT30253; Mon, 29 Jun 1998 13:02:02 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 29 Jun 1998 13:18:01 -0500 (CDT) Original-Received: from Post-Office.UH.EDU (pmdf@Post-Office.UH.EDU [129.7.1.20]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id NAA09008 for ; Mon, 29 Jun 1998 13:17:22 -0500 (CDT) Original-Received: from claymore.vcinet.com by Post-Office.UH.EDU (PMDF V5.1-10 #U2811) with SMTP id <0EVB00J14S4D83@Post-Office.UH.EDU> for ding@hpc.uh.edu; Mon, 29 Jun 1998 13:17:01 -0500 (CDT) Original-Received: (qmail 21501 invoked by uid 504); Mon, 29 Jun 1998 16:29:20 +0000 Original-Received: (qmail 21498 invoked from network); Mon, 29 Jun 1998 16:29:19 +0000 Original-Received: from softdnserror (HELO pluton.rtsq.qc.ca) (root@199.84.132.10) by softdnserror with SMTP; Mon, 29 Jun 1998 16:29:19 +0000 Original-Received: by pluton.rtsq.qc.ca (8.8.8/8.8.8) with UUCP id MAA05242; Mon, 29 Jun 1998 12:00:30 -0400 Original-Received: by icule.progiciels-bpi.ca (8.8.5/8.7.3) id LAA01764; Mon, 29 Jun 1998 11:59:33 -0400 In-reply-to: Lars Magne Ingebrigtsen's message of "1998-06-27 09:34:53 +02:00" Original-To: Lars Magne Ingebrigtsen X-Mailer: Gnus v5.6.20/Emacs 20.2 X-Face: "b_m|CE6#'Q8fliQrwHl9K,]PA_o'*S~Dva{~b1n*)K*A(BIwQW.:LY?t4~xhYka_.LV?Qq `}X|71X0ea&H]9Dsk!`kxBXlG;q$mLfv_vtaHK_rHFKu]4'<*LWCyUe@ZcI6"*wB5M@[m writes: > These format specs should actually work in Gnus 5.6.21. Before they were > wiped out by the group and summary highlighting, but now the functions > tippy-toe around a bit more. If this leads to awful performance, let > me know. I'm using them for highlighting the topic names, this way: (copy-face 'bold-italic 'fp-topic-face) (set-face-background 'fp-topic-face "cyan") (setq gnus-face-5 'fp-topic-face) (setq gnus-topic-display-empty-topics nil gnus-topic-indent-level 3 gnus-topic-line-format "%(. %i%5{%n%} :%A%) %v\n") (add-hook 'gnus-group-mode-hook 'gnus-topic-mode) and am rather pleased by the result. So, it works for me! :-) The real purpose of this message is to bring your attention on the `Formatting Fonts' node of the Gnus manual (version 5.6.20), in which it is said: Text inside the `%[' and `%]' specifiers will have their normal faces set using `gnus-face-0', which is `bold' by default. If you say `%1[', you'll get `gnus-face-1' instead, and so on. Create as many faces as you wish. The same goes for the `mouse-face' specs--you can say `%3(hello%)' to have `hello' mouse-highlighted with `gnus-mouse-face-3'. I presume that `%[' and `%]' should be replaced by `%{' and `%}' at the beginning of this paragraph. (This documentation error might explain my previous failures while experimenting highlights, quite a while ago :-). -- François Pinard mailto:pinard@iro.umontreal.ca Join the free Translation Project! http://www.iro.umontreal.ca/~pinard