all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Engster <deng@randomsample.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Scrolling in buffers with inline images / point outside viewport
Date: Tue, 11 Jun 2013 21:40:41 +0200	[thread overview]
Message-ID: <87k3m0phae.fsf@arcor.de> (raw)
In-Reply-To: 83a9mxnbn7.fsf@gnu.org

Eli Zaretskii writes:
>> From: David Engster <deng@randomsample.de>
>> However, when I try this now, this code simply does not work; as soon as
>> the cursor leaves the viewport, it somehow resets back to the original
>> position. I have no idea what's going on.
>
> Emacs won't let you use vscroll if the line with the cursor isn't at
> least partially visible -- it will reset the vscroll to bring point
> into view.
>
> Try making the window with .emacs as tall as you can, and put the
> cursor on its last line, before invoking the code above.  It works.

You are right, of course. This is why I did all this point-movement in
my visual scroll routines. I don't know why I was thinking this would
work.

I tried to reproduce the slowdown on scrolling very large images, but
failed, which is good. But instead of working on those old scroll
routines, I'll first try your patches in bug #14567 and follow-up there
if necessary.

-David




      reply	other threads:[~2013-06-11 19:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-09 16:56 Scrolling in buffers with inline images / point outside viewport Klaus-Dieter Bauer
2013-06-09 17:19 ` 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 [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k3m0phae.fsf@arcor.de \
    --to=deng@randomsample.de \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.