From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70241 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: user format functions Date: Wed, 01 Sep 2010 01:50:05 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283298641 5199 80.91.229.12 (31 Aug 2010 23:50:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2010 23:50:41 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18627@lists.math.uh.edu Wed Sep 01 01:50:39 2010 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 1Oqab8-0000ts-EH for ding-account@gmane.org; Wed, 01 Sep 2010 01:50:38 +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 1Oqaau-0004Og-V7; Tue, 31 Aug 2010 18:50:25 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Oqaat-0004OO-83 for ding@lists.math.uh.edu; Tue, 31 Aug 2010 18:50:23 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Oqaaf-0003dK-C9 for ding@lists.math.uh.edu; Tue, 31 Aug 2010 18:50:23 -0500 Original-Received: from mail-ew0-f44.google.com ([209.85.215.44]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Oqaae-000569-00 for ; Wed, 01 Sep 2010 01:50:08 +0200 Original-Received: by ewy22 with SMTP id 22so5494195ewy.17 for ; Tue, 31 Aug 2010 16:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:organization :date:message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=g/WdpYkWspwn4sHObdyMx/wQGc22unDi+0wkzP39mXw=; b=P7/qm3ZQwYFm4FkhtbaGiHlKn7L/oYqhxPvRofnuHWhXjBUbaINVIFhWCMKgNgcceQ RwJ0nQ9HoQ+28msN+sH2g1KeoV39GWvf95xd3zERWYXXBNj3xkWt2bP9Mdw+gcqLzrei 5dzIOEQRmlziNhtU/JWJrH+t/McrJZfKfMrU0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:organization:date:message-id:user-agent :mime-version:content-type:content-transfer-encoding; b=iuP1pZS97UKz85k6GAqPmXkDDSfRArZoPkCOSLEBXKebB8QcmPUjz56vppLgk90SXQ 9JEcJSlymXJx0fbTWovYrkMHqaU66O5hB+8kesHtzt4lG+lgnb/+yqcC3Uwn0aSBrHHe N2de29zRxr09PZYebWm8B3cRp/cW3Dz6xR0+Q= Original-Received: by 10.213.34.195 with SMTP id m3mr10925088ebd.39.1283298607331; Tue, 31 Aug 2010 16:50:07 -0700 (PDT) Original-Received: from localhost ([85.183.18.158]) by mx.google.com with ESMTPS id v59sm14975744eeh.22.2010.08.31.16.50.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 31 Aug 2010 16:50:06 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70241 Archived-At: I have defined a user format function for my group line formar :- ,---- | (defun gnus-user-format-function-g (headers) | (string-match "\\(^.*\\)\\+\\(.*\\):\\(.*\\)" gnus-tmp-group) | (setq gnus-tmp-group (concat (propertize (upcase(substring (match-str= ing 2 gnus-tmp-group) 0 1)) 'face 'bold 'color 'red) " -- " (match-string 3= gnus-tmp-group))) | (replace-regexp-in-string "INBOX" "=E2=9C=89" gnus-tmp-group) | ) `---- The propertize doesnt work. Am I doing it correctly or does Gnus wipe the properties I try to apply to part of the returned string? =20=20