From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Diamond Newsgroups: gmane.emacs.help Subject: Re: make ctrl+v (page-down) move even when near the end of document Date: Wed, 2 Apr 2008 22:42:31 -0300 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1207198921 1357 80.91.229.12 (3 Apr 2008 05:02:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2008 05:02:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 03 07:02:33 2008 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 1JhHak-0000IR-Eq for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Apr 2008 07:02:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhHa7-0002nA-U9 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Apr 2008 01:01:47 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!nx02.iad01.newshosting.com!newshosting.com!post01.iad01!news.aliant.net!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.8.1 (Linux) Original-Lines: 19 Original-NNTP-Posting-Host: 142.167.132.225 Original-X-Complaints-To: abuse@aliant.net Original-Xref: shelby.stanford.edu gnu.emacs.help:157628 X-Mailman-Approved-At: Thu, 03 Apr 2008 00:58:32 -0400 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:53002 Archived-At: On 2008-03-28, Pavol Murin wrote: > hello fellow emacs users, > I would like to make ctrl+v like page-down (and page-up) do in other > applications when near the beginning or end of the document. This > means that when the point cannot move by a full page, it moves to the > first or last position in the document. I can program it in elisp, but > there might be a simpler solution (maybe a different function to > bind)? > Have you considered (require 'scroll-in-place) (global-set-key "\^V" 'scroll-up-in-place) (global-set-key "\M-v" 'scroll-down-in-place) Maybe not exactly what you are looking for, but possibly worth a look. Jim