unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: redisplay-dont-pause
Date: Thu, 15 Sep 2011 18:02:52 -0400	[thread overview]
Message-ID: <E1R4K1E-0008MN-T9@fencepost.gnu.org> (raw)
In-Reply-To: <E1R442f-0008Dx-9R@fencepost.gnu.org> (message from Eli Zaretskii on Thu, 15 Sep 2011 00:59:17 -0400)

    When the value is nil, Emacs checks at several places during redisplay
    whether some input is available, and if so, it aborts the redisplay
    cycle to handle the incoming input.  That has the effect of forcing a
    full redisplay on the next opportunity, for those frames that were not
    completely redisplayed.  Here, "full" means that all display
    optimizations are wholesale disabled for all windows on the frame.

That is strange.  I wonder why it does that?

In the old days, Emacs would update the display records for each line
that it output, so that the subsequent redisplay would know where it
was starting from.

Maybe this has to do with the variable height of lines, and overlap of lines.

    the display gets stuck because Emacs cannot keep up with the input and
    completely stops displaying.

Over any substantial period, if the commands come so fast that excuting
them leaves no time for redisplay, Emacs should not redisplay at all.
You might describe that by saying "the display gets stuck", but this
is what should happen.

     . it effectively slows down the keyboard auto-repeat rate (because
       events need to wait for the end of redisplay before they are
       processed), but only by a small factor, so the user experience is
       that Emacs does succeed to keep up.

I am lost here.  The keyboard determines its auto-repeat rate.
Emacs can't slow it down.  All it can do is skip redisplays so
as to cope with the commands at the rate they are generated.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use free telephony http://directory.fsf.org/category/tel/



  reply	other threads:[~2011-09-15 22:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14 15:36 redisplay-dont-pause Eli Zaretskii
2011-09-14 15:38 ` redisplay-dont-pause Juanma Barranquero
2011-09-14 16:12 ` redisplay-dont-pause Leo
2011-09-14 17:09   ` redisplay-dont-pause Eli Zaretskii
2011-09-15  4:12     ` redisplay-dont-pause Richard Stallman
2011-09-15  5:24       ` redisplay-dont-pause Eli Zaretskii
2011-09-15  2:10 ` redisplay-dont-pause Christoph Scholtes
2011-09-15  3:03   ` redisplay-dont-pause Eli Zaretskii
2011-09-15  4:12 ` redisplay-dont-pause Richard Stallman
2011-09-15  4:59   ` redisplay-dont-pause Eli Zaretskii
2011-09-15 22:02     ` Richard Stallman [this message]
2011-09-16  7:23       ` redisplay-dont-pause Eli Zaretskii
2011-09-16 17:29         ` redisplay-dont-pause Richard Stallman
2011-09-16 17:45           ` redisplay-dont-pause Eli Zaretskii
2011-09-17  0:36             ` redisplay-dont-pause Richard Stallman
2011-09-17  8:13               ` redisplay-dont-pause Eli Zaretskii
2011-09-17 19:43                 ` redisplay-dont-pause Chong Yidong
2011-09-24 14:39                   ` redisplay-dont-pause Eli Zaretskii
2011-09-17 21:30                 ` redisplay-dont-pause Stefan Monnier
2011-09-18 11:07                   ` redisplay-dont-pause Juanma Barranquero

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=E1R4K1E-0008MN-T9@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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).