From: Klaus-Dieter Bauer <bauer.klaus.dieter@gmail.com>
To: emacs help <help-gnu-emacs@gnu.org>
Subject: Scrolling in buffers with inline images / point outside viewport
Date: Sun, 9 Jun 2013 18:56:07 +0200 [thread overview]
Message-ID: <CANtbJLGfRVWrr5NTBsDgVvQ_4C3zrfdtQa-Dk-XM-akv2SdJWA@mail.gmail.com> (raw)
Hello!
TL;DR: Is it possible to have point outside the visible portion of the
buffer?
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.
kind regards, Klaus
PS: Reducing the size of images with `org-image-actual-width' would be a
work-around but won't work in Windows, where the binaries come without
ImageMagick support (by which I mean being linked to use the IM library,
not calling imagemagick binaries -- that misunderstanding came up before).
---------------------------------
[1] http://www.randomsample.de/dru5/node/25
next reply other threads:[~2013-06-09 16:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-09 16:56 Klaus-Dieter Bauer [this message]
2013-06-09 17:19 ` Scrolling in buffers with inline images / point outside viewport Eli Zaretskii
2013-06-09 19:12 ` David Engster
2013-06-09 19:00 ` David Engster
2013-06-09 21:57 ` Eli Zaretskii
2013-06-10 15:53 ` David Engster
2013-06-10 17:01 ` Eli Zaretskii
2013-06-11 19:40 ` David Engster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANtbJLGfRVWrr5NTBsDgVvQ_4C3zrfdtQa-Dk-XM-akv2SdJWA@mail.gmail.com \
--to=bauer.klaus.dieter@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).