GNU bug report logs -
#20663
page.el (forward-page): Avoid skipping pages
Previous Next
Reported by: Pierre Neidhardt <ambrevar <at> gmail.com>
Date: Tue, 26 May 2015 17:23:02 UTC
Severity: minor
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
Pierre Neidhardt <ambrevar <at> gmail.com> writes:
> When `page-delimiter` starts at the beginning of the line and the position is
> also at the beginning of the line, calling `forward-page` will skip one page.
>
> Running `emacs -Q example.txt`:
>
> M-<
> C-x n p
> M->
> M-1 C-x n p
>
> This should bring us from page 1 to page 2, but page 3 gets displayed instead.
>
> The attached patch fixes it by changing the code to actually match its
> surrounding comments.
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
I've now fixed this problem in a somewhat different way than originally
suggested in Emacs 29.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 42 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.