emacs-devel
[Top][All Lists]
Advanced

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

Re: The unwarranted scrolling assumption


From: Juanma Barranquero
Subject: Re: The unwarranted scrolling assumption
Date: Fri, 18 Jun 2010 17:15:06 +0200

On Fri, Jun 18, 2010 at 15:29, Stefan Monnier <address@hidden> wrote:

> This has two problems, depending on the precise solution used:
> - if we don't flush the "overflowing input", then this input
>  accumulates, and you end up waiting for your scroll to keep scrolling
>  long after you've stopped pressing the key.

I think that can already happen (though briefly) when
`redisplay-dont-pause' is non-nil.

> - if we do flush the overflowing input, then the user ends up having to
>  be careful not to type too fast, lest Emacs will ignore some of the
>  keys she presses (could be some keys in the middle of a key-sequence).

That would seem unwise.

> 1 - improve the scrolling behavior such that it doesn't recenter when
>    the user specified that it wants line-by-line scrolling.  I hope
>    this thread will find a solution to this problem.
> 2 - speed up redisplay such that the problem occurs less often.
>    That would be of benefit in many more cases.
> 3 - Often redisplay is just fast enough except on a few occasions, and
>    some of those occasions are calls to the GC, so making the GC
>    faster or asynchronous would help (i.e. optimize up GC code, make it
>    generational, or concurrent, younameit, but also try and reduce
>    memory allocation to run the GC less often).

All fine things to have, for sure.

    Juanma



reply via email to

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