unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mario Valencia <mariovalspi@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 14721@debbugs.gnu.org
Subject: bug#14721: slow scrolling on windows 7
Date: Fri, 28 Jun 2013 01:28:53 -0500	[thread overview]
Message-ID: <CA+3HrJVahc3WO0A_JBJiqfcaQorFiLtvi9hB=AbSDTyPL7DsDw@mail.gmail.com> (raw)
In-Reply-To: <83ip0yg4p9.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]

Well I guess that's it then, there's no way to fix it. :(


2013/6/28 Eli Zaretskii <eliz@gnu.org>

> [Please keep the bug address on the CC list.]
>
> > Date: Thu, 27 Jun 2013 17:55:15 -0500
> > From: Mario Valencia <mariovalspi@gmail.com>
> >
> > I don't know why scrolling has to be so slow. I certainly don't have that
> > problem with any other text editor.
>
> Emacs have a lot of display-related features other editors don't,
> which makes the simplest display-oriented operations very complex
> under the hood.
>
> Just to give you an idea of the complexity: when text includes
> variable-size fonts and images, how do you know where is the start of
> the next or previous window-full, in terms of character positions?
> E.g., if the next/previous line beyond the current window is a large
> image, scrolling would mean to move the viewport by a single line.  By
> contrast, if you are in some kind of folding mode, which hides a lot
> of text, the next/previous window start can be very far away.  There's
> no way Emacs can know this in advance, so it actually scans the text
> before and after the window to decide where to start the next
> window-full.
>
> > Moreover, it scrolls just fine with the scroll bar.
>
> Scroll bar scrolls by smaller amounts, so Emacs succeeds to optimize
> redisplay and keep up.
>
> > And why is scrolling up with PgUp much slower than scrolling down?
>
> For boring technical reasons, scrolling up and down use very different
> code paths in the display engine.
>

[-- Attachment #2: Type: text/html, Size: 2064 bytes --]

  reply	other threads:[~2013-06-28  6:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26  2:38 bug#14721: slow scrolling on windows 7 Mario Valencia
2013-06-26  2:55 ` Eli Zaretskii
     [not found]   ` <CA+3HrJULAkN+6LBg0++S5LH5xnuK7SbPawL91z_T=Aq6gj5AaQ@mail.gmail.com>
2013-06-26 15:28     ` Eli Zaretskii
2013-06-26 16:56       ` Eli Zaretskii
2013-06-26 23:55         ` Mario Valencia
2013-06-27  0:04           ` Mario Valencia
2013-06-27  2:54             ` Eli Zaretskii
     [not found]               ` <CA+3HrJVmZUFOxSwZ8zSP_9zWfcX-WgLNL4Sk3BHhH-S3xG6nHA@mail.gmail.com>
2013-06-28  0:57                 ` bug#14721: Fwd: " Mario Valencia
2013-06-28  5:54                 ` Eli Zaretskii
2013-06-28  6:28                   ` Mario Valencia [this message]
2013-06-28  7:07                     ` Eli Zaretskii
2013-09-12  2:25                       ` Mario Valencia
2013-09-12  2:26                         ` Mario Valencia
2013-09-12  2:47                           ` Eli Zaretskii
2013-09-12 15:04                             ` Eli Zaretskii

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='CA+3HrJVahc3WO0A_JBJiqfcaQorFiLtvi9hB=AbSDTyPL7DsDw@mail.gmail.com' \
    --to=mariovalspi@gmail.com \
    --cc=14721@debbugs.gnu.org \
    --cc=eliz@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 public inbox

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

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).