From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.emacs.devel Subject: [PATCH 6/6] xwidget: Map "previous-line" and "next-line" to scroll Date: Wed, 21 Sep 2016 13:50:18 +0200 Message-ID: <20160921115018.29576-7-rekado@elephly.net> References: <20160921115018.29576-1-rekado@elephly.net> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1474458898 9432 195.159.176.226 (21 Sep 2016 11:54:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Sep 2016 11:54:58 +0000 (UTC) Cc: Ricardo Wurmus To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 21 13:54:54 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmg71-0001ck-TL for ged-emacs-devel@m.gmane.org; Wed, 21 Sep 2016 13:54:52 +0200 Original-Received: from localhost ([::1]:41761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmg73-0004zG-7o for ged-emacs-devel@m.gmane.org; Wed, 21 Sep 2016 07:54:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmg40-0002pU-Rd for emacs-devel@gnu.org; Wed, 21 Sep 2016 07:51:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmg40-0000Xe-0N for emacs-devel@gnu.org; Wed, 21 Sep 2016 07:51:44 -0400 Original-Received: from sender163-mail.zoho.com ([74.201.84.163]:21342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmg3z-0000X2-P7 for emacs-devel@gnu.org; Wed, 21 Sep 2016 07:51:43 -0400 Original-Received: from localhost (x2f76e23.dyn.telefonica.de [2.247.110.35]) by mx.zohomail.com with SMTPS id 1474458697999337.6661375885303; Wed, 21 Sep 2016 04:51:37 -0700 (PDT) X-Mailer: git-send-email 2.10.0 In-Reply-To: <20160921115018.29576-1-rekado@elephly.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 74.201.84.163 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207654 Archived-At: * lisp/xwidget.el: Map "previous-line" and "next-line" to scrolling procedures. --- lisp/xwidget.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/xwidget.el b/lisp/xwidget.el index c266cac..a540a11 100644 --- a/lisp/xwidget.el +++ b/lisp/xwidget.el @@ -124,8 +124,8 @@ Interactively, URL defaults to the string looking like a url around point." (define-key map [remap backward-char] 'xwidget-webkit-scroll-backward) (define-key map [remap right-char] 'xwidget-webkit-scroll-forward) (define-key map [remap left-char] 'xwidget-webkit-scroll-backward) - ;; (define-key map [remap previous-line] 'image-previous-line) - ;; (define-key map [remap next-line] 'image-next-line) + (define-key map [remap previous-line] 'xwidget-webkit-scroll-down) + (define-key map [remap next-line] 'xwidget-webkit-scroll-up) ;; (define-key map [remap move-beginning-of-line] 'image-bol) ;; (define-key map [remap move-end-of-line] 'image-eol) -- 2.10.0