GNU bug report logs -
#44503
27.1; image-scroll-up and image-scroll-down
Previous Next
Reported by: "Roland Winkler" <winkler <at> gnu.org>
Date: Sat, 7 Nov 2020 15:17:02 UTC
Severity: normal
Found in version 27.1
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Sat, 7 Nov 2020 09:16:22 -0600
> From: "Roland Winkler" <winkler <at> gnu.org>
>
>
> 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?
This bug report was last modified 3 years and 19 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.