Gnus development mailing list
 help / color / mirror / Atom feed
From: "Edward J. Sabol" <sabol@alderaan.gsfc.nasa.gov>
Cc: ding@gnus.org
Subject: Re: personalized x-face
Date: Tue, 20 Apr 1999 16:51:18 -0400 (EDT)	[thread overview]
Message-ID: <199904202051.QAA88318@alderaan.gsfc.nasa.gov> (raw)
In-Reply-To: <m3iuarhwwh.fsf@nyarlathotep.hedbor.org> (message from David Hedbor on 20 Apr 1999 13:14:38 -0700)

Excerpts from mail: (20-Apr-99) personalized x-face  by David Hedbor
> What about adding two new symbols to gnus-posting-styles; x-face and
> x-face-file. The reason is, of course, that it would be a lot easier
> inserting your x-face without (e)lisp knowledge then.

That was actually suggested as part of the original discussion (circa
September 1995) that led to the implementation of posting styles. I would be
in favor of this.

> On the same subject, how would I do to add x-face to posting styles
> today (ie load a file and return it as a string)?

Probably something like what Matt Pharr <mmp@Graphics.Stanford.EDU> posted to
this mailing list back on 1999-02-19 which was for doing the same thing but
for signature files. This is untested modification of that elisp code
snippet, but it should work. You may or may not need to delete the trailing
newline, depending upon whether your x-face-file has a trailing newline or
not.

(defun my-x-face-file-to-string()
  (with-temp-buffer
    (insert-file "/path/to/your/x-face-file")
    (goto-char (point-max))
    (delete-backward-char 1)
    (buffer-string)))

Later,
Ed


  reply	other threads:[~1999-04-20 20:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-20 20:14 David Hedbor
1999-04-20 20:51 ` Edward J. Sabol [this message]
1999-04-21  7:52 ` Didier Verna
1999-06-12  3:13   ` Lars Magne Ingebrigtsen

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=199904202051.QAA88318@alderaan.gsfc.nasa.gov \
    --to=sabol@alderaan.gsfc.nasa.gov \
    --cc=ding@gnus.org \
    /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).