emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doc-view resizing


From: Stefan Monnier
Subject: Re: Doc-view resizing
Date: Thu, 15 Nov 2007 09:52:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> For the resizing: I didn't test the patch, but +/- will reconvert the
> whole doc, right?  I think that's inacceptable slow.  Let's say you're
> reading page 333 and now you hit `+'.  That will make page 1 current and
> it'll need too much time till page 333 has been converted again.

Yes, that's a problem, but the same problem occurs when the file gets
modified and the buffer needs to be reverted (e.g. if you use
auto-revert-mode).  I.e. the `reconvert' functionality would benefit
from being able to transform page 333 first and the rest afterwards.

> A better and much mode general approach would be to implement image
> zooming in emacs, e.g.

>     (insert-image IMAGE &optional STRING AREA SLICE)

> would become

>     (insert-image IMAGE &optional STRING AREA SLICE ZOOM)

> where ZOOM is the factor for zooming the image.  Of course, that costs
> more effort to implement, but various other modes could benefit from it,
> too (i.e. image-mode, image-dired, emacs-w3m, Gnus).

That is not the same functionality: zooming the bitmap will not give you
the same quality.  It's probably a worthwhile feature, but it different
from the one I'm proposing.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]