From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#13791: 24.3.50; scroll-margin docstring says "recenter" Date: Sat, 23 Feb 2013 23:19:32 +0400 Message-ID: <51291644.3010407@yandex.ru> References: <87y5efj2wr.fsf@yandex.ru> <83hal3l4ez.fsf@gnu.org> <5128BF53.80402@yandex.ru> <83a9qvkrta.fsf@gnu.org> <512905B8.7020704@yandex.ru> <834nh2lvex.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361647256 24171 80.91.229.3 (23 Feb 2013 19:20:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2013 19:20:56 +0000 (UTC) Cc: 13791@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 23 20:21:17 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U9Ken-0006aM-0r for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Feb 2013 20:21:13 +0100 Original-Received: from localhost ([::1]:48937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9KeS-0005Yc-7H for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Feb 2013 14:20:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9KeH-0005Px-IT for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 14:20:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9Ke9-0006qD-J2 for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 14:20:41 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Ke9-0006q7-FN for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 14:20:33 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U9Kfa-0000YI-Bx for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 14:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Feb 2013 19:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13791 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13791-submit@debbugs.gnu.org id=B13791.13616472642055 (code B ref 13791); Sat, 23 Feb 2013 19:22:02 +0000 Original-Received: (at 13791) by debbugs.gnu.org; 23 Feb 2013 19:21:04 +0000 Original-Received: from localhost ([127.0.0.1]:46066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9Ked-0000X5-QV for submit@debbugs.gnu.org; Sat, 23 Feb 2013 14:21:04 -0500 Original-Received: from mail-lb0-f179.google.com ([209.85.217.179]:33284) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9Keb-0000Wg-3R for 13791@debbugs.gnu.org; Sat, 23 Feb 2013 14:21:02 -0500 Original-Received: by mail-lb0-f179.google.com with SMTP id j14so1340908lbo.38 for <13791@debbugs.gnu.org>; Sat, 23 Feb 2013 11:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=EkCfhXWj158oyYQxz1/TwJ4BgffYUwzXfGvmqYMWrfw=; b=xHPeuylugUte2wwFtyJIEpePerLznpB8ViPEQSIKAqVU0vnaCQff7+afPmZ9cO+S1P VPyCYp56KNzov1quhPQGiRjk00QZ8tDjwwklu0T49jkZBWXy5cNI6njoJM2aD3A1aVoT xIvAzhE9+HEWijPjrm5gR6x2Ug6JBGXOR/YE4p9nXOxO/QWy4cJ4V7B3mUVNx3w0YJGa DGsEUe8yP/FLZMXWW3MwSx9JfGCccEg79+y7E7jvL9F1pfJNTiSV6FxfrGxY4bFHDNiv 1KjhAUxE9UuETt8i+qOqU1g6Wjtv+VH5pKXjDT5CPo2mRyXJlaoKpXVP/xPp/McS2Jxu W1qA== X-Received: by 10.112.104.103 with SMTP id gd7mr2499294lbb.54.1361647170670; Sat, 23 Feb 2013 11:19:30 -0800 (PST) Original-Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id oy10sm3604478lab.8.2013.02.23.11.19.28 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 23 Feb 2013 11:19:29 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 In-Reply-To: <834nh2lvex.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71724 Archived-At: On 23.02.2013 22:47, Eli Zaretskii wrote: >> Date: Sat, 23 Feb 2013 22:08:56 +0400 >> From: Dmitry Gutov >> CC: 13791@debbugs.gnu.org >> >> But I'm not sure we're talking about the same thing. > > I think we are. > >> I meant to describe what will happen to the window when point "gets >> within this many lines of the top or bottom of the window", not when >> it moves outside the visible area. > > That's how I understood it. But if you lean on the up or down key, > you can easily cause point go off the screen before Emacs enters > redisplay. Yes, but in this case point is not "within this many lines of the top or bottom of the window" anymore technically. Or maybe it is, if you interpret "top" and "bottom" as just buffer lines and "gets within" as "within absolute distance". In this case we can additionally qualify the conditions: "whenever point gets within this many lines of the top or bottom of the window without going off screen." Either way, this description is more accurate than what we have currently. Alternatively, we can mention the "off screen" situation in the second paragraph, where the values of `scroll-conservatively' are considered.