From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Proposed additional scrolling functions Date: Fri, 06 Jun 2008 15:25:27 -0400 Message-ID: <87ej7al61k.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212780618 17415 80.91.229.12 (6 Jun 2008 19:30:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2008 19:30:18 +0000 (UTC) Cc: emacs- devel To: Adrian Robert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 06 21:31:00 2008 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 1K4heM-0006ll-L9 for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2008 21:30:58 +0200 Original-Received: from localhost ([127.0.0.1]:41286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4hdZ-0004eO-T0 for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2008 15:30:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4hdH-0004WU-Ki for emacs-devel@gnu.org; Fri, 06 Jun 2008 15:29:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4hdG-0004Vx-6b for emacs-devel@gnu.org; Fri, 06 Jun 2008 15:29:51 -0400 Original-Received: from [199.232.76.173] (port=42720 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4hdG-0004Vs-0j for emacs-devel@gnu.org; Fri, 06 Jun 2008 15:29:50 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:54690) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K4hdF-0005x9-OU for emacs-devel@gnu.org; Fri, 06 Jun 2008 15:29:49 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id B2EA64E3B1; Fri, 6 Jun 2008 15:25:27 -0400 (EDT) In-Reply-To: (Adrian Robert's message of "Fri, 6 Jun 2008 09:55:21 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: 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:98536 Archived-At: Adrian Robert writes: > Hi, > > I have the following in the NS port lisp code: > > ;; alt-up/down scrolling a la Stuart.app > (defun up-one () (interactive) (scroll-up 1)) > (defun down-one () (interactive) (scroll-down 1)) > (global-set-key [M-up] 'down-one) > (global-set-key [M-down] 'up-one) > > I've used these all the time for years -- nice way to see a few lines > more of a buffer w/o moving point or touching mouse. M-up and M-down > are unbound previously, except inside org-mode, when it would be fine > to override. What about incorporating these into emacs trunk, in (?) > simple.el and bindings.el? I'd prefer to leave this out of default Emacs. If a user care enough, it's easy enough to set up.