help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scrolling in buffers with inline images / point outside viewport


From: Eli Zaretskii
Subject: Re: Scrolling in buffers with inline images / point outside viewport
Date: Sun, 09 Jun 2013 20:19:39 +0300

> From: Klaus-Dieter Bauer <bauer.klaus.dieter@gmail.com>
> Date: Sun, 9 Jun 2013 18:56:07 +0200
> 
> Is it possible to have point outside the visible portion of the
> buffer?

Yes.  You need to use vscroll.

> Scrolling in buffers with inline images can be awfully jerky: Images
> invalidate the linear relation between lines and height on the screen to
> the point where scrolling the mouse down once may skip several screens. As
> my org-mode files often contain a series of output plots, this makes them
> very hard to navigate with the mouse wheel and inconvenient to navigate
> with the keyboard.
> 
> It can partly be solved, as demonstrated in [1], by doing smart positioning
> of point. However, I can't think of a solution how to scroll when there are
> images that are larger than the buffer height if after every scroll
> operation point must be visible. The solution from [1] for instances gets
> stuck at large images, unless one scrolls continously in which case
> presumable Emacs do a redisplay during the scrolling, that would force the
> viewport into a position that makes point visible.
> 
> Is there some way to get emacs allow an "out-of-viewport" point as usual in
> modern GUI programs? This would allow to implement smoother scrolling with
> images and allow the modern behaviour, where I can put the cursor to a
> position, scroll down a couple of pages with the mouse wheel and
> shift-click to select the region in between.

See bug #14567.  Perhaps the changes proposed there is what you have
in mind (it's hard to tell because you don't describe a precise recipe
or use case).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]