From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39790 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: smiley-ems.el Date: Wed, 31 Oct 2001 18:25:36 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <2nlmhrbde7.fsf@zsh.cs.rochester.edu> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175444 29822 80.91.224.250 (21 Oct 2002 04:44:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:44:04 +0000 (UTC) Return-Path: Original-Received: (qmail 4737 invoked from network); 31 Oct 2001 23:28:22 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 31 Oct 2001 23:28:22 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15z4l5-0002Qi-00; Wed, 31 Oct 2001 17:26:55 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 31 Oct 2001 17:26:34 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id RAA17491 for ; Wed, 31 Oct 2001 17:26:22 -0600 (CST) Original-Received: (qmail 4715 invoked by alias); 31 Oct 2001 23:26:37 -0000 Original-Received: (qmail 4710 invoked from network); 31 Oct 2001 23:26:37 -0000 Original-Received: from roc-24-95-193-9.rochester.rr.com (HELO zsh.2y.net) (24.95.193.9) by gnus.org with SMTP; 31 Oct 2001 23:26:37 -0000 Original-Received: (from zsh@localhost) by zsh.2y.net (8.11.6/8.11.2) id f9VNPaB13684; Wed, 31 Oct 2001 18:25:36 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q Mail-Copies-To: never In-Reply-To: (Oliver Scholz's message of "Wed, 31 Oct 2001 22:25:18 +0100") Original-Lines: 38 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39790 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39790 Oliver Scholz writes: > There have been questions on how to use one's own smilies in > gnu.emacs.gnus. > > I think, it would be nice to ease the customization. Smiley-ems.el > could specify the image type in use via a variable. This simple patch > adds this: Actually, we can use :type (image-type-from-file-header (nth 2 elt)) to auto-detect the type. > I have made a few simple yellow xpm smilies on a lazy sunday > afternoon. If you like them, you can have them. :-) > > To use them the user can simply insert ... > > (setq smiley-regexp-alist '(("\\(:-?)\\)\\W" 1 "smile.xpm") > ("\\(;-?)\\)\\W" 1 "blink.xpm") > ("\\(:-[/\\]\\)\\W" 1 "wry.xpm") > ("\\(:-(\\)\\W" 1 "sad.xpm") > ("\\(:-{\\)\\W" 1 "frown.xpm") > ("\\(:->\\)\\W" 1 "evil.xpm") > ("\\(8-)\\)\\W" 1 "braindamaged.xpm") > ("\\(:-|\\)\\W" 1 "indifferent.xpm") > ("\\(#-)\\)\\W" 1 "dead.xpm") > ("\\(:-]\\)\\W" 1 "forced.xpm"))) > > > (setq smiley-image-type 'xpm) > > ... into his or her .gnus. Those little faces look nice. If you want to contribute the images to FSF, I can send you the assignment-request form. ShengHuo