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 23:58:09 +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> <83vd9eg9j1.fsf@gnu.org> <83r5k2g1qa.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 1276984731 24171 80.91.229.12 (19 Jun 2010 21:58:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Jun 2010 21:58:51 +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 23:58:49 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 1OQ63l-0001ms-Sx for ged-emacs-devel@m.gmane.org; Sat, 19 Jun 2010 23:58:46 +0200 Original-Received: from localhost ([127.0.0.1]:34402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQ63k-00075v-Eb for ged-emacs-devel@m.gmane.org; Sat, 19 Jun 2010 17:58:40 -0400 Original-Received: from [140.186.70.92] (port=48055 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQ63d-00073z-Bw for emacs-devel@gnu.org; Sat, 19 Jun 2010 17:58:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQ63b-0000t8-Ip for emacs-devel@gnu.org; Sat, 19 Jun 2010 17:58:32 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:35893) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQ63b-0000sy-FL; Sat, 19 Jun 2010 17:58:31 -0400 Original-Received: by gwj23 with SMTP id 23so1881383gwj.0 for ; Sat, 19 Jun 2010 14:58: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 :content-transfer-encoding; bh=cIWFg5OnGQ0SpK5UnXMlLFifPLCMFoB7+6sNg2E+s1s=; b=V4/Mk9EQOP9sQwbQCNME/JRztiS9ApQg9GLa4v45TSWWrQki5h+mWG9RjR0V7ORw+D UK89dsnr7Lq1XSzCHfj0PSw+Djpiv7y/GSG/R0Srr/2oZPzQg7BBH/hgJnWxV3RYVGvT 3g7sqMaCi1jl/KNZ66PU0My+nNLXWogc3rqbY= 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=aZdULbyV2gGK/sHd/GTTPTJuLIxIrpf2biqW+XlZ0WeleUa12YS647O6gh7TrhqlSW BwgSNuwHI/vyJHa3aCeJil/lvjhpSm2/BRHt422yqF4qRhvYkmEpTxqvXvt1k2bzTR6F 4fuJvTHzQ4sEXMIMWGqXGo5/bs6QndBjZ9BZk= Original-Received: by 10.101.146.1 with SMTP id y1mr2302636ann.160.1276984710258; Sat, 19 Jun 2010 14:58:30 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Sat, 19 Jun 2010 14:58:09 -0700 (PDT) In-Reply-To: <83r5k2g1qa.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:126259 Archived-At: On Sat, Jun 19, 2010 at 11:18 PM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Sat, 19 Jun 2010 21:10:28 +0200 >> Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org >> >> On Sat, Jun 19, 2010 at 8:30 PM, Eli Zaretskii wrote: >> >> From: Lennart Borgman >> >> Date: Sat, 19 Jun 2010 19:58:39 +0200 >> >> Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, emacs-devel@gnu.= org >> >> >> >> > The problem I tried to solve was the one you reported at the beginn= ing >> >> > 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=A0You >> >> > 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 la= st >> >> > screen line. >> >> >> >> >> >> Then I am afraid the patch is plain wrong. >> > >> > Did you try it? >> >> Why do you ask? > > Because only by trying and reporting the results you can prove that > the changes I installed do not fix the problem. For me this is not about checking if the patch works but more about convincing you that it does not. Or, I would be very surprised if it did ;-) Anyway the easiest way now seems that I take this trouble. I tried to apply your patch as sent, but I could not get it to work. Maybe you can just send me that function so I can replace that? >> It does not at all address the original problem. > > I think it does, except that you interpret the ``original problem'' > incorrectly. Yes, let us see.