From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.devel Subject: Re: scroll-preserve-screen-position doesn't work in info pages and TeX mode Date: Fri, 3 Oct 2008 19:17:13 +0000 (UTC) Message-ID: References: <87bpy5nuvy.fsf@gmail.com> <87r66zng45.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223061466 20631 80.91.229.12 (3 Oct 2008 19:17:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2008 19:17:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 03 21:18:43 2008 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.50) id 1KlqAk-00038u-D9 for ged-emacs-devel@m.gmane.org; Fri, 03 Oct 2008 21:18:42 +0200 Original-Received: from localhost ([127.0.0.1]:55372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Klq9h-0008NC-1v for ged-emacs-devel@m.gmane.org; Fri, 03 Oct 2008 15:17:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Klq9b-0008Mt-Pd for emacs-devel@gnu.org; Fri, 03 Oct 2008 15:17:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Klq9b-0008MZ-4e for emacs-devel@gnu.org; Fri, 03 Oct 2008 15:17:31 -0400 Original-Received: from [199.232.76.173] (port=51623 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Klq9a-0008MW-SA for emacs-devel@gnu.org; Fri, 03 Oct 2008 15:17:30 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:57031 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Klq9a-0008Cy-I3 for emacs-devel@gnu.org; Fri, 03 Oct 2008 15:17:30 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Klq9U-0003Y0-6F for emacs-devel@gnu.org; Fri, 03 Oct 2008 19:17:24 +0000 Original-Received: from dpc67142130046.direcpc.com ([67.142.130.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Oct 2008 19:17:24 +0000 Original-Received: from Adrian.B.Robert by dpc67142130046.direcpc.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Oct 2008 19:17:24 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 67.142.130.46 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/523 (KHTML, like Gecko, Safari/523.10) OmniWeb/v621.0.99313) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:104337 Archived-At: Hi, > Also with your modified version, such as with the original one, we leave point > in the same place after C-v and M-v, but we lose the > `next-screen-context-lines' property in TeX mode and info buffers (and maybe > also in buffers with very long lines, longer than screen width). The same > happens with scroll-in-place.el. > > I find it strange that noone apparently seems to have arose the problem and > fixed it. Could you describe a bit more clearly what the problem with next-screen-context-lines is? Is there any way to reproduce it without having a TEX file with certain contents at hand? >From a -Q emacs? I'm puzzled what the issue is because the lisp code I posted (and maybe the original pager.el) appear to explicitly take the next-screen-context-lines variable into account. thanks