From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Scroll lock Date: Mon, 4 Jul 2005 15:25:02 +0200 Message-ID: References: Reply-To: Juanma Barranquero NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1120483755 734 80.91.229.2 (4 Jul 2005 13:29:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2005 13:29:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 04 15:29:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DpQzs-0002A2-MX for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2005 15:28:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpR15-0000bc-BO for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2005 09:29:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DpR0n-0000Z8-VH for emacs-devel@gnu.org; Mon, 04 Jul 2005 09:29:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DpR0i-0000WU-V7 for emacs-devel@gnu.org; Mon, 04 Jul 2005 09:29:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpR0h-0000Uo-Qr for emacs-devel@gnu.org; Mon, 04 Jul 2005 09:29:19 -0400 Original-Received: from [64.233.182.204] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpR2M-0005RP-Tw for emacs-devel@gnu.org; Mon, 04 Jul 2005 09:31:03 -0400 Original-Received: by nproxy.gmail.com with SMTP id i2so162792nfe for ; Mon, 04 Jul 2005 06:25:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=W+EMDUC9J1CTdBsCMIkeBwS0LSi2cvrVlijbUG43LyzX4eH3goqZ/J/Lyw1DgODA+K9noN8xkzeYyRmeIcYwu0BkheRTtapURojR1Xb3aox37nHia0oe7hrKoyZy8RncSvGEiqGMjBE01liOgBnyUivA/W8jwLbWyeAkBYDod6U= Original-Received: by 10.48.240.7 with SMTP id n7mr111168nfh; Mon, 04 Jul 2005 06:25:02 -0700 (PDT) Original-Received: by 10.48.250.5 with HTTP; Mon, 4 Jul 2005 06:25:02 -0700 (PDT) Original-To: Ralf Angeli In-Reply-To: Content-Disposition: inline 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:40331 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40331 On 7/4/05, Ralf Angeli wrote: > Attached you can find the current version of scroll-lock.el which will > keep point horizontally fixed (as far as possible) for line- and > paragraph-based scrolling. This could be extended to page-based > scrolling (`C-v', `M-v') and be made configurable if necessary. I've tested it with `scroll-preserve-screen-position' set to t and I find the cursor movement weird (to my tastes, not as a general comment :) With `scroll-preserve-screen-position' set to 'always I like it more, but the fact is: you've designed a very nice scrolling package. What I'm talking about is not scrolling. I want to move the cursor normally on forward- and backward-char, but I want it to remember where it is so scroll-up/down (and perhaps forward/backward-paragraph) can return to it exactly. There's quite overlap between what you've done and what I'd like to have. Perhaps it's only a question of adding commands for scroll-up/down and making it configurable, as you propose, so I can have those without having to activate scroll-lock mode (which I would do, *when* I want a full scroll-lock mode, to read etc/NEWS for example). --=20 /L/e/k/t/u