From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78118 Path: news.gmane.org!not-for-mail From: Julien Danjou Newsgroups: gmane.emacs.gnus.general Subject: Re: Development splash smoothing Date: Mon, 28 Mar 2011 10:01:18 +0200 Message-ID: References: <87vcz53eb4.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1301299374 10192 80.91.229.12 (28 Mar 2011 08:02:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2011 08:02:54 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26429@lists.math.uh.edu Mon Mar 28 10:02:49 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 1Q47PU-0004XD-86 for ding-account@gmane.org; Mon, 28 Mar 2011 10:02: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 1Q47OI-00024B-Sm; Mon, 28 Mar 2011 03:01:34 -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 1Q47OH-000243-5E for ding@lists.math.uh.edu; Mon, 28 Mar 2011 03:01:33 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q47OF-0001LS-41 for ding@lists.math.uh.edu; Mon, 28 Mar 2011 03:01:32 -0500 Original-Received: from prometheus.naquadah.org ([212.85.154.174] helo=mx1.naquadah.org) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q47OD-0005lP-2N for ding@gnus.org; Mon, 28 Mar 2011 10:01:29 +0200 Original-Received: from cigue.easter-eggs.fr (coquelicot-a.easter-eggs.com [82.235.59.105]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.naquadah.org (Postfix) with ESMTPSA id BA8765C1A0 for ; Mon, 28 Mar 2011 10:01:19 +0200 (CEST) Mail-Followup-To: ding@gnus.org In-Reply-To: <87vcz53eb4.fsf@topper.koldfront.dk> ("Adam =?utf-8?Q?Sj?= =?utf-8?Q?=C3=B8gren=22's?= message of "Sat, 26 Mar 2011 19:51:59 +0100") User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78118 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sat, Mar 26 2011, Adam Sj=C3=B8gren wrote: > Let me know what you think, and please don't hesitate to tear my elisp > apart. I have no idea what I am doing. I like it. > +(defun gnus-splash-svg-color-symbols (list) > + "Do color-symbol search-and-replace in svg file" > + (let ((type (plist-get (cdr list) :type)) > + (file (plist-get (cdr list) :file)) > + (color-symbols (plist-get (cdr list) :color-symbols))) > + (if (and (string=3D type "svg")) (and) what ? seems the and is useless here. :) > + (let ((data (with-temp-buffer (insert-file file) (buffer-string)= ))) > + (mapc (lambda (rule) > + (setq data (replace-regexp-in-string > + (concat "fill:" (car rule)) > + (concat "fill:" (cdr rule)) data))) color-= symbols) > + (cons (car list) (list :type type :data data))) > + list))) > + > (eval-when (load) > (let ((command (format "%s" this-command))) > (when (string-match "gnus" command) > --=20 > 1.7.4.1 =2D-=20 Julien Danjou =E2=9D=B1 http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJNkEBOAAoJEGEbqVCLeKXCimMP/i+4cpdONGD4TPrtDF39n8rK D68S1/4sNVLNlmKMOS2QSZvoVR0+QwFeDunj0smycCLWeBY2wg8e8MQchJ481vt3 b0rmDO+CxauukwNwoBDRXn8BNeurdJfpEjOHuDHkNxOqBmYHSdLchAix46/UxXK6 W5G69Cw5yXz0wbzPfKTCcKMtlYkJ5AAZ1OP0lDVT7EaI1dKq2PUZjmCvKWbHMW6c 0gxmemUhluONOLLCGSL53KNhlvlIwVKAY3kj8wWryQlpUxFLUPPWVcc0QZDf6t3a 58mRO8i1XHrtgDog+Ii/u6G0L12vScOZ90tHfjyN9VY352w6XDfW1H/Imnw2gVIk 6KuswSuFCSlhYEVEigGgMglF+hvYmguGTYRUSlExC9GnJJ7qpy6EG6QB0p1cBZzi zgw8igzQKp6aySKW7DcKvngrgpsE+1n/2Ky+1HFV7ldfn1AFHUd3KwdhEXAqALnh 5jlS5Zt0bfntk7ke9UcuRad4hkGeiMLoUgt1PWR3KzTpvrlRQ7GQ6B1NFwruytKH jpBOzPU12+pG3rO46cYBkMs6EeX7H3pbBqjUHNSMrw+QeLAvY7ixLMYPC5+S97xX C2wbzbwIezOSv5pEyp7euF5DOH50j4PdRrrCEiUgFGkPAfORmqK4FAHZ9Tp4hXTy +kDuMf7sORj8PIS+/CG+ =9iK3 -----END PGP SIGNATURE----- --=-=-=--