From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: The unwarranted scrolling assumption Date: Fri, 18 Jun 2010 17:15:06 +0200 Message-ID: References: <87631jvpzg.fsf@gmail.com> <4C18211C.3070106@harpegolden.net> <83typ2isns.fsf@gnu.org> <83mxuuicjc.fsf@gnu.org> <83ljadikj1.fsf@gnu.org> <83k4pxijpb.fsf@gnu.org> <83hbl1ihux.fsf@gnu.org> <83631gixa4.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1276874757 29330 80.91.229.12 (18 Jun 2010 15:25:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Jun 2010 15:25:57 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org, Richard Stallman , storm@cua.dk To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 18 17:25:52 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OPdS3-0001Jf-TA for ged-emacs-devel@m.gmane.org; Fri, 18 Jun 2010 17:25:52 +0200 Original-Received: from localhost ([127.0.0.1]:49650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPdS3-0000M6-6J for ged-emacs-devel@m.gmane.org; Fri, 18 Jun 2010 11:25:51 -0400 Original-Received: from [140.186.70.92] (port=36159 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPdI1-0000LI-M1 for emacs-devel@gnu.org; Fri, 18 Jun 2010 11:15:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPdHz-0000bf-QQ for emacs-devel@gnu.org; Fri, 18 Jun 2010 11:15:29 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:63374) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPdHz-0000bS-KY; Fri, 18 Jun 2010 11:15:27 -0400 Original-Received: by fxm15 with SMTP id 15so777081fxm.0 for ; Fri, 18 Jun 2010 08:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=/6EcSO65OfKO8djbwBHImRofvjgMAyqUcdQeLwknikI=; b=P4UE1UTeAE1j2EijDqe8zyG0d3LS4kfy52FHDjRuyHtfV3kMldn4oJbjl2BClHiK5q 1ZbX8wuCNoI/I8lyDGc6WXhm65HRDCf2rHNFdF5w+w1z5pZilXGMvJS6pre/hHT08T0i obBmOUxBC44/3A2hK6+xE2Kvh9hjCashJSyYA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=rW0Pm8bQrwezsE2Colhrpdw7hjQFsgDxdXONWYphWCFk5we7qwjEFYFJpFQV+gIA9h Do0yWzZXw9F3nzC5Eq++/fy5yW357CmMtj3Oj8BlLM1Swszj3QNKmnXITQ5bnW7dPY7T vIm6Hpw6fTf7vIbydalyzQQHpEHxhwtQeHe1c= Original-Received: by 10.204.81.146 with SMTP id x18mr949812bkk.73.1276874126135; Fri, 18 Jun 2010 08:15:26 -0700 (PDT) Original-Received: by 10.204.32.5 with HTTP; Fri, 18 Jun 2010 08:15:06 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:126175 Archived-At: On Fri, Jun 18, 2010 at 15:29, Stefan Monnier wr= ote: > This has two problems, depending on the precise solution used: > - if we don't flush the "overflowing input", then this input > =C2=A0accumulates, and you end up waiting for your scroll to keep scrolli= ng > =C2=A0long 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 > =C2=A0be careful not to type too fast, lest Emacs will ignore some of the > =C2=A0keys she presses (could be some keys in the middle of a key-sequenc= e). That would seem unwise. > 1 - improve the scrolling behavior such that it doesn't recenter when > =C2=A0 =C2=A0the user specified that it wants line-by-line scrolling. =C2= =A0I hope > =C2=A0 =C2=A0this thread will find a solution to this problem. > 2 - speed up redisplay such that the problem occurs less often. > =C2=A0 =C2=A0That would be of benefit in many more cases. > 3 - Often redisplay is just fast enough except on a few occasions, and > =C2=A0 =C2=A0some of those occasions are calls to the GC, so making the G= C > =C2=A0 =C2=A0faster or asynchronous would help (i.e. optimize up GC code,= make it > =C2=A0 =C2=A0generational, or concurrent, younameit, but also try and red= uce > =C2=A0 =C2=A0memory allocation to run the GC less often). All fine things to have, for sure. Juanma