GNU bug report logs -
#4896
DocView: Continuous mode
Previous Next
Reported by: Juri Linkov <juri <at> jurta.org>
Date: Tue, 10 Nov 2009 08:25:05 UTC
Severity: wishlist
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> The following patch adds a new variable `doc-view-continuous-mode' and
>> uses it in two new commands `doc-view-next-line-or-next-page' and
>> `doc-view-previous-line-or-previous-page'.
>
> Looks good to me, except that I have the feeling that this whole "check
> if scolling happened" thingy could be refactored into its own functions
> and used from doc-view-scroll-up-or-next-page and
> doc-view-next-line-or-next-page (and the other two).
Yes, this could be refactored after we reach a more/less final
implementation.
>> However, I still have no idea how make the mouse-wheel to jump to the
>> next/previous page depending on the value of
>> `doc-view-continuous-mode'.
>
> Can't you simply bind mouse-4/5 to the two new functions?
mwheel.el provides many useful settings like `mouse-wheel-scroll-amount'
that we should respect in DocView.
--
Juri Linkov
http://www.jurta.org/emacs/
This bug report was last modified 3 years and 107 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.