From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Is there any particular reason `scroll-other-window' is written in C and not in ELisp? Date: Tue, 29 Dec 2015 21:01:11 +0200 Message-ID: <83twn1cc5k.fsf@gnu.org> References: <87y4cd8usv.fsf@mbork.pl> <83oad9dyzj.fsf@gnu.org> <87twn188bf.fsf@mbork.pl> <83wprxcdwm.fsf@gnu.org> <87si2l858a.fsf@mbork.pl> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1451415647 953 80.91.229.3 (29 Dec 2015 19:00:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Dec 2015 19:00:47 +0000 (UTC) Cc: Emacs-devel@gnu.org To: Marcin Borkowski Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 29 20:00:43 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aDzVi-0007FH-Qr for ged-emacs-devel@m.gmane.org; Tue, 29 Dec 2015 20:00:42 +0100 Original-Received: from localhost ([::1]:49777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDzVi-0003kb-8n for ged-emacs-devel@m.gmane.org; Tue, 29 Dec 2015 14:00:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDzVP-0003hm-Gm for Emacs-devel@gnu.org; Tue, 29 Dec 2015 14:00:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDzVK-0008Vt-Ok for Emacs-devel@gnu.org; Tue, 29 Dec 2015 14:00:23 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDzVK-0008Vj-Lp; Tue, 29 Dec 2015 14:00:18 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4652 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDzVJ-0002iS-UF; Tue, 29 Dec 2015 14:00:18 -0500 In-reply-to: <87si2l858a.fsf@mbork.pl> (message from Marcin Borkowski on Tue, 29 Dec 2015 19:44:21 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:197132 Archived-At: > From: Marcin Borkowski > Cc: Emacs-devel@gnu.org > Date: Tue, 29 Dec 2015 19:44:21 +0100 > > Now that I think of it, I guess rewriting scroll-other-window in Elisp > wouldn't help a lot - I'd probably still have to advise them, or else > C-M-v should check what is bound to and in the buffer to > be scrolled. Does anyone have a better idea how to be able to scroll > a pdf in other window using C-M-v and C-M-S-v? It sounds like there has to be some entirely different command bound to C-M-v for what you want to happen. The stock scrolling commands know nothing about the significance of the "next PDF page", so they cannot possibly do that for you. They just bring more stuff from the buffer into view.