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 19:58:39 +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> <834ogzglaj.fsf@gnu.org> <8339wjgg8w.fsf@gnu.org> <83y6eagb7g.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 1276970385 17193 80.91.229.12 (19 Jun 2010 17:59:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Jun 2010 17:59:45 +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 19:59:42 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 1OQ2KK-0008J8-3W for ged-emacs-devel@m.gmane.org; Sat, 19 Jun 2010 19:59:40 +0200 Original-Received: from localhost ([127.0.0.1]:34564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQ2KH-00043E-E3 for ged-emacs-devel@m.gmane.org; Sat, 19 Jun 2010 13:59:29 -0400 Original-Received: from [140.186.70.92] (port=47157 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQ2K0-0003oF-OW for emacs-devel@gnu.org; Sat, 19 Jun 2010 13:59:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQ2Jo-0006SE-3Z for emacs-devel@gnu.org; Sat, 19 Jun 2010 13:59:01 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:49981) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQ2Jo-0006S8-0A; Sat, 19 Jun 2010 13:59:00 -0400 Original-Received: by gxk1 with SMTP id 1so42834gxk.0 for ; Sat, 19 Jun 2010 10:58:59 -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=FgQkQALPfo7esRz6JfeFpQ1YYXdq+r5nEaqYYdyG5jY=; b=t4n1bExj+snfOItLirx8xFolPB5zw0DdM7xxrVM3S6Q6zVNryknOyz+XWtPSxrwgZE LL59pmsgQv5eewfpSuShE76+IyJpqD5wcowQolakhw7mz94AQLAAGadNOWPqQb/kbSTd WkCuY4JxO1QE+Ai7NMYx6pQ9C6B5yMAWMm6B0= 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=qXqZDKT3bIB6GkU47dECOk6HwtCqMHGvFXgiClMIWPG6cWhXvo7KUfWSqPWbX97LJb FX5toDyRd/rDf9nsPe1RcuVKvNQFeWHmZ4Y0xm0hxrMsuwPhZ3pYYapsvnfb6dsB6mXs y1ky0/XY4E+TJia1ZUdcK+OIHALNANjMRiHg8= Original-Received: by 10.101.106.12 with SMTP id i12mr2218145anm.27.1276970339181; Sat, 19 Jun 2010 10:58:59 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Sat, 19 Jun 2010 10:58:39 -0700 (PDT) In-Reply-To: <83y6eagb7g.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:126238 Archived-At: On Sat, Jun 19, 2010 at 7:54 PM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Sat, 19 Jun 2010 19:22:43 +0200 >> Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org >> >> On Sat, Jun 19, 2010 at 6:05 PM, Eli Zaretskii wrote: >> >> From: Lennart Borgman >> >> Date: Sat, 19 Jun 2010 16:20:58 +0200 >> >> Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, emacs-devel@gnu.= org >> >> >> >> > Please try this patch after reverting yours, and see if the problem >> >> > you were trying to solve is gone. >> >> >> >> >> >> I am sure it does not. >> > >> > Could you please humor me by trying? >> >> >> I think misread this as if you tried to solve the original problem >> with this patch. Did you try to solve the original problem or another >> problem? > > The problem I tried to solve was the one you reported at the beginning > of this thread: evaluate this: > > =C2=A0 =C2=A0(setq scroll-preserve-screen-position 'always > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0scroll-conservatively =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 most-positive-fixnum > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0scroll-step =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0) > > and then visit window.c and press and hold the arrow key. =C2=A0Yo= u > said that sometimes you see display being recentered, i.e. you see the > cursor near the middle of the window, instead of it being at the last > screen line. Then I am afraid the patch is plain wrong. Could you please try my patch instead?