From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55304 Path: main.gmane.org!not-for-mail From: Wes Hardaker Newsgroups: gmane.emacs.gnus.general Subject: Re: um, highlighting/fonts/something broken in CVS? Date: Mon, 22 Dec 2003 11:17:24 -0800 Organization: Sparta Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1072120681 1181 80.91.224.253 (22 Dec 2003 19:18:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Dec 2003 19:18:01 +0000 (UTC) Original-X-From: ding-owner+M3844@lists.math.uh.edu Mon Dec 22 20:17:53 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AYVYu-0006Yk-00 for ; Mon, 22 Dec 2003 20:17:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AYVYi-0006YX-00; Mon, 22 Dec 2003 13:17:40 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AYVYa-0006YP-00 for ding@lists.math.uh.edu; Mon, 22 Dec 2003 13:17:32 -0600 Original-Received: from wanderer.hardakers.net (adsl-66-127-127-227.dsl.scrm01.pacbell.net [66.127.127.227]) by justine.libertine.org (Postfix) with ESMTP id B7AE23A0050 for ; Mon, 22 Dec 2003 13:17:31 -0600 (CST) Original-Received: by wanderer.hardakers.net (Postfix, from userid 274) id 1CC26570D5; Mon, 22 Dec 2003 11:17:24 -0800 (PST) Original-To: ding@gnus.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXotKX87e8eDA4GAQbQgmlzNycHAwizYkruzul2AAACaUlEQVR4nFXUTW/jIBAGYFI56jWutuq1S9b2dddW6dWtQFxbq4jzwq73Glmg+fv7DiT9QJGS+GEGhiER67TWEQ5CtOeh21ZcIIbmOPq5QvMZYlyV6u+/gsJLTSrGIL/CxEPxQuPAcP0JYlQsq3x5B3UJmUaEyB6yZ+CQ+pwXCzKsbXtbIhg4KtZypPz+AVGtlxH69c87qAqRY6Rc5QUmZMGeAj+TfVjjUwE1lflKys5JGXpM+V0hltqCJ0qL7Plkft4wRM6lxi5p3Wyy7O7fB8TgtdZivxy5rvAB6wSYhbA9vn+GOCaOEGJRPO2mHgk+q1Chyf0Up3AG0NjhOXI19ogEFziq6M+ZtN3kUZ13NW4qUCprC3CW668C06M5jihON1Vsjq8F1CPJB8LINNeQfscwxUEvAwM5Xghvsq2pBr3hnKhbDIrMS3cBRDx70uS9JW2dy667gM0AbZFFmyvn3GOBGB8wG9kppaSNz357LaCmUdtSny5LU9qeCrglvJmyH20TwkjnXQE0usscIWayCWZJ7OpZ4QbUVGRnhuTub3cMYRk99oSplDIfibzfn0FyXyk7z8XThuvC0P/dGCwee7O8aZJBmh0vPixy0NrYhDaR02aR3W0BbyT6h23OB5Hzybj+DOm5w6XCOZG13p5Oh/bursJVh9S+bBiFnPCDuntpcTH080AO+7GlW1i3bRphBM04dZ2dI6yMLjmGFqnIok/cB1YU8sJAACTeuHOd5+lumQHfDM6KyLqEm4aWkkcc1m4PqBewZxBZOg44lT+aJiexDteewb In-Reply-To: (Wes Hardaker's message of "Mon, 22 Dec 2003 10:45:50 -0800") User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.5 (brussels sprouts, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55304 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55304 >>>>> On Mon, 22 Dec 2003 10:45:50 -0800, Wes Hardaker said: Wes> So, I updated gnus a few days ago and now my gnus-highlight Wes> package doesn't work anymore and it's possible other fonts are Wes> messed up as well (but I'm still looking for a definite answer on Wes> that). It seems that custom-declare-face now, um, isn't? Odd... facep seems to return nil for symbols now. I don't get how this could have changed by updating gnus, but that's all I did. Very weird. Anyway, I fixed my code at least by no longer testing to see if the symbol is a valid face. This doesn't seem wise, but I guess now errors in a font specification will cause real errors (as opposed to previously being ignored). This works: (facep (get-face 'highlight)) But of course, you'd have to trap the error now that get-face would throw if highlight wasn't define. -- "In the bathtub of history the truth is harder to hold than the soap, and much more difficult to find." -- Terry Pratchett