|
From: | Daniel Colascione |
Subject: | Re: Emacs terminology (not again!?) |
Date: | Sat, 18 Jan 2014 00:53:50 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 01/18/2014 12:34 AM, Eli Zaretskii wrote:
Date: Fri, 17 Jan 2014 19:02:53 -0800 From: Daniel Colascione <address@hidden> Cc: Per Starbäck <address@hidden>, "Richard M. Stallman" <address@hidden>, David Kastrup <address@hidden>, "address@hidden" <address@hidden> Try making a mode that allows point to be off-screen while scrolling like it can be in most other editors.It is a common misconception that Emacs cannot do this. It can. How do you think it pulls the trick of allowing you to scroll pixel-wise through a very large image?
Thanks. I never use Emacs to view images, so I didn't know we could do that.
It is a UI design decision in Emacs to always show point on screen. But nothing prevents us from writing a mode that leaves point off screen, or even abandoning that decision if we want (and I'm not saying we do). The infrastructure is there, check out the vscroll thingy and window-vscroll.
Interesting. I may have to play with this functionality more after the feature freeze. Is (set-window-vscroll nil 500 t) supposed to move the window viewport? I didn't see anything change when I tried it in a quick test.
[Prev in Thread] | Current Thread | [Next in Thread] |