Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: ding@gnus.org
Subject: Re: images in article view
Date: Fri, 20 Sep 2019 17:23:42 +0100	[thread overview]
Message-ID: <87d0fvszqp.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87r24grnwr.fsf@gnus.org>

On Monday, 16 Sep 2019 at 22:23, Lars Ingebrigtsen wrote:
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>>>> How does it make "images fit in the buffer" (t), without resizing them,
>>>> which has it's own option (resize)?!
>>>
>>> When t, images are not resized, and will stick out of the window when
>>> too large.  Otherwise, images are either resized to fit, or not inlined
>>> at all.
>>
>> So "images fit in the buffer" is a statement of expectation instead of
>> action?
>
> I think so.  I've now clarified the doc string on the trunk.

Thanks.

However, the code itself (mm-inline-image and gnus-rescale-image) do not
work as one would expect.  Two things:

1. The rescaling as implemented will only work properly for landscape
   images when *both* dimensions of the image exceed the dimensions of
   the window.  Ideally, the scaling should be done to cater for the
   dimension that requires the greater ratio of scaling.
2. For some reason, my value of mm-inline-large-images-proportion is
   ignored and the default (0.9) is used.  I've tried edebugging but I
   cannot figure out what the problem might be.

eric

-- 
Eric S Fraga via Emacs 27.0.50 & org 9.2.4 on Debian bullseye/sid




  reply	other threads:[~2019-09-20 16:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06 16:14 Eric S Fraga
2019-09-07  8:25 ` Eric S Fraga
2019-09-07  8:31   ` Adam Sjøgren
2019-09-07  9:01     ` Eric S Fraga
2019-09-07 10:14     ` Andreas Schwab
2019-09-07 15:30       ` Eric S Fraga
2019-09-16 20:23         ` Lars Ingebrigtsen
2019-09-20 16:23           ` Eric S Fraga [this message]
2019-09-16 20:31         ` Lars Ingebrigtsen

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=87d0fvszqp.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=ding@gnus.org \
    /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).