From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: recenter-top-bottom Date: Sat, 1 Dec 2007 20:53:49 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1196571284 19194 80.91.229.12 (2 Dec 2007 04:54:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2007 04:54:44 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 02 05:54:53 2007 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 1Iygqx-00021s-KR for ged-emacs-devel@m.gmane.org; Sun, 02 Dec 2007 05:54:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iygqh-0006Qx-Jc for ged-emacs-devel@m.gmane.org; Sat, 01 Dec 2007 23:54:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iygqd-0006QO-Iz for emacs-devel@gnu.org; Sat, 01 Dec 2007 23:54:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iygqc-0006Oa-0e for emacs-devel@gnu.org; Sat, 01 Dec 2007 23:54:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iygqb-0006O9-A9 for emacs-devel@gnu.org; Sat, 01 Dec 2007 23:54:29 -0500 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iygqa-0008IY-SN for emacs-devel@gnu.org; Sat, 01 Dec 2007 23:54:29 -0500 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id lB24sQJB032455 for ; Sat, 1 Dec 2007 22:54:26 -0600 Original-Received: from rcsmt251.oracle.com (rcsmt251.oracle.com [148.87.90.196]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id lB23NgZR016769 for ; Sat, 1 Dec 2007 21:54:25 -0700 Original-Received: from dhcp-amer-csvpn-gw2-141-144-73-55.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3399609171196571229; Sat, 01 Dec 2007 20:53:49 -0800 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Importance: Normal In-Reply-To: X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:84472 Archived-At: > the doc string of scroll-step says this: >=20 > "If you want scrolling to always be a line at a time, you should = set > `scroll-conservatively' to a large value rather than set this to = 1." Where "this" refers to `scroll-step', not `scroll-conservatively', = presumably. That could be made clearer, BTW. And "a large value" could = be made clearer also: example? What's large? > When scroll-conservatively is changed, it's usually for this reason, I > think. (See Richard's explanation.) 1. Then change the `recenter-top-bottom' code to use a new user option, = or some other existing option that is more appropriate than = `scroll-conservatively'. 2. FWIW, the manual, the `scroll-step' doc string, and Richard seem to = be saying different things. The manual (Emacs, node Auto Scrolling) says = that you can use "a small number" for `scroll-conservatively' to scroll = "the text just far enough to bring point back on screen". The doc string = of `scroll-step' says that you can use "a large value" for = `scroll-conservatively' to scroll "a line at a time". Those can both be = true, but they would seem to be different uses of the option.=20 Richard says that he sets `scroll-conservatively' to a large value to = "bring point onto the screen by scrolling, with even one line of = overlap". That doesn't seem to be the same thing as scrolling "a line at = a time". I'm not saying that anyone is wrong or that the doc should be changed (I = don't know). And I'm no longer claiming that `scroll-conservatively' is = appropriate for `recenter-top-bottom' (use some other option, if you = like). I'm saying only that the uses or interpretations of = `scroll-conservatively' seem various.