all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: E Sabof <esabof@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 18923@debbugs.gnu.org
Subject: bug#18923: Alternative scrolling model
Date: Sun, 02 Nov 2014 23:10:56 +0000	[thread overview]
Message-ID: <87lhnt9p1b.fsf@gmail.com> (raw)
In-Reply-To: <jwvppd538tu.fsf-monnier+emacsbugs@gnu.org>



Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> The results should be identical to scroll-up/scroll-down, unless
>> non-standard line heights are encountered.  This means that a) the code would
>> often be "under" such complications, not needing to know about them
>
> AFAIK scroll-margin is handled directly by the scroll-up/down code (tho
> in a partly redundant way, but I believe it's because if we let the
> subsequent redisplay do the job, it doesn't work quite right in all
> cases).
>
>> It's a bit of a bug fix, but ultimately I have no objections. Perhaps it
>> would be easier to estimate the breaking potential once it's "ready".
>
> OTOH to really get a lot of exposure, the best is to just install it
> into Emacs as a replacement ;-)
>
>>> Have you measured the kind of impact it might have on performance?
>>> Obviously, we could/should reimplement some of those functions in C.
>> Right now it's slower, but tolerably so.
>
> There are already cases where Emacs scrolling is perceived as too slow.
> AFAIK in most such cases the problem is due to the font-lock speed,
> which should be unaffected by your code, but I still think actual
> measurements quantifying the slowdown will be important.
>
> BTW, have you looked at the C code of scroll-up/down at all?
> I'm not familiar with it, but it does do pixelwise scrolling to some
> extent as well (tho IIUC only for really tall lines such as those with
> images), so I'm curious to know exactly how the two compare.

I have tried different settings, but they haven't quite worked for me.
But I definitely need to become familiar with the existing
implementation.

Evgeni





  parent reply	other threads:[~2014-11-02 23:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-02  1:15 bug#18923: Alternative scrolling model E Sabof
     [not found] ` <jwv61ey5qfb.fsf-monnier+emacsbugs@gnu.org>
     [not found]   ` <87vbmy9wdx.fsf@gmail.com>
2014-11-02  2:31     ` E Sabof
2014-11-02 15:16       ` Eli Zaretskii
2014-11-02 18:25         ` E Sabof
2014-11-02 18:36           ` Eli Zaretskii
     [not found]     ` <jwvioiy416g.fsf-monnier+emacsbugs@gnu.org>
     [not found]       ` <87sii1ahy9.fsf@gmail.com>
     [not found]         ` <jwvppd538tu.fsf-monnier+emacsbugs@gnu.org>
2014-11-02 23:10           ` E Sabof [this message]
2014-11-03  2:35             ` Stefan Monnier
2014-11-03 16:03               ` Eli Zaretskii
2014-11-03 19:02                 ` E Sabof
2014-11-02 15:14 ` Eli Zaretskii
2014-11-02 15:56   ` Stefan Monnier
2014-11-02 16:06     ` Eli Zaretskii
2014-11-02 16:21   ` E Sabof
2014-11-02 16:31     ` Eli Zaretskii
2014-11-02 17:43       ` E Sabof
2014-11-02 18:22         ` Eli Zaretskii
2014-11-02 19:09           ` E Sabof
2014-11-02 19:29             ` Eli Zaretskii
2014-11-03  3:45               ` Eli Zaretskii
2019-11-04  9:14 ` Stefan Kangas
2022-04-22 12:16 ` Lars Ingebrigtsen

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=87lhnt9p1b.fsf@gmail.com \
    --to=esabof@gmail.com \
    --cc=18923@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.