From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17204 Path: main.gmane.org!not-for-mail From: Francisco Solsona Newsgroups: gmane.emacs.gnus.general Subject: Re: no face Date: 17 Sep 1998 09:14:20 -500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035155947 32164 80.91.224.250 (20 Oct 2002 23:19:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:19:07 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA26477 for ; Thu, 17 Sep 1998 10:19:26 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id IAF08479; Thu, 17 Sep 1998 08:50:24 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 17 Sep 1998 09:17:53 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id JAA12884 for ; Thu, 17 Sep 1998 09:17:44 -0500 (CDT) Original-Received: from deprof.fciencias.unam.mx (solsona@deprof.fciencias.unam.mx [132.248.133.202]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA26431 for ; Thu, 17 Sep 1998 10:17:21 -0400 (EDT) Original-Received: (from solsona@localhost) by deprof.fciencias.unam.mx (8.8.7/8.8.7) id JAA29992; Thu, 17 Sep 1998 09:14:21 -0500 Mail-Copies-To: never Original-To: Ding list In-Reply-To: Phil Humpherys's message of "16 Sep 1998 15:45:56 -0600" X-Face: "e<&PCSuDeI>Wnz0s(fk:UP((Y'&0**fKwX:LL\,e"-5AS4+1|fdTE!(r,"&eLI}x(aQy-j M(jT(KvDbG@:bC<#KFDy}}*'Y8V7@DGOy39Ze@8P@tN)a%m/+'#Z?[+V&XUibbO writes: > I moved stuff over to a new machine and rebuilt xemacs and all that, but I kept my entire environment... I can see other peoples' faces, but I can't generate an X-Face header of my own. Here's my .emacs code: > > (setq gnus-use-picons t) > (add-hook 'gnus-article-display-hook > 'gnus-article-display-picons t) > (add-hook 'gnus-article-display-hook > 'gnus-picons-article-display-x-face) > (setq gnus-picons-display-where t) > (defun xface-insert () > (nnheader-temp-write nil ^^^^^^^^^^^^^^^^^^^ % grep -3 nnheader-temp ChangeLog * gnus-art.el (article-mime-decode-quoted-printable): Don't use hexl. * nnheader.el (nnheader-temp-write): Removed. Sat Aug 29 20:34:17 1998 Lars Magne Ingebrigtsen [...] > Any ideas? This works for me, it might not be optimal, though. (defun xface-insert () (let (xface temp-buff) (save-excursion (setq temp-buff (get-buffer-create "*xface-temp*")) (set-buffer temp-buff) (insert-file-contents "~/.gnusdir/xface") (setq xface (buffer-string)) (kill-buffer temp-buff)) xface)) (require 'message) (setq message-required-news-headers (nconc message-required-news-headers (list '(X-Face . xface-insert))) message-required-mail-headers (nconc message-required-mail-headers (list '(X-Face . xface-insert)))) Francisco -- Basic is a high level languish. APL is a high level anguish.