From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23377 Path: main.gmane.org!not-for-mail From: Fabrice POPINEAU Newsgroups: gmane.emacs.gnus.general Subject: Smilies under NT [was Re: select articles by field] Date: 17 Jun 1999 11:43:03 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161121 1655 80.91.224.250 (21 Oct 2002 00:45:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:45:21 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA20181 for ; Thu, 17 Jun 1999 06:00:17 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id EAB06716; Thu, 17 Jun 1999 04:56:42 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 17 Jun 1999 04:57:29 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id EAA24389 for ; Thu, 17 Jun 1999 04:57:20 -0500 (CDT) Original-Received: from esemetz.ese-metz.fr (esemetz.ese-metz.fr [193.48.224.212]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id FAA20162 for ; Thu, 17 Jun 1999 05:56:22 -0400 (EDT) Original-Received: from NEVERYON.ese-metz.fr (neveryon.ese-metz.fr [193.48.224.220]) by esemetz.ese-metz.fr (8.9.1a/8.9.1) with SMTP id LAA32323; Thu, 17 Jun 1999 11:56:56 +0200 Original-To: Michael Klingbeil In-Reply-To: Norbert Koch's message of "16 Jun 1999 18:07:39 +0200" Original-Lines: 32 User-Agent: Gnus/5.070088 (Pterodactyl Gnus v0.88) XEmacs/21.2 (Sumida) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:23377 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:23377 Norbert Koch writes: > Right, but setting this doesn't change very much does it? I tried > something along these lines, but got stuck with problems in > make-annotation and friends, IIRC. Add this one and it works ok : (defun smiley-create-glyph (smiley pixmap) (and smiley-running-xemacs (or (cdr-safe (assoc pixmap smiley-glyph-cache)) (let* ((xpm-color-symbols (and (featurep 'xpm) (append `(("flesh" ,smiley-flesh-color) ("features" ,smiley-features-color) ("tongue" ,smiley-tongue-color)) xpm-color-symbols))) (glyph (make-glyph (list (cons 'x (expand-file-name pixmap smiley-data-directory)) (cons 'mswindows (expand-file-name pixmap smiley-data-directory)) (cons 'tty smiley))))) (setq smiley-glyph-cache (cons (cons pixmap glyph) smiley-glyph-cache)) (set-glyph-face glyph 'default) glyph)))) 'make-glyph' was called only for x, not for mswindows -> empty glyphs. -- Fabrice