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: Wed, 09 Jun 2021 14:51:15 +0300 Message-ID: <835yyndznw.fsf@gnu.org> References: <47686.12087.468202.24486@gargle.gargle.HOWL> <835z6h6ved.fsf@gnu.org> <41096.42019.863060.24489@gargle.gargle.HOWL> <87mts3s2ho.fsf@gnus.org> <36339.58287.924793.24767@gargle.gargle.HOWL> <8735trmkdl.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1298"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44503@debbugs.gnu.org, winkler@gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 09 13:52: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 1lqwkl-000Ace-Rb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Jun 2021 13:52:11 +0200 Original-Received: from localhost ([::1]:53060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqwki-0000TD-8a for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Jun 2021 07:52:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqwkc-0000Sd-7b for bug-gnu-emacs@gnu.org; Wed, 09 Jun 2021 07:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqwkc-0008Tw-0N for bug-gnu-emacs@gnu.org; Wed, 09 Jun 2021 07:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqwkb-0000At-UV for bug-gnu-emacs@gnu.org; Wed, 09 Jun 2021 07:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Jun 2021 11:52: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.1623239499638 (code B ref 44503); Wed, 09 Jun 2021 11:52:01 +0000 Original-Received: (at 44503) by debbugs.gnu.org; 9 Jun 2021 11:51:39 +0000 Original-Received: from localhost ([127.0.0.1]:60670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqwkF-0000AE-4d for submit@debbugs.gnu.org; Wed, 09 Jun 2021 07:51:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqwkD-00009x-6D for 44503@debbugs.gnu.org; Wed, 09 Jun 2021 07:51:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40078) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqwk7-0008CT-R0; Wed, 09 Jun 2021 07:51:31 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1434 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqwk7-0004Wf-Dl; Wed, 09 Jun 2021 07:51:31 -0400 In-Reply-To: <8735trmkdl.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 09 Jun 2021 11:56:38 +0200) 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:208286 Archived-At: > From: Lars Ingebrigtsen > Cc: 44503@debbugs.gnu.org, Eli Zaretskii > Date: Wed, 09 Jun 2021 11:56:38 +0200 > > "Roland Winkler" writes: > > > 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? > > Well, the doc strings for these commands don't really describe > interactive usage at all, but I think most people would interpret what's > there as "it's like (interactive "p"), but with no prefix at all it > behaves differently". (Which is what it does -- a full screen instead > of a line.) What about the value of '-' ? > Stating this explicitly in the doc strings of these four commands would > be nice. So something like: > > Interactively, giving this command a numerical prefix will scroll by > that many lines. Without a prefix, scroll by a full screen. Btw, the doc strings also use both N and ARG, but should only use N.