Gnus development mailing list
 help / color / mirror / Atom feed
From: Francisco Solsona <solsona@deprof.fciencias.unam.mx>
Subject: Re: no face
Date: 17 Sep 1998 09:14:20 -500	[thread overview]
Message-ID: <m2btoe6d37.fsf@deprof.fciencias.unam.mx> (raw)
In-Reply-To: Phil Humpherys's message of "16 Sep 1998 15:45:56 -0600"

Phil Humpherys <phumpherys@utah-inter.net> 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  <larsi@menja.ifi.uio.no> 


[...]

> 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.


  parent reply	other threads:[~1998-09-17 14:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-16 21:45 Phil Humpherys
1998-09-17 11:14 ` Lee Willis
1998-09-17 17:01   ` Phil Humpherys
1998-09-17 19:17     ` Christian Kurz
1998-09-17 21:34       ` Phil Humpherys
1998-09-17 21:45         ` Phil Humpherys
1998-09-17 14:14 ` Francisco Solsona [this message]
1998-09-17 17:02   ` Phil Humpherys
1998-09-17 21:53 Phil Humpherys

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=m2btoe6d37.fsf@deprof.fciencias.unam.mx \
    --to=solsona@deprof.fciencias.unam.mx \
    /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).