Gnus development mailing list
 help / color / mirror / Atom feed
From: Lloyd Zusman <ljz@asfast.com>
Subject: Re: Inline MIME display -- when and when not?
Date: 29 Nov 1998 23:22:36 -0500	[thread overview]
Message-ID: <ltpva5q06r.fsf@asfast.com> (raw)
In-Reply-To: Lloyd Zusman's message of "29 Nov 1998 23:03:21 -0500"

Lloyd Zusman <ljz@asfast.com> writes:

> Hrvoje Niksic <hniksic@srce.hr> writes:
> 
> > Lloyd Zusman <ljz@asfast.com> writes:
> > 
> > > I'm wondering, however, why the height of the image is being
> > > considered at all, given that the article buffer is always easily
> > > scrollable in the vertical direction.
> > 
> > Because it's not.  Try it with an image larger than the window.
> 
> I did try it, and it worked for fine for a few images but then it
> crashed XEmacs on the third or fourth image I was viewing.  All
> images, including those which worked, were taller than the buffer
> height returned by `(window-pixel-height)'.  Is this the problem
> you're referring to?

More info: in the set of images I'm referring to, Gnus fails whether
or not the images are displayed inline.  It's just that the
manifestation of the error differs depending on how the image is
displayed.

In the case where I'm displaying the images inline (by the way, I do
this by temporarily hacking `mm-image-fit-p' to always allow
taller-than-buffer images), the first few taller-than-buffer images
display fine, but then, I either get an "out of memory" error in
XEmacs, or XEmacs crashes altogether.

In the default case where the taller-than-buffer images are being
displayed via `xv', I can also view a few images just fine, but then,
XEmacs seems to hang forever waiting for the next `xv' process to
start.  I have to Control-G out of this.  Then, no more `xv' processes
can be started.

In both cases, it appears that the memory that is being used to do the
base64 decoding is not being freed, but I'm not sure about this.

But prior to these errors occurring, taller-than-buffer images display
perfectly fine, both inline within my article buffer, and also via
`xv'.  My guess is that once the "out of memory" bug is fixed, all
taller-than-buffer images will work fine when displayed inline and
via an external viewer.

-- 
 Lloyd Zusman
 ljz@asfast.com


  reply	other threads:[~1998-11-30  4:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-30  0:27 Lloyd Zusman
1998-11-30  2:49 ` Lars Magne Ingebrigtsen
1998-11-30  3:00   ` Lloyd Zusman
1998-11-30  3:03     ` Hrvoje Niksic
1998-11-30  3:25   ` Lloyd Zusman
1998-11-30  3:54     ` Hrvoje Niksic
1998-11-30  4:03       ` Lloyd Zusman
1998-11-30  4:22         ` Lloyd Zusman [this message]
1998-11-30 10:30           ` Hrvoje Niksic
1998-11-30 12:13             ` Lloyd Zusman
1998-11-30 12:32               ` Hrvoje Niksic
1998-11-30 13:41                 ` Lloyd Zusman
1998-11-30 15:37                   ` Lars Magne Ingebrigtsen
1998-11-30 10:28         ` Hrvoje Niksic
1998-11-30 12:01           ` Lloyd Zusman
1998-11-30 12:30             ` Hrvoje Niksic

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=ltpva5q06r.fsf@asfast.com \
    --to=ljz@asfast.com \
    /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).