Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Why can't I see my X-face?
@ 2005-09-28 15:49 Emre Sevinc
  2005-09-28 16:32 ` Emre Sevinc
  2005-09-28 16:34 ` Reiner Steib
  0 siblings, 2 replies; 5+ messages in thread
From: Emre Sevinc @ 2005-09-28 15:49 UTC (permalink / raw)



First I read GNUS FAQ and then:

Here's my ~/.gnus:

(setq gnus-posting-styles
  '((".*"
      (name "Emre Sevinc")
      (address "emres@bilgi.edu.tr")
      (organization "Istanbul Bilgi University")
      (signature-file "~/.signature"))))

(setq message-default-headers
        (with-temp-buffer
          (insert "X-Face: ")
          (insert-file-contents "~/pics/emre-zaurus.face.quoted")
          (buffer-string)))

and right now, when I'm writing the message the headers look
like:


Newsgroups: gnu.emacs.gnus
Subject: Why can't I see my X-face?
X-Face: ?x.2hKDsRa]HlPG$rU5BwdtKTi`LjH-VYqR7[u*{'&6KI;m!~M$n\\5b!#hg$y{z`P!mv:4)
 ;-10LDS#|&1O]W8[`g@ALjNrY}?Ro6O26m(\\qE1;3l?VI6+].~b&v2'K/./E^Vfg>M_f1#d0WH
X-Draft-From: ("gnu.emacs.gnus" "")
From: Emre Sevinc <emres@bilgi.edu.tr>
Organization: Istanbul Bilgi University


I had that X-face data by turning a JPG into .xbm then using

http://www.dairiki.org/xface/xface.php

and then 

cat emre-zaurus.face | sed 's/\\/\\\\/g;s/\"/\\\"/g;' > emre-zaurus.face.quoted

However, when I read back the messages I posted, I can't see
any graphics.

But I can see some graphics when I read some other people's
posts, e.g. the ones from Pascal Bourguignon in comp.lang.lisp;
hmm, I've just checked his headers and his is somehow different:

Newsgroups: comp.lang.lisp
Subject: Re: Why Lisp is not popular with average programmers
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA
      oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9
      033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac
      l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR
      mV+hO/VvFAAAAABJRU5ErkJggg==

What am I doing wrong?

Any suggestions?

Thanks in advance,

-- 
Emre Sevinc

eMBA Software Developer         Actively engaged in:
http:www.bilgi.edu.tr           http://ileriseviye.org
http://www.bilgi.edu.tr         http://fazlamesai.net
Cognitive Science Student       http://cazci.com
http://www.cogsci.boun.edu.tr


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Why can't I see my X-face?
  2005-09-28 15:49 Why can't I see my X-face? Emre Sevinc
@ 2005-09-28 16:32 ` Emre Sevinc
  2005-09-28 16:34 ` Reiner Steib
  1 sibling, 0 replies; 5+ messages in thread
From: Emre Sevinc @ 2005-09-28 16:32 UTC (permalink / raw)


Emre Sevinc <emres@bilgi.edu.tr> writes:

> First I read GNUS FAQ and then:
>
> Here's my ~/.gnus:
>
> (setq gnus-posting-styles
>   '((".*"
>       (name "Emre Sevinc")
>       (address "emres@bilgi.edu.tr")
>       (organization "Istanbul Bilgi University")
>       (signature-file "~/.signature"))))
>
> (setq message-default-headers
>         (with-temp-buffer
>           (insert "X-Face: ")
>           (insert-file-contents "~/pics/emre-zaurus.face.quoted")
>           (buffer-string)))
>
> and right now, when I'm writing the message the headers look
> like:
>


I tried W f (Show X-Face) but what it shows is not what I see
in my original .xbm file. Also this is not the default behavior
but I can see others' "face"s. What must I modify?


>
> Newsgroups: gnu.emacs.gnus
> Subject: Why can't I see my X-face?
> X-Face: ?x.2hKDsRa]HlPG$rU5BwdtKTi`LjH-VYqR7[u*{'&6KI;m!~M$n\\5b!#hg$y{z`P!mv:4)
>  ;-10LDS#|&1O]W8[`g@ALjNrY}?Ro6O26m(\\qE1;3l?VI6+].~b&v2'K/./E^Vfg>M_f1#d0WH
> X-Draft-From: ("gnu.emacs.gnus" "")
> From: Emre Sevinc <emres@bilgi.edu.tr>
> Organization: Istanbul Bilgi University
>
>
> I had that X-face data by turning a JPG into .xbm then using
>
> http://www.dairiki.org/xface/xface.php
>
> and then 
>
> cat emre-zaurus.face | sed 's/\\/\\\\/g;s/\"/\\\"/g;' > emre-zaurus.face.quoted
>
> However, when I read back the messages I posted, I can't see
> any graphics.
>
> But I can see some graphics when I read some other people's
> posts, e.g. the ones from Pascal Bourguignon in comp.lang.lisp;
> hmm, I've just checked his headers and his is somehow different:
>
> Newsgroups: comp.lang.lisp
> Subject: Re: Why Lisp is not popular with average programmers
> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA
>       oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9
>       033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac
>       l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR
>       mV+hO/VvFAAAAABJRU5ErkJggg==
>
> What am I doing wrong?
>
> Any suggestions?
>
> Thanks in advance,
>

-- 
Emre Sevinc

eMBA Software Developer         Actively engaged in:
http:www.bilgi.edu.tr           http://ileriseviye.org
http://www.bilgi.edu.tr         http://fazlamesai.net
Cognitive Science Student       http://cazci.com
http://www.cogsci.boun.edu.tr


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Why can't I see my X-face?
  2005-09-28 15:49 Why can't I see my X-face? Emre Sevinc
  2005-09-28 16:32 ` Emre Sevinc
@ 2005-09-28 16:34 ` Reiner Steib
  2005-09-28 21:22   ` Emre Sevinc
  1 sibling, 1 reply; 5+ messages in thread
From: Reiner Steib @ 2005-09-28 16:34 UTC (permalink / raw)


On Wed, Sep 28 2005, Emre Sevinc wrote:

> However, when I read back the messages I posted, I can't see
> any graphics.

See the manual:

,----[ (info "(gnus)X-Face") ]
|    Decoding an `X-Face' header either requires an Emacs that has
| `compface' support (which most XEmacs versions has), or that you have
| `compface' installed on your system.  If either is true, Gnus will
| default to displaying `X-Face' headers.
`----

> But I can see some graphics when I read some other people's
> posts, e.g. the ones from Pascal Bourguignon in comp.lang.lisp;
> hmm, I've just checked his headers and his is somehow different:
>
> Newsgroups: comp.lang.lisp
> Subject: Re: Why Lisp is not popular with average programmers
> Face: [...]

"Face" != "X-Face", see (info "(gnus)Face") and (info "(gnus)X-Face").

On Wed, Sep 28 2005, Emre Sevinc wrote:
[ In <877jd1b3qc.fsf@ileriseviye.org> ]

> Just trying to see if X-Face worked ;-)

No need to send test postings.  Use some *.test group, please.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Why can't I see my X-face?
  2005-09-28 16:34 ` Reiner Steib
@ 2005-09-28 21:22   ` Emre Sevinc
  2005-09-28 23:14     ` Katsumi Yamaoka
  0 siblings, 1 reply; 5+ messages in thread
From: Emre Sevinc @ 2005-09-28 21:22 UTC (permalink / raw)


Reiner Steib <reinersteib+from-uce@imap.cc> writes:

> On Wed, Sep 28 2005, Emre Sevinc wrote:
>
>> However, when I read back the messages I posted, I can't see
>> any graphics.
>
> See the manual:
>
> ,----[ (info "(gnus)X-Face") ]
> |    Decoding an `X-Face' header either requires an Emacs that has
> | `compface' support (which most XEmacs versions has), or that you have
> | `compface' installed on your system.  If either is true, Gnus will
> | default to displaying `X-Face' headers.
> `----
>
>> But I can see some graphics when I read some other people's
>> posts, e.g. the ones from Pascal Bourguignon in comp.lang.lisp;
>> hmm, I've just checked his headers and his is somehow different:
>>
>> Newsgroups: comp.lang.lisp
>> Subject: Re: Why Lisp is not popular with average programmers
>> Face: [...]
>
> "Face" != "X-Face", see (info "(gnus)Face") and (info "(gnus)X-Face").


Thank you very much. I followed your pointers and created
a 48x48 pixels JPEG image and used 

(setq message-default-headers
        (with-temp-buffer
          (insert "Face: ")
          (insert (gnus-face-from-file "~/pics/emre-face.jpg"))
          (buffer-string)))

and it brought a big, long Face: ... header. I think
it works now.

Thanks again.



-- 
Emre Sevinc

eMBA Software Developer         Actively engaged in:
http:www.bilgi.edu.tr           http://ileriseviye.org
http://www.bilgi.edu.tr         http://fazlamesai.net
Cognitive Science Student       http://cazci.com
http://www.cogsci.boun.edu.tr


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Why can't I see my X-face?
  2005-09-28 21:22   ` Emre Sevinc
@ 2005-09-28 23:14     ` Katsumi Yamaoka
  0 siblings, 0 replies; 5+ messages in thread
From: Katsumi Yamaoka @ 2005-09-28 23:14 UTC (permalink / raw)


BTW, your X-Face header seems corrupted.  Here's a corrected one:

X-Face: ?x.2hKDsRa]HlPG$rU5BwdtKTi`LjH-VYqR7[u*{'&6KI;m!~M$n\5b!#hg$y{z`P!mv:4)
 ;-10LDS#|&1O]W8[`g@ALjNrY}?Ro6O26m(\qE1;3l?VI6+].~b&v2'K/./E^Vfg>M_f1#d0WH


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-28 23:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-28 15:49 Why can't I see my X-face? Emre Sevinc
2005-09-28 16:32 ` Emre Sevinc
2005-09-28 16:34 ` Reiner Steib
2005-09-28 21:22   ` Emre Sevinc
2005-09-28 23:14     ` Katsumi Yamaoka

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