From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Dmitri Minaev" Newsgroups: gmane.emacs.help Subject: Re: How to move the cursor to the bottom of the screen? Date: Thu, 10 Jan 2008 13:05:03 +0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199956023 14695 80.91.229.12 (10 Jan 2008 09:07:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2008 09:07:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Ye ilho" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 10 10:07:23 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 1JCtNg-0004qh-UH for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Jan 2008 10:07:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCtNG-0007dO-GY for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Jan 2008 04:06:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCtLa-0006fx-9X for help-gnu-emacs@gnu.org; Thu, 10 Jan 2008 04:05:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCtLX-0006fC-H4 for help-gnu-emacs@gnu.org; Thu, 10 Jan 2008 04:05:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCtLX-0006f0-5M for help-gnu-emacs@gnu.org; Thu, 10 Jan 2008 04:05:07 -0500 Original-Received: from rv-out-0910.google.com ([209.85.198.190]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCtLV-0006IJ-Tx for help-gnu-emacs@gnu.org; Thu, 10 Jan 2008 04:05:06 -0500 Original-Received: by rv-out-0910.google.com with SMTP id c27so814628rvf.6 for ; Thu, 10 Jan 2008 01:05:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=W5pU1HJzAjXtC4e2W7DOixGgsJ82NT47yE+J2bBFnnk=; b=adXpypCVHuMuXjdabLCF/sTt/khDlIT99rmZedlnhz+BTWYqRQWkGAhHUfi3cQp6mrPu9gLjZDeguFH4OkW9bLo/PiNdf7oVXBJLNI8cO164yhIpVrIK0ScdjUtQsCucjofUWyQMlW1Yq/82wRCCLDHAQE/0dY0Biago6TrRupM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hJ6MKEyIEMTwXJmWu8YnGO7NLIUG8rM/E3dM6G71xQ5erE3oCbWxZ6s9vo3sL/1Ola+gZDaCVXrczG0dzXrYB7UN2P9a+ZbASnMqjLsGs8s9xC2LDN0bQHA2hm/EHcNAOHJcMyL3mSLfFyGWXRd9KFbBo0hIdj6l8QqsrIrGpmI= Original-Received: by 10.141.164.10 with SMTP id r10mr1026833rvo.89.1199955903071; Thu, 10 Jan 2008 01:05:03 -0800 (PST) Original-Received: by 10.140.161.9 with HTTP; Thu, 10 Jan 2008 01:05:03 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: 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:50619 Archived-At: On Jan 9, 2008 9:58 PM, Ye ilho wrote: > Hi everyone, > > I am sorry for my ignorance but I was trying to find out how to move > the cursor to the bottom/middle/top of the screen? > In other words, when I edit something, I sometimes want to go to the > top of the screen I see with one key stroke. > Is there any key for that? Or should I create a macro for this? A slightly different way is: (defalias 'goto-page-top (read-kbd-macro "C-u 1 M-r")) (defalias 'goto-page-bot (read-kbd-macro "C-u -1 M-r")) (global-set-key [(control {)] 'goto-page-top) (global-set-key [(control })] 'goto-page-bot) -- With best regards, Dmitri Minaev Russian history blog: http://minaev.blogspot.com