[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el
From: |
Tassilo Horn |
Subject: |
bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el |
Date: |
Wed, 30 Mar 2011 17:08:52 +0200 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.9999 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I'm trying to add `fit-slice-to-window' feature in doc-view.el.
>
> Nice, thanks. BTW, maybe an even better functionality is
> "fit-rectangle-to-window", which would do the same except without
> slicing (i.e. move the top-left corner and zoom so only the specified
> rectangle is visible, but while keeping the outside visible via
> scrolling).
Where's the difference, except that you could scroll the margins if you
wanted to do so? Implementation-wise, the difference is that Nakatani's
current approach simply uses the image slice for the geometry, your
rectangle approach requires another buffer-local variable. And since
slices are there anyway, I prefer making fitting functions do the right
thing in that scenario.
You can already zoom and hscroll until you have the visible rectangle
you like to have, and all doc-view navigation commands preserve the
hscroll.
Bye,
Tassilo
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, (continued)
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, Tassilo Horn, 2011/03/28
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, sho nakatani, 2011/03/30
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, Tassilo Horn, 2011/03/30
- Message not available
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, Tassilo Horn, 2011/03/30
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, sho nakatani, 2011/03/30
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, Tassilo Horn, 2011/03/30
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, sho nakatani, 2011/03/30
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, Tassilo Horn, 2011/03/30
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, sho nakatani, 2011/03/30
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, Stefan Monnier, 2011/03/30
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el,
Tassilo Horn <=
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, Stefan Monnier, 2011/03/30
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, Tassilo Horn, 2011/03/31
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, sho nakatani, 2011/03/31
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, Tassilo Horn, 2011/03/31
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, Stefan Monnier, 2011/03/28
- bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el, joakim, 2011/03/29