From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4819 Path: news.gmane.org!not-for-mail From: Surendra Singhi Newsgroups: gmane.emacs.gnus.user Subject: Re: Face - problem!! Date: Thu, 31 Mar 2005 14:39:21 -0700 Organization: Arizona State University Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670704 25009 80.91.229.2 (31 Jan 2006 01:25:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:25:04 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:34:21 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed-00.mathworks.com!arclight.uoregon.edu!news.asu.edu!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: machine.dhcp.asu.edu Original-X-Trace: news.asu.edu 1112305157 11500 149.169.179.56 (31 Mar 2005 21:39:17 GMT) Original-X-Complaints-To: postmaster@asu.edu Original-NNTP-Posting-Date: Thu, 31 Mar 2005 21:39:17 +0000 (UTC) User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.13 (Rational FORTRAN, windows-nt) Face: J3BwbW5vcm0nIGlzIG5vdCByZWNvZ25pemVkIGFzIGFuIGludGVybmFsIG9yIGV4dGVybmFs IGNvbW1hbmQsDQpvcGVyYWJsZSBwcm9ncmFtIG9yIGJhdGNoIGZpbGUuDQo= Cancel-Lock: sha1:bedCBc2o9UDhl98aHK8gyf2dsPY= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4960 Original-Lines: 39 X-Gnus-Article-Number: 4960 Tue Jan 17 17:34:21 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4819 Archived-At: Rebecca Ore writes: > Surendra Singhi writes: > >> David Z Maze writes: >> > >>> I don't think you're actually getting the lambda (code) into the list; >>> instead, you're getting the symbol 'lambda and such into it. Maybe >>> you mean something more like >>> >>> (setq message-required-news-headers >>> (append message-required-news-headers >>> (list (cons 'Face (lambda () >>> (gnus-face-from-file "face.jpg")))))) > > This worked for me on XDarwin running over Mac OS 10.2.8. I'd also > been trying to figure out how to do this. > > This follows those lines > > (add-hook 'message-header-setup-hook > 'my-message-header-setup-hook) > It seems in my case gnus is not using the variable message-required-news-headers anywhere. You also need to give me the code for the function my-message-header-setup-hook. Thanks. -- Surendra Singhi www.public.asu.edu/~sksinghi/ "O thou my friend! The prosperity of Crime is like unto the lightning, whose traitorous brilliancies embellish the atmosphere but for an instant, in order to hurl into death's very depths the luckless one they have dazzled." -- Marquis de Sade