From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: bug#44503: 27.1; image-scroll-up and image-scroll-down Date: Tue, 8 Jun 2021 10:34:11 -0500 Message-ID: <36339.58287.924793.24767@gargle.gargle.HOWL> References: <47686.12087.468202.24486@gargle.gargle.HOWL> <835z6h6ved.fsf@gnu.org> <41096.42019.863060.24489@gargle.gargle.HOWL> <87mts3s2ho.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35601"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44503@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 08 17:35:12 2021 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 1lqdkz-00094i-U7 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 17:35:09 +0200 Original-Received: from localhost ([::1]:34926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqdky-0000QN-Th for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 11:35:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqdks-0000QF-N2 for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 11:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqdks-0008Uu-EE for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 11:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqdks-0002QV-7x for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 11:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Roland Winkler" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Jun 2021 15:35:02 +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.16231664619269 (code B ref 44503); Tue, 08 Jun 2021 15:35:02 +0000 Original-Received: (at 44503) by debbugs.gnu.org; 8 Jun 2021 15:34:21 +0000 Original-Received: from localhost ([127.0.0.1]:59547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqdkC-0002PR-UR for submit@debbugs.gnu.org; Tue, 08 Jun 2021 11:34:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqdkB-0002PB-2M for 44503@debbugs.gnu.org; Tue, 08 Jun 2021 11:34:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37010) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqdk5-00086p-K8; Tue, 08 Jun 2021 11:34:13 -0400 Original-Received: from [2600:1700:5650:f790::12] (port=36466 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqdk4-0001zn-HF; Tue, 08 Jun 2021 11:34:13 -0400 In-Reply-To: <87mts3s2ho.fsf@gnus.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:208247 Archived-At: On Sun Jun 6 2021 Lars Ingebrigtsen wrote: > "Roland Winkler" writes: > > > On Sat Nov 7 2020 Eli Zaretskii wrote: > >> Thanks. Can you suggest the changes to the relevant doc strings? > > > > Digging in the sources, I realized that using raw prefix args > > includes not only image-scroll-up and image-scroll-down but also the > > built-in functions scroll-up and scroll-down. I'll try to come up > > with a patch that covers all relevant doc strings. > > Did you make any further progress here? I am sorry, I haven't had as much progress as I had wanted to. I realized that the discrepancy between documented behavior and actual code exists in a larger number of commands than I had expected. So the question becomes: for how many commands do we want to include a remark in the docstring saying that due to historical reasons they call prefix-numeric-value not in their interactive specs, but scroll_command calls prefix_numeric_value in its body, which defines how these commands interpret the argument. (The actual wording in the docstrings should probably be different.) I guess for the built-in functions scroll-up and scroll-down as well as image-scroll-up and image-scroll-down it is most important to mention this and we could leave the docstrings of other commands untouched. What do you think?