From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Yevgeniy Makarov" Newsgroups: gmane.emacs.help Subject: Re: How to scroll while keeping the position of the point with respect to the text? Date: Thu, 6 Sep 2007 13:34:40 +0200 Message-ID: <68e6491b0709060434lf2d6856i7bd1870fba1ade87@mail.gmail.com> References: <1189019337.916627.259710@57g2000hsv.googlegroups.com> <2BCB51DE-BE80-4571-BF02-BD4DD1CDC927@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189078562 31082 80.91.229.12 (6 Sep 2007 11:36:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2007 11:36:02 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "=?ISO-8859-1?Q?Ekkehard_G=F6rlach?=" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 06 13:36:01 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ITFeN-00047x-IQ for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Sep 2007 13:35:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITFeM-0001Ll-ND for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Sep 2007 07:35:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITFdJ-0000K8-Iw for help-gnu-emacs@gnu.org; Thu, 06 Sep 2007 07:34:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITFdI-0000IK-38 for help-gnu-emacs@gnu.org; Thu, 06 Sep 2007 07:34:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITFdH-0000Ho-H1 for help-gnu-emacs@gnu.org; Thu, 06 Sep 2007 07:34:47 -0400 Original-Received: from rv-out-0910.google.com ([209.85.198.191]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITFdG-0000BQ-6f for help-gnu-emacs@gnu.org; Thu, 06 Sep 2007 07:34:46 -0400 Original-Received: by rv-out-0910.google.com with SMTP id c27so100604rvf for ; Thu, 06 Sep 2007 04:34:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=OGBukSPvDOtiOcp2LCrTzLELqdhU8Tb6KsM5eiPl13U=; b=BVaymsUfs9oH9NnS8rPWjOYUjfj7H5vm+JmdOmv0oem8E3D1aLVkqENLu5az36N1FRID6j5hUFB3jWfiw0IbD26DjW4pVAgTX8IrGG5WP0YGsdcTVnEY8G5FygPGtD8F25exQUwDtsGfxFsZU7ebfPtTI0i3XbpQ3qOHR9E5SRw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ukwmhsqbDA7T3tdlYvOT7JybwV5+Pf4Z2fxtksxQuY1vaw2IyaZl08sHRT6Z1D0IUNkHpTroY/ga34+nPvj3DWOZUkq270asyJwdN9mfx8n2SFVNfHpeHi0gp02T1CIR15mtppsdF+YuGsTgtPU1AExpQQUJQ7gT0ts/c+KWgFA= Original-Received: by 10.141.209.7 with SMTP id l7mr44020rvq.1189078480376; Thu, 06 Sep 2007 04:34:40 -0700 (PDT) Original-Received: by 10.140.132.4 with HTTP; Thu, 6 Sep 2007 04:34:40 -0700 (PDT) In-Reply-To: <2BCB51DE-BE80-4571-BF02-BD4DD1CDC927@Web.DE> Content-Disposition: inline X-Detected-Kernel: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47281 Archived-At: > May be there are other configurations affecting this. You are right. I had (setq scroll-preserve-screen-position 1) in my .emacs. (The reason for this is that when this variable is just t and the point is on the top line, the scroll-down command without arguments does not move the point wrt the text , but it moves the point to the bottom of the window, which I did not like.) When scroll-preserve-screen-position is t, (scroll-down 1) does not move the point wrt the text, as you said, and this is what I also wanted. Concerning scroll-in-place, I knew about it and it works well. I just thought that maybe since 1994 the same functionality has been included in Emacs. Thank you, Yevgeniy