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: Fri, 18 Jun 2010 16:18:27 +0200 Message-ID: References: <87ocfcj7r4.fsf@mail.jurta.org> <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> 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 1276871606 16583 80.91.229.12 (18 Jun 2010 14:33:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Jun 2010 14:33:26 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 18 16:33:22 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 1OPcdF-0006uV-N1 for ged-emacs-devel@m.gmane.org; Fri, 18 Jun 2010 16:33:22 +0200 Original-Received: from localhost ([127.0.0.1]:32873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPcdF-00059l-4C for ged-emacs-devel@m.gmane.org; Fri, 18 Jun 2010 10:33:21 -0400 Original-Received: from [140.186.70.92] (port=59286 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPccf-0004b0-Jh for emacs-devel@gnu.org; Fri, 18 Jun 2010 10:32:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPcPA-0008Hk-Cj for emacs-devel@gnu.org; Fri, 18 Jun 2010 10:18:49 -0400 Original-Received: from mail-yw0-f192.google.com ([209.85.211.192]:47478) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPcPA-0008HZ-8u; Fri, 18 Jun 2010 10:18:48 -0400 Original-Received: by ywh30 with SMTP id 30so976279ywh.24 for ; Fri, 18 Jun 2010 07:18:47 -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=AnulSSbhLKsYvQhX3K/bvnDBcvD0QJ6nmogyEKG+/kE=; b=g189S4vN97/B6eqDjL1kBnNsj3YyUey8ZAliadNac3alwXNsVmbA/TaHU0F5DkO1gz SY5F6pKBzOmWBRFQ5p70ah3dZGfQKPOk0H50PBUfugZcFssqePUYshmZdiZnhHJALO57 7jkIc604MeveAOOy36gy9/A0jxy3WdDnSzhaA= 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=lsek7O1rNLh8C2pek3j6PP028iHGoUezTRGtcg4r7LrcDLU1YYhzlv+kDMX0ptxibv K1Y/0urNqEd2d0V+2SpycyzEgmTyWCjQlTSuCT0NrBKa8hLnzfyXcTk7ozE+hNKIqIr7 YzVbwG8K2304V3LTseZtxO9ZYIi+HcuJI8oWM= Original-Received: by 10.101.10.7 with SMTP id n7mr863087ani.94.1276870727401; Fri, 18 Jun 2010 07:18:47 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Fri, 18 Jun 2010 07:18:27 -0700 (PDT) In-Reply-To: <83y6ech1oo.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:126165 Archived-At: On Fri, Jun 18, 2010 at 4:09 PM, Eli Zaretskii wrote: > > =C2=A0. When try_window, called by try_scrolling, fails to find a proper > =C2=A0 place for cursor, after scrolling the window. =C2=A0This means tha= t the > =C2=A0 computed amount of scroll was incorrect: it didn't bring point int= o > =C2=A0 the view. =C2=A0Not sure when this could happen. The bug in visual-line-mode in the example I gave (around line 702 in window.c) is an example where try_scrolling gives up for wrong reasons. Maybe it would be good to at least output some debug messages when try_scrolling gives up?