Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Face (X-Face?)
       [not found]             ` <s33cnx8du4.fsf@laredo.verisity.com.cmm>
@ 2003-01-13 12:21               ` Karl Kleinpaste
       [not found]                 ` <87smvwwv9i.fsf@labatt.uhoreg.ca>
       [not found]               ` <m31y3hmf9c.fsf@quimbies.gnus.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Karl Kleinpaste @ 2003-01-13 12:21 UTC (permalink / raw)


Michael Livshin <usenet@cmm.kakpryg.net> writes:
> I'd like to ask Gnus to render those pictures on the right

Turn on picons, so that you suddenly have little pictures exploding
all over your screen, and suddenly you won't care where face pictures
go. :-)


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

* Re: Face (X-Face?)
       [not found]               ` <m31y3hmf9c.fsf@quimbies.gnus.org>
@ 2003-01-13 15:59                 ` Simon Josefsson
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Josefsson @ 2003-01-13 15:59 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Michael Livshin <usenet@cmm.kakpryg.net> writes:
>
>> I'd like to ask Gnus to render those pictures on the right, so that
>> articles would look like so:
>>
>> +-------------------------------------------------------+
>> | <header...................>                           |
>> | <header...................>                   <X-face>|
>> | <header...................>                           |
>> | ------------------------------------------------------|
>> |  <body..........................................>     |
>> +-------------------------------------------------------+
>
> Unless the X/Emacs rendering system has changed lately, that's
> actually very difficult to do.  I think the only way to do that is to
> insert one space at a time and query Emacs how many pixels we now
> have left.  When you're far enough to the right, you insert the face. 

Using the space-width it becomes a little easier (insert one space
with the space-width property and then the face, then increase the
space-width length until it can't be increased further without
wrapping the line), but I think it is impossible to get the above
because an image cannot occupy several lines as far as I know.

So it is only possible to get the following:

 +-------------------------------------------------------+
 | <header...................>                   <X-face>|
 |                                               <X-face>|
 |                                               <X-face>|
 | <header...................>                           |
 | <header...................>                           |
 | ------------------------------------------------------|
 |  <body..........................................>     |
 +-------------------------------------------------------+

Another idea is to make use of multiple emacs buffers for this, i.e.:

 +---------------------------------------------+--------+
 | <header...................>                 |<X-face>|
 | <header...................>                 |<X-face>|
 | <header...................>                 |<X-face>|
 | <header...................>                 |        |
 +---------------------------------------------+--------+
 |  <body.........................................>     |
 +------------------------------------------------------+

If the status bar and scrollbars can be disabled or minimized (which I
believe is the case), I think this could work rather well.

Presumably, the easiest way to implement it would be to simply disable
viewing headers in the current *Article* buffer and then add the two
other buffers with the headers and X-face, like the tree buffer is
added now.  I'm not sure if it is worth the trouble.


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

* Re: Face (X-Face?)
       [not found]                 ` <87smvwwv9i.fsf@labatt.uhoreg.ca>
@ 2003-01-13 22:28                   ` Jesper Harder
  0 siblings, 0 replies; 4+ messages in thread
From: Jesper Harder @ 2003-01-13 22:28 UTC (permalink / raw)


Hubert Chan <hubert@uhoreg.ca> writes:

> Does anyone know if picons work in GNU Emacs?

Yes, but you need Oort.


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

* Re: Face (X-Face?)
       [not found] <87vg0ub22b.fsf@at_ipipan.waw.pl>
@ 2003-01-12 19:55 ` Vasily Korytov
       [not found] ` <m3adi6174o.fsf@quimbies.gnus.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Vasily Korytov @ 2003-01-12 19:55 UTC (permalink / raw)


>>>>> "AP" == Adam P writes:

 AP> Posts by Lars contain the "Face" header with values like this:
 [...]
 AP> I haven't found any info about the 'Face' header in the Gnus manual (a
 AP> apposed to the 'X-Face' header).  What is its function and what should
 AP> I do to display it properly?

Update your Gnus (and make sure, your emacs has PNG support) and take a
look at the gnus-treat-display-face (defcustom ...) (as opposed to
gnus-treat-display-xface; both in gnus-art.el).

I think, the documentation for it isn't accurate, but I believe, that
it's the nearly same thing as X-Face, but using PNG compression. (Please
correct me, if I'm wrong, anybody.)

---Vas


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

end of thread, other threads:[~2003-01-13 22:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87vg0ub22b.fsf@at_ipipan.waw.pl>
2003-01-12 19:55 ` Face (X-Face?) Vasily Korytov
     [not found] ` <m3adi6174o.fsf@quimbies.gnus.org>
     [not found]   ` <87bs2ld7t9.fsf@labatt.uhoreg.ca>
     [not found]     ` <m3of6lmq9a.fsf@quimbies.gnus.org>
     [not found]       ` <878yxppdow.fsf@orebokech.com>
     [not found]         ` <m33cnxmk40.fsf@quimbies.gnus.org>
     [not found]           ` <m3znq5l53z.fsf@quimbies.gnus.org>
     [not found]             ` <s33cnx8du4.fsf@laredo.verisity.com.cmm>
2003-01-13 12:21               ` Karl Kleinpaste
     [not found]                 ` <87smvwwv9i.fsf@labatt.uhoreg.ca>
2003-01-13 22:28                   ` Jesper Harder
     [not found]               ` <m31y3hmf9c.fsf@quimbies.gnus.org>
2003-01-13 15:59                 ` Simon Josefsson

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