From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Move line Date: Sun, 01 Jun 2008 06:14:07 +0300 Message-ID: References: <41e8769d-18d4-4a36-82ba-adb0b26a0b9e@s50g2000hsb.googlegroups.com> <4841C1B1.8060009@gmail.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1212290144 13354 80.91.229.12 (1 Jun 2008 03:15:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2008 03:15:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 01 05:16:26 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 1K2e35-0004Pd-Aj for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Jun 2008 05:15:59 +0200 Original-Received: from localhost ([127.0.0.1]:45504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2e2J-0001bV-Cp for geh-help-gnu-emacs@m.gmane.org; Sat, 31 May 2008 23:15:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2e22-0001az-Rm for help-gnu-emacs@gnu.org; Sat, 31 May 2008 23:14:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2e21-0001ad-RT for help-gnu-emacs@gnu.org; Sat, 31 May 2008 23:14:54 -0400 Original-Received: from [199.232.76.173] (port=59600 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2e21-0001aT-It for help-gnu-emacs@gnu.org; Sat, 31 May 2008 23:14:53 -0400 Original-Received: from mtaout7.012.net.il ([84.95.2.19]:55768) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K2e21-0000c6-Cy for help-gnu-emacs@gnu.org; Sat, 31 May 2008 23:14:53 -0400 Original-Received: from HOME-C4E4A596F7 ([84.228.202.9]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K1R001MVK7J3F60@i-mtaout7.012.net.il> for help-gnu-emacs@gnu.org; Sun, 01 Jun 2008 05:57:19 +0300 (IDT) In-reply-to: <4841C1B1.8060009@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) 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:54396 Archived-At: > Date: Sat, 31 May 2008 23:22:57 +0200 > From: "Lennart Borgman (gmail)" > CC: help-gnu-emacs@gnu.org > > > (global-set-key "\M-z" (function (lambda () (interactive) (scroll-down 1)))) > > (global-set-key "\C-z" (function (lambda () (interactive) (scroll-up 1)))) > > > > Of course, I'm used to different keybindings, but the point is that > > the code is much simpler and shorter. > > But it moves the point instead of the line ... Please try again, and you will see that point stays put.