From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44503: 27.1; image-scroll-up and image-scroll-down Date: Sat, 07 Nov 2020 17:26:02 +0200 Message-ID: <835z6h6ved.fsf@gnu.org> References: <47686.12087.468202.24486@gargle.gargle.HOWL> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11460"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44503@debbugs.gnu.org To: "Roland Winkler" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 07 16:27:38 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbQ7u-0002sr-An for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 16:27:38 +0100 Original-Received: from localhost ([::1]:56280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbQ7s-0005tb-SC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 10:27:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbQ7M-0005tQ-GV for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 10:27:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47539) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbQ7J-0007Tk-VB for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 10:27:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbQ7J-0000RJ-P2 for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 10:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Nov 2020 15:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44503 X-GNU-PR-Package: emacs Original-Received: via spool by 44503-submit@debbugs.gnu.org id=B44503.16047627701614 (code B ref 44503); Sat, 07 Nov 2020 15:27:01 +0000 Original-Received: (at 44503) by debbugs.gnu.org; 7 Nov 2020 15:26:10 +0000 Original-Received: from localhost ([127.0.0.1]:59084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbQ6U-0000Py-3y for submit@debbugs.gnu.org; Sat, 07 Nov 2020 10:26:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbQ6S-0000Pm-0w for 44503@debbugs.gnu.org; Sat, 07 Nov 2020 10:26:08 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59939) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbQ6M-00076l-Pz for 44503@debbugs.gnu.org; Sat, 07 Nov 2020 10:26:02 -0500 Original-Received: from [176.228.60.248] (port=3930 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kbQ6L-0002Su-7e; Sat, 07 Nov 2020 10:26:01 -0500 In-Reply-To: <47686.12087.468202.24486@gargle.gargle.HOWL> (winkler@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192840 Archived-At: > Date: Sat, 7 Nov 2020 09:16:22 -0600 > From: "Roland Winkler" > > > My understanding of the doc strings of image-scroll-up and > image-scroll-down is that the argument N should be a number, nil, or > `-'." However, these commands use (interactive "P") with > prefix-numeric-value inside the body of these commands. I suggest > to document this behavior. (I guess it is not very clean to use > prefix-numeric-value inside the body of these commands. But > changing this behavior likely will break existing code that uses > these commands.) > > I realized this when I looked at doc-view's scrolling commands > doc-view-scroll-up-or-next-page and > doc-view-scroll-down-or-previous-page > that likewise use (interactive "P"), contrary, to what the > docstrings of these commands say, and I was surprised that this > gives a meaningful behavior. So these docstrings probably should be > updated, too. Thanks. Can you suggest the changes to the relevant doc strings?