[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Continuous image scrolling
From: |
Tak Kunihiro |
Subject: |
Re: Continuous image scrolling |
Date: |
Thu, 05 Apr 2018 12:54:31 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (windows-nt) |
>> I think with the following setup,
>>
>> M-x pixel-scroll-mode
>> (setq pixel-resolution-fine-flag t)
>>
>> a buffer with large images, as you shown, can be scrolled by height of
>> typical line.
>
> I think I must be doing something wrong :/
>
> I used this snippet to insert 10 copies of a large picture in a new buffer:
>
> (dotimes (_ 10)
> (insert (propertize " " 'display '(image :type jpeg :file
> "some-large-picture.jpg" :scale 1)) "\n"))
>
> and then I turned pixel-scroll-mode on with the setting you mentioned, but
> Emacs still scrolls by full images.
Let me assume height of an image is less than height of visible area of
a window.
M-x pixel-scroll-mode
(setq pixel-resolution-fine-flag t)
M-: (pixel-scroll-up 1)
The (pixel-scroll-up 1) scrolls a buffer up by (frame-char-height) with
re-displaying each pixel.
A function that scrolls a buffer up like (pixel-scroll-up 1) but without
re-displaying each pixel, should be written. The function serves as
alternative of (scroll-up).
- Re: Continuous image scrolling, (continued)
- Re: Continuous image scrolling, Juri Linkov, 2018/04/03
- Re: Continuous image scrolling, Stefan Monnier, 2018/04/03
- Re: Continuous image scrolling, Clément Pit-Claudel, 2018/04/03
- Re: Continuous image scrolling, Eli Zaretskii, 2018/04/04
- Re: Continuous image scrolling, Juri Linkov, 2018/04/04
- Re: Continuous image scrolling, Eli Zaretskii, 2018/04/05
- Re: Continuous image scrolling, Tak Kunihiro, 2018/04/04
- Re: Continuous image scrolling, Clément Pit-Claudel, 2018/04/04
- Re: Continuous image scrolling,
Tak Kunihiro <=
- Re: Continuous image scrolling, Clément Pit-Claudel, 2018/04/05
- Re: Continuous image scrolling, Tak Kunihiro, 2018/04/05
- Re: Continuous image scrolling, Clément Pit-Claudel, 2018/04/06
- Re: Continuous image scrolling, Tak Kunihiro, 2018/04/06
Re: Continuous image scrolling, John Wiegley, 2018/04/04