From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r99831: Scrolling commands which does not signal errors at top/bottom. Date: Tue, 06 Apr 2010 03:59:47 +0300 Organization: JURTA Message-ID: <877hol5qso.fsf@mail.jurta.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1270516332 31663 80.91.229.12 (6 Apr 2010 01:12:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Apr 2010 01:12:12 +0000 (UTC) Cc: Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 06 03:12:11 2010 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 1NyxKl-0008EC-KB for ged-emacs-devel@m.gmane.org; Tue, 06 Apr 2010 03:12:03 +0200 Original-Received: from localhost ([127.0.0.1]:47929 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyxKk-0006Kr-OE for ged-emacs-devel@m.gmane.org; Mon, 05 Apr 2010 21:12:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NyxKf-0006Kc-Ap for emacs-devel@gnu.org; Mon, 05 Apr 2010 21:11:57 -0400 Original-Received: from [140.186.70.92] (port=60930 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyxKc-0006KI-Ua for emacs-devel@gnu.org; Mon, 05 Apr 2010 21:11:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NyxKb-0002gH-9J for emacs-devel@gnu.org; Mon, 05 Apr 2010 21:11:54 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3]:58153 helo=mx1.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyxKb-0002g4-3h for emacs-devel@gnu.org; Mon, 05 Apr 2010 21:11:53 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.96.80.cable.starman.ee [82.131.96.80]) by mx1.starman.ee (Postfix) with ESMTP id AA2F83F40B3; Tue, 6 Apr 2010 04:11:43 +0300 (EEST) In-Reply-To: (Juanma Barranquero's message of "Tue, 6 Apr 2010 02:51:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.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:123239 Archived-At: > How do these commands interact with `scroll-preserve-screen-position'? Exactly as documented in the docstring of `scroll-preserve-screen-position': A value of t means point keeps its screen position if the scroll command moved it vertically out of the window, e.g. when scrolling ================= by full screens. and in the Info manual: Some users like the full-screen scroll commands to keep point at the same screen position. To enable this behavior, set the variable `scroll-preserve-screen-position' to a non-`nil' value. Then, whenever a command scrolls the text around point offscreen (or within ========= `scroll-margin' lines of the edge), Emacs moves point to keep it at the same vertical and horizontal position within the window. i.e. this option doesn't apply when point stays on the same screen. -- Juri Linkov http://www.jurta.org/emacs/