From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68369 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Disallow ;;) smileys Date: Tue, 24 Mar 2009 10:06:11 +0100 Message-ID: <873ad3xpbw.fsf@mocca.josefsson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237885650 19571 80.91.229.12 (24 Mar 2009 09:07:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Mar 2009 09:07:30 +0000 (UTC) To: Dave Love , ding@gnus.org Original-X-From: ding-owner+M16807@lists.math.uh.edu Tue Mar 24 10:08:47 2009 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.50) id 1Lm2cj-00080f-Bd for ding-account@gmane.org; Tue, 24 Mar 2009 10:08:41 +0100 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 1Lm2aU-0005FM-Os; Tue, 24 Mar 2009 04:06:22 -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 1Lm2aT-0005F6-6h for ding@lists.math.uh.edu; Tue, 24 Mar 2009 04:06:21 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1Lm2aN-00016T-07 for ding@lists.math.uh.edu; Tue, 24 Mar 2009 04:06:21 -0500 Original-Received: from yxa-v.extundo.com ([83.241.177.39]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Lm2ak-0007qc-00 for ; Tue, 24 Mar 2009 10:06:38 +0100 Original-Received: from c80-216-29-127.bredband.comhem.se ([80.216.29.127] helo=mocca.josefsson.org) by yxa-v.extundo.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Lm2aK-0004Yj-PY; Tue, 24 Mar 2009 10:06:13 +0100 X-Hashcash: 1:22:090324:fx@gnu.org::4WQWONL+ZS1qODbY:IwE8 X-Hashcash: 1:22:090324:ding@gnus.org::hUDk8GJV4Tdso+KG:5T60 OpenPGP: id=B565716F; url=http://josefsson.org/key.txt Mail-Copies-To: nobody User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux) X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=ham version=3.2.5 (2008-06-10) host=yxa-v.extundo.com X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68369 Archived-At: I've been bugged one too many times that the following line will display with a smiley when viewed in Gnus: for (;;) It doesn't seem like ;;) is ever a useful smiley, or is there? So I propose the patch below. How about it? I can commit it if you want. Thanks, Simon 2009-03-24 Simon Josefsson * smiley.el (smiley-regexp-alist): Disallow ;;) from being treated as a blink smiley. --- smiley.el.~7.25.~ 2009-02-03 14:56:15.000000000 +0100 +++ smiley.el 2009-03-24 10:02:13.000000000 +0100 @@ -102,7 +102,8 @@ ;; The XEmacs version has a baroque, if not rococo, set of these. (defcustom smiley-regexp-alist - '(("\\(;-?)\\)\\W" 1 "blink") + '(("\\(;-)\\)\\W" 1 "blink") + ("\\([^;];)\\)\\W" 1 "blink") ("\\(:-]\\)\\W" 1 "forced") ("\\(8-)\\)\\W" 1 "braindamaged") ("\\(:-|\\)\\W" 1 "indifferent")