From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: scroll-(down|up) but stay on the same column Date: Wed, 11 Nov 2009 09:18:02 -0500 Message-ID: References: <7b501d5c0911110111j3ae3aae6nc3f30d20be142232@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257950650 18306 80.91.229.12 (11 Nov 2009 14:44:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Nov 2009 14:44:10 +0000 (UTC) Cc: Emacs-Devel devel To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 11 15:44:03 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 1N8EQS-0005pI-Gc for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2009 15:44:01 +0100 Original-Received: from localhost ([127.0.0.1]:33913 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8EQS-0002Ms-07 for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2009 09:44:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8E1U-0003ct-QB for emacs-devel@gnu.org; Wed, 11 Nov 2009 09:18:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8E1N-0003Zm-6u for emacs-devel@gnu.org; Wed, 11 Nov 2009 09:18:09 -0500 Original-Received: from [199.232.76.173] (port=48411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8E1M-0003Z5-0V for emacs-devel@gnu.org; Wed, 11 Nov 2009 09:18:04 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:21219 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8E1L-0001fr-IU for emacs-devel@gnu.org; Wed, 11 Nov 2009 09:18:03 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEACtW+kpMCpsp/2dsb2JhbACBT9tAhDwEiSM X-IronPort-AV: E=Sophos;i="4.44,723,1249272000"; d="scan'208";a="49096957" Original-Received: from 76-10-155-41.dsl.teksavvy.com (HELO pastel.home) ([76.10.155.41]) by ironport2-out.pppoe.ca with ESMTP; 11 Nov 2009 09:18:02 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 683EB8373; Wed, 11 Nov 2009 09:18:02 -0500 (EST) In-Reply-To: <7b501d5c0911110111j3ae3aae6nc3f30d20be142232@mail.gmail.com> (Deniz Dogan's message of "Wed, 11 Nov 2009 10:11:37 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:116831 Archived-At: > 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 Stefan