From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: scroll-(down|up) but stay on the same column Date: Wed, 11 Nov 2009 16:52:59 +0100 Message-ID: <7b501d5c0911110752l5cfe0d83x1a8bcf409b608629@mail.gmail.com> References: <7b501d5c0911110111j3ae3aae6nc3f30d20be142232@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1257954908 2074 80.91.229.12 (11 Nov 2009 15:55:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Nov 2009 15:55:08 +0000 (UTC) Cc: Emacs-Devel devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 11 16:55:01 2009 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 1N8FX9-0004eI-EH for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2009 16:54:59 +0100 Original-Received: from localhost ([127.0.0.1]:44222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8FX8-0007a9-Jn for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2009 10:54:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8FVa-0006Ng-8G for emacs-devel@gnu.org; Wed, 11 Nov 2009 10:53:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8FVZ-0006N2-8m for emacs-devel@gnu.org; Wed, 11 Nov 2009 10:53:21 -0500 Original-Received: from [199.232.76.173] (port=48298 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8FVY-0006Mr-S3 for emacs-devel@gnu.org; Wed, 11 Nov 2009 10:53:20 -0500 Original-Received: from qw-out-1920.google.com ([74.125.92.147]:60095) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8FVY-0001jZ-Cr for emacs-devel@gnu.org; Wed, 11 Nov 2009 10:53:20 -0500 Original-Received: by qw-out-1920.google.com with SMTP id 5so227039qwc.24 for ; Wed, 11 Nov 2009 07:53:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=gfFl8aCfzLaZvS9mztw8ugnmlreEvW/Tc6yaJalOsCM=; b=GmMpcSgbEb5WC9QGphdSzt3tjuk3aTcFpsxU/ka6gwUB562qqNf+z+nlri/ThLehJ/ mzyAm5PjRHbCS5hbC6I3rWJNTxyzyqqPfwA7oz6PrA1lu3hAmXbcDWrcgl62k37LbrtO HAIF0Ai6owzp1oagkfR2njf+0c+LtVIN+ZuFI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=ivqAEHt7c4zM6c053RgC+/dGMKiF8j0DIJ/LuSr9tmuS3lVzW5kqACMXv4rSQshhoY RzqBfz6J9vn5fv9h3Ru+ivZ6d9/52/FtopDr65hNXO0o/MiB6/HdeWiFk8RfqNc0p5fC 36lCVFi7XtemawTzPKSATMpk8uu7nbwVeCkcQ= Original-Received: by 10.213.23.199 with SMTP id s7mr1699153ebb.80.1257954799184; Wed, 11 Nov 2009 07:53:19 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:116832 Archived-At: 2009/11/11 Stefan Monnier : >> Lately, it has been bothering me that when I hit C-v or M-v point is >> moved to the first column of the target line. I don't have the C >> source code at hand and my C-fu is probably too weak anyways, so is >> there any built-in command which does the equivalent of >> scroll-(down|up) but tries to keep point at the same column or should >> I craft one myself? > > C-h v scroll-preserve-screen-position > > > =A0 =A0 =A0 =A0Stefan > Thanks! This leads me to the question: what is the idea behind putting point at BOL when scrolling? --=20 Deniz Dogan