From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/22671 Path: main.gmane.org!not-for-mail From: "Edward J. Sabol" Newsgroups: gmane.emacs.gnus.general Subject: Re: personalized x-face Date: Tue, 20 Apr 1999 16:51:18 -0400 (EDT) Sender: owner-ding@hpc.uh.edu Message-ID: <199904202051.QAA88318@alderaan.gsfc.nasa.gov> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035160549 30551 80.91.224.250 (21 Oct 2002 00:35:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:35:49 +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 QAA13155 for ; Tue, 20 Apr 1999 16:52:54 -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 PAB00069; Tue, 20 Apr 1999 15:51:56 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 20 Apr 1999 15:52:18 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id PAA03496 for ; Tue, 20 Apr 1999 15:52:10 -0500 (CDT) Original-Received: from alderaan.gsfc.nasa.gov (alderaan.gsfc.nasa.gov [128.183.16.213]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA13073 for ; Tue, 20 Apr 1999 16:52:02 -0400 (EDT) Original-Received: (from sabol@localhost) by alderaan.gsfc.nasa.gov (980427.SGI.8.8.8/980728.SGI.AUTOCF) id QAA88318; Tue, 20 Apr 1999 16:51:18 -0400 (EDT) Original-To: david@hedbor.org In-reply-to: (message from David Hedbor on 20 Apr 1999 13:14:38 -0700) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:22671 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:22671 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 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