From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Trackpad horizontal scrolling (was: Re: [OT-emacs] Scrolling horizontally) Date: Tue, 01 Feb 2011 20:00:02 +0100 Message-ID: <87bp2vr365.fsf_-_@member.fsf.org> References: <87aaigvwee.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=44208 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkLSS-0001By-Vl for emacs-orgmode@gnu.org; Tue, 01 Feb 2011 14:00:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkLSQ-0006sa-RQ for emacs-orgmode@gnu.org; Tue, 01 Feb 2011 14:00:07 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:50798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkLSQ-0006sQ-Ml for emacs-orgmode@gnu.org; Tue, 01 Feb 2011 14:00:06 -0500 In-Reply-To: (Marcelo de Moraes Serpa's message of "Tue, 1 Feb 2011 10:57:13 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcelo de Moraes Serpa Cc: Jeff Horn , emacs-orgmode@gnu.org Hi all, if you are all looking for making emacs scrolling horizontally by sliding with one finger in the lower part of the trackpad (or with some 2 finger special move [dunno what Mac users like]), that shouldn't be any different from any other keybinding. For example, the syntaptics trackpad on my Lenovo Thinkpad emacs mouse-6/7 events when sliding left/right in the lower trackpad corner. So I can easily use that to make emacs scroll horizontally like it's the common behavior in most web browsers: --8<---------------cut here---------------start------------->8--- (global-set-key (kbd "") (lambda () (interactive) (scroll-left 1))) (global-set-key (kbd "") (lambda () (interactive) (scroll-right 1))) --8<---------------cut here---------------end--------------->8--- Bye, Tassilo