From: David Z Maze <dmaze@mit.edu>
Subject: Re: Face - problem!!
Date: Thu, 31 Mar 2005 12:41:28 -0500 [thread overview]
Message-ID: <y68psxfbtmf.fsf@contents-vnder-pressvre.mit.edu> (raw)
In-Reply-To: <y8c44pbc.fsf@netscape.net>
Surendra Singhi <efuzzyone@netscape.net> writes:
> I want to insert face into my news posts and I have the following lines in my
> .gnus file
>
> (setq message-required-news-headers
> (nconc message-required-news-headers
> (list '(Face . (lambda ()
> (gnus-face-from-file "~/.xemacs/face.jpg"))))))
>
> The value of the variable is also set accordingly to
>
> (From Newsgroups Subject Date Message-ID (optional . Organization)
> (optional . User-Agent) (Face lambda nil
> (gnus-face-from-file "~/.xemacs/face.jpg")))
>
> But it doesn't seems to have the intended effect.
>
> Am I doing anything wrong, or do I need to set some other variable?
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"))))))
Or, even,
(defun acquire-gnus-face () (gnus-face-from-file "face.jpg"))
(setq message-required-news-headers
(append message-required-news-headers
'((Face . acquire-gnus-face))))
(It's not obvious to me that "~/.xemacs/face.jpg" will do what you
want as an argument to gnus-face-from-file; you might need to pass
that through expand-file-name on the way.)
--dzm
next prev parent reply other threads:[~2005-03-31 17:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-31 0:44 Surendra Singhi
2005-03-31 17:41 ` David Z Maze [this message]
2005-03-31 20:50 ` Surendra Singhi
2005-03-31 21:11 ` Rebecca Ore
2005-03-31 21:39 ` Surendra Singhi
2005-03-31 22:16 ` Rebecca Ore
2005-04-01 6:53 ` Surendra Singhi
2005-03-31 21:56 ` Surendra Singhi
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=y68psxfbtmf.fsf@contents-vnder-pressvre.mit.edu \
--to=dmaze@mit.edu \
/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).