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 17:08:18 +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> <83aaqsiyb6.fsf@gnu.org> <83zkysh2hb.fsf@gnu.org> <83vd9gh0s6.fsf@gnu.org> <83typ0gzgh.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 1276874065 26509 80.91.229.12 (18 Jun 2010 15:14:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Jun 2010 15:14:25 +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 17:14:24 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 1OPdGx-0003Ow-QT for ged-emacs-devel@m.gmane.org; Fri, 18 Jun 2010 17:14:24 +0200 Original-Received: from localhost ([127.0.0.1]:59924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPdGw-0007lg-Ia for ged-emacs-devel@m.gmane.org; Fri, 18 Jun 2010 11:14:22 -0400 Original-Received: from [140.186.70.92] (port=54403 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPdBV-0003UR-8e for emacs-devel@gnu.org; Fri, 18 Jun 2010 11:08:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPdBQ-00084O-H9 for emacs-devel@gnu.org; Fri, 18 Jun 2010 11:08:45 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:61238) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPdBQ-00084I-CQ; Fri, 18 Jun 2010 11:08:40 -0400 Original-Received: by gwj23 with SMTP id 23so877040gwj.0 for ; Fri, 18 Jun 2010 08:08:39 -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=WsrLDkF2zCWTXmMqAUVqqyicsfQaItOx9B34Ekgv1Ds=; b=NVm0/Yh881oD8Ilvi9K2jAA5wL8Dsi6jMI5gBWeib/ZfFH1D6TLMVybyYWYlFf92k0 hGHgQBKIMpCsZTunMShRGih1ZjPEZEJ1CRBYTP+BshWq3ZvVSd8vjsvXc2GHjTM0VSE3 jNfqOZnyyubTuSFiTupV8nk9vqz0FDm79xHAo= 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=XiN5DnoRAqfLlYWZZA2myQenl1XvJshDVVLHF7gjTlMNBeBdG2B0QaAid9tMmFaDcb F06GG+scIP2+dXL5U1Fygj7xgCp9Ln4hfih79YMWwySO9jUep8eQss0eA1Xqd1bUAStO d47wnJ/ZLKXF6M2WPQQm5tk6eq0A92nF+Q3xo= Original-Received: by 10.101.201.37 with SMTP id d37mr977403anq.56.1276873718228; Fri, 18 Jun 2010 08:08:38 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Fri, 18 Jun 2010 08:08:18 -0700 (PDT) In-Reply-To: <83typ0gzgh.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:126169 Archived-At: On Fri, Jun 18, 2010 at 4:58 PM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Fri, 18 Jun 2010 16:37:55 +0200 >> Cc: emacs-devel@gnu.org >> >> >> As I have said several times I think the problem is that clip_changed >> >> is set by narrow_to_region etc. Please look into this first. >> > >> > I already did, and I think that code is correct. =C2=A0Obviously, >> > clip_changed needs to be set whenever the narrowing changes. >> >> >> Ah, finally. Good. >> >> And why do you think that? > > Because that's how it is documented. That is a surprising answer to me. Do you want to explain what you really m= ean? I feel quite frustrated and wonder why my message does not reach you. You are looking for the reason why reconsider_clip_changes does not do its job. I have said (though maybe not explicitly enough, I don't know) that it can't because it does not have the information it needs. It does not have that information because narrow_to_region has erased it by setting clip_changed to 1. (And yes, the lines where I check if clip_changed need to be set to 1 should of course go into reconsider_clip_changes.)