File: pixel-scroll.el.html

This package offers a global minor mode which makes mouse-wheel scroll a line smoothly.

Scrolling a line up by set-window-vscroll and that by scroll-up give similar display as shown below.

 A: (scroll-up 1)
 B: (set-window-vscroll nil (frame-char-height) t)

Also scrolling a pixel up by set-window-vscroll and that by scroll-up give similar display, when vscroll is the last pixel of the line, as shown below.

 A: (scroll-up 1)
 B: (set-window-vscroll nil (1- (frame-char-height) t)) (scroll-up 1)

When point reaches to the top of a window on scroll by set-window-vscroll, vscroll is set to zero. To scroll a line smoothly and continuously, this package scrolls a line by following sequences.

 (vertical-motion 1) (dolist (vs (number-sequence 1 (1- (frame-char-height)))) (set-window-vscroll nil vs t) (sit-for 0)) (scroll-up 1)

Defined variables (6)

pixel-dead-timeMinimal interval in seconds before next smooth scrolling.
pixel-last-scroll-timeTime when the last scrolling was made, in second since the epoch.
pixel-resolution-fine-flagSet scrolling resolution to pixels instead of a line.
pixel-scroll-modeNon-nil if Pixel-Scroll mode is enabled.
pixel-scroll-mode-hookHook run after entering or leaving ‘pixel-scroll-mode’.
pixel-waitIdle time on each step of pixel scroll specified in second.

Defined functions (18)

pixel--whistlestop-line-up()
pixel--whistlestop-pixel-up(N)
pixel-bob-at-top-p(AMT)
pixel-eob-at-top-p()
pixel-line-height(&optional POS)
pixel-point-at-bottom-p(AMT)
pixel-point-at-top-p(AMT)
pixel-point-at-unseen-line()
pixel-posn-y-at-point()
pixel-scroll-down(&optional ARG)
pixel-scroll-down-and-set-window-vscroll(VSCROLL)
pixel-scroll-in-rush-p()
pixel-scroll-mode(&optional ARG)
pixel-scroll-pixel-down(AMT)
pixel-scroll-pixel-up(AMT)
pixel-scroll-up(&optional ARG)
pixel-visible-pos-in-window()
pixel-visual-line-height()

Defined faces (0)