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 00:50:10 +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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1276815040 8263 80.91.229.12 (17 Jun 2010 22:50:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 22:50:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 18 00:50:39 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 1OPNuw-0002FE-Pt for ged-emacs-devel@m.gmane.org; Fri, 18 Jun 2010 00:50:39 +0200 Original-Received: from localhost ([127.0.0.1]:57592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPNuv-0000XE-Uv for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 18:50:37 -0400 Original-Received: from [140.186.70.92] (port=56997 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPNuq-0000UO-Bi for emacs-devel@gnu.org; Thu, 17 Jun 2010 18:50:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPNup-0005WE-DW for emacs-devel@gnu.org; Thu, 17 Jun 2010 18:50:32 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:63512) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPNup-0005WA-BG; Thu, 17 Jun 2010 18:50:31 -0400 Original-Received: by gxk3 with SMTP id 3so323600gxk.0 for ; Thu, 17 Jun 2010 15:50:30 -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; bh=fopqAubmGMZMGNSx7hudJXIRcFFtXii2p4j9AH1H4tA=; b=Y+iCi+A+qjzMbGORKtVunGAAQwhV3ym/yGmmCZSxMtBha9ble9Rs08sKqYutunyklw WM7R+yvr7eftIHPhSG6yDmxUf4i8r9kAGOM14PPrTE3BDp18ZnpH6yZoqT+mzK59Alkg bDwVwtfcnRzq2DAykZgW1S6js+RCLpe2vJYzg= 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; b=bmjm6uyzY6IdYM3ZXIecR61DsIrLzEi7uCEh+4HiBuxqJNOrm6fA/Su1sI0TEGnZL3 XFEolu3oXpcC5jRqHcdZot4Y5ZeCJsb8VFow0c3J9kqlrSZhilnPevtIUL1STKpXosA0 mk+RICIY9C6Z8zFqXqXortsGJWEZ8w2Pk7iO8= Original-Received: by 10.101.4.15 with SMTP id g15mr168215ani.149.1276815030348; Thu, 17 Jun 2010 15:50:30 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Thu, 17 Jun 2010 15:50:10 -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:126111 Archived-At: On Fri, Jun 18, 2010 at 12:16 AM, Lennart Borgman wrote: > > I guess an interesting part may be why clear_glyph_matrix failed. Do > you think there is something interesting there? Eh, sorry, my confusion. It is not clear_glyph_matrix that failed, of course. I just meant the reason we came to that line in try_scrolling. What lead to the condition w->cursor.vpos < 0 BTW, looking at the code there are a couple of places where w->cursor.vpos is set to -1. I guess the tests are just for if it is < 0. Wouldn't it be better to set different negative values so it would be easier to see where it failed? (That is normal error tracing.)