From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: The unwarranted scrolling assumption Date: Sat, 19 Jun 2010 16:11:16 +0200 Message-ID: References: <87631jvpzg.fsf@gmail.com> <4C18211C.3070106@harpegolden.net> <87vd9j5neu.fsf@kfs-lx.rd.rdm> <83sk4misf2.fsf@gnu.org> <83iq5hiiin.fsf@gnu.org> <83fx0lihov.fsf@gnu.org> <838w6cixma.fsf@gnu.org> <83y6ech1oo.fsf@gnu.org> <83ocf8gx7e.fsf@gnu.org> <83fx0jgxk7.fsf@gnu.org> <83eig3gspa.fsf@gnu.org> <83bpb7gp2g.fsf@gnu.org> <837hlvglvh.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 1276956709 9878 80.91.229.12 (19 Jun 2010 14:11:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Jun 2010 14:11:49 +0000 (UTC) Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 19 16:11:47 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 1OPylu-0005OW-2v for ged-emacs-devel@m.gmane.org; Sat, 19 Jun 2010 16:11:46 +0200 Original-Received: from localhost ([127.0.0.1]:40004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPylt-000789-B0 for ged-emacs-devel@m.gmane.org; Sat, 19 Jun 2010 10:11:45 -0400 Original-Received: from [140.186.70.92] (port=49691 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPylo-00076u-6f for emacs-devel@gnu.org; Sat, 19 Jun 2010 10:11:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPyll-0001QV-Vg for emacs-devel@gnu.org; Sat, 19 Jun 2010 10:11:40 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:65461) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPyll-0001QN-SW; Sat, 19 Jun 2010 10:11:37 -0400 Original-Received: by gxk3 with SMTP id 3so1287667gxk.0 for ; Sat, 19 Jun 2010 07:11:37 -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=Urx4XfTZn5swU0ezvRQXZ5fn4aWOiCWrO/8/Ke9sNOI=; b=P9nV0DP2ER6B7WHfnk0H+TaVvciyaWcTrp1mowQorek3LSDhB7FUKZl35oRVYvb+dq BKzBMXNhiHbqPPa/7qzEtxfl0Ji2t/d6pAAGiB7Bmlxlt4H9rmm9mRRnUiW+F+xVDVdz RM+AAOg0710I1oUR4wJlJxJoD45ywDRF+ksPY= 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=b6qbVfhYEC+7c2MCjeLRvmuqkJVugwm6u70/1NjaZh4hLv/2Edpy0OK0jMMAs6Mw02 sTtQvHVS33ESeOkfy8TC3MFCR15kn46EnPRO++Jr9clUOo2NMQG1GMEnMWLBCPtQe4uO Ydl3QkHM6Hf/M3nwWYabVTuGgCUjPBveVWRrQ= Original-Received: by 10.101.6.33 with SMTP id j33mr2037195ani.126.1276956697145; Sat, 19 Jun 2010 07:11:37 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Sat, 19 Jun 2010 07:11:16 -0700 (PDT) In-Reply-To: <837hlvglvh.fsf@gnu.org> 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:126215 Archived-At: On Sat, Jun 19, 2010 at 4:03 PM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Sat, 19 Jun 2010 15:00:37 +0200 >> Cc: monnier@iro.umontreal.ca, cyd@stupidchicken.com, emacs-devel@gnu.org >> >> On Sat, Jun 19, 2010 at 2:54 PM, Eli Zaretskii wrote: >> > >> > Update: with revno 100620, I can no longer get Emacs to recenter by >> > pressing and holding the arrow key, unless bidi-display-reorder= ing >> > is non-nil. =C2=A0The latter is probably due to some bug in cursor pos= itioning >> > in set_cursor_from_row and display_line, under bidirectional display; = I >> > will look into that next. >> > >> > So please try the latest trunk and see if Emacs still recenters someti= mes. >> >> Can you please instead show your patch here? > > Here: > > =3D=3D=3D modified file 'src/ChangeLog' > --- src/ChangeLog =C2=A0 =C2=A0 =C2=A0 2010-06-16 20:08:41 +0000 > +++ src/ChangeLog =C2=A0 =C2=A0 =C2=A0 2010-06-19 09:39:37 +0000 > @@ -1,3 +1,13 @@ > +2010-06-19 =C2=A0Eli Zaretskii =C2=A0 > + > + =C2=A0 =C2=A0 =C2=A0 * xdisp.c (try_scrolling): Compute the limit for s= earching point > + =C2=A0 =C2=A0 =C2=A0 in forward scroll from scroll_max, instead of an a= rbitrary limit > + =C2=A0 =C2=A0 =C2=A0 of 10 screen lines. =C2=A0See Thanks. I have no objections or comments to this part. I guess this is good, but it is not about the problem with the handling of clip_changed and I have not looked into it. If needed I can do that later.