From: ShengHuo ZHU <zsh@cs.rochester.edu>
Subject: Re: smiley-ems.el
Date: Wed, 31 Oct 2001 18:25:36 -0500 [thread overview]
Message-ID: <2nlmhrbde7.fsf@zsh.cs.rochester.edu> (raw)
In-Reply-To: <m3ofmnsds1.fsf@ID-87814.user.dfncis.de> (Oliver Scholz's message of "Wed, 31 Oct 2001 22:25:18 +0100")
Oliver Scholz <oscholz@my.gnus.org> 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
next prev parent reply other threads:[~2001-10-31 23:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-31 21:25 smiley-ems.el Oliver Scholz
2001-10-31 23:25 ` ShengHuo ZHU [this message]
2001-11-01 16:35 ` smiley-ems.el Pavel Janík
2001-11-01 19:04 ` smiley-ems.el ShengHuo ZHU
2001-11-02 8:42 ` smiley-ems.el Jaap-Henk Hoepman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2nlmhrbde7.fsf@zsh.cs.rochester.edu \
--to=zsh@cs.rochester.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).