From: sho nakatani <lay.sakura@gmail.com>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: 8364@debbugs.gnu.org
Subject: bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el
Date: Thu, 31 Mar 2011 15:57:11 +0900 [thread overview]
Message-ID: <AANLkTimR4eJrf8uXd0SaJUVBF2CmjD0r3bvV+T7E6fkq@mail.gmail.com> (raw)
In-Reply-To: <877hbf94w4.fsf@member.fsf.org>
Hi.
2011/3/31 Tassilo Horn <tassilo@member.fsf.org>:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>>> 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.
>>
>> I don't see why you'd need another buffer-local var. It'd just set
>> the zoom level and the scrolling. Unless you mean a new buffer-local
>> var to remember "keep it fitted", but I don't need that.
>
> Oh, right. So you'd set the rectangle once, which would adjust the zoom
> level and hscroll, and since doc-view preserves the hscroll anyway,
> there's nothing to remember.
>
> Hm, I can see that this is also handy, although not much different to
> slice&fit. One complication here is that you have to set the hscroll in
> terms of columns while the rectangle is pixel-based.
>
> Nakatani, if you want, you could try to implement a
> `doc-view-fit-rectangle-to-window' function. Basically, the right
Off course I'm interested in it but unfortunatelly I don't have enough
time. My school will begin soon and I want to give my all energy
to my research and study.
Although it is possible that I start to implement the function after
a month or so, I cannot be certain about it.
So if anyone (including Tassilo :-D ) can try it, it would be better
than just waiting for my implementation.
I feel a bit sorry not to be able to help you ;-(
Bye,
--
Sho Nakatani
next prev parent reply other threads:[~2011-03-31 6:57 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-28 10:08 bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el Tassilo Horn
[not found] ` <handler.8364.B.130130692430672.ack@debbugs.gnu.org>
2011-03-28 10:38 ` bug#8364: Acknowledgement (24.0.9999; PATCH: Fit to width/height/page for doc-view.el) Tassilo Horn
2011-03-28 14:36 ` bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el Stefan Monnier
2011-03-28 14:56 ` sho nakatani
2011-03-28 15:17 ` Stefan Monnier
2011-03-29 9:32 ` joakim
2011-03-28 15:28 ` Tassilo Horn
2011-03-28 15:58 ` sho nakatani
2011-03-28 17:35 ` Tassilo Horn
2011-03-30 9:10 ` sho nakatani
2011-03-30 10:20 ` Tassilo Horn
[not found] ` <AANLkTinuF6KanSo5XuTQOm+G-+qHzS8QM9zMy3S73-_g@mail.gmail.com>
2011-03-30 13:18 ` Tassilo Horn
2011-03-30 14:35 ` sho nakatani
2011-03-30 15:17 ` Tassilo Horn
2011-03-30 15:49 ` sho nakatani
2011-03-30 17:07 ` Tassilo Horn
2011-03-30 17:13 ` sho nakatani
2011-03-30 14:42 ` Stefan Monnier
2011-03-30 15:08 ` Tassilo Horn
2011-03-30 21:07 ` Stefan Monnier
2011-03-31 6:32 ` Tassilo Horn
2011-03-31 6:57 ` sho nakatani [this message]
2011-03-31 7:47 ` Tassilo Horn
2011-04-08 16:18 ` Chong Yidong
2011-04-08 20:12 ` Tassilo Horn
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=AANLkTimR4eJrf8uXd0SaJUVBF2CmjD0r3bvV+T7E6fkq@mail.gmail.com \
--to=lay.sakura@gmail.com \
--cc=8364@debbugs.gnu.org \
--cc=tassilo@member.fsf.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.