unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: emacs-devel@gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>
Subject: Re: iimage.el and the size of the images
Date: Tue, 03 May 2016 16:41:08 +0200	[thread overview]
Message-ID: <87r3dj4323.fsf@web.de> (raw)
In-Reply-To: 878tzr8gqm.fsf@mat.ucm.es

Uwe Brauer <oub@mat.ucm.es> writes:

> I just learn about iimage.el, which is now part of GNU emacs core. I
> like it quite a lot, the only thing which I find a bit inconvenient on
> my 12 inch Laptop is the size of the images displayed. I did not find
> any variable in which the size of images could be changed.

> The author's address does not work anymore, so I looked at the code it
> seems that the essential part is this:

>   (if arg
>                   (add-text-properties (match-beginning 0) (match-end 0)
>                                        `(display ,(create-image file)
>                                                   ^^^^^
>                                          modification-hooks
>                                          (iimage-modification-hook)))
            


Lars Ingebrigtsen has been working in that area recently.  He installed
some patches that made scaling displayed images very easy (in the master
branch AFAIK).

Lars, do your patches affect iimage.el as well - or should they?


> However 
> ,----
> | max-image-size is a variable defined in ‘C source code’.
> | Its value is 10.0
> `----
>
> So I cannot change that value easily.

Why not?  Doesn't `setq' change the value?

However, I'm not sure what this variable really means (I don't
understand the docstring).


Michael.




  reply	other threads:[~2016-05-03 14:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-03 12:32 iimage.el and the size of the images Uwe Brauer
2016-05-03 14:41 ` Michael Heerdegen [this message]
2016-05-03 15:49   ` Uwe Brauer
2016-05-03 16:00     ` Lars Ingebrigtsen
2016-05-03 16:22       ` Uwe Brauer

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3dj4323.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).