[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20663: page.el (forward-page): Avoid skipping pages
From: |
Marcin Borkowski |
Subject: |
bug#20663: page.el (forward-page): Avoid skipping pages |
Date: |
Sat, 09 Apr 2016 12:13:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
On 2015-05-26, at 19:14, Pierre Neidhardt <ambrevar@gmail.com> wrote:
> 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.
Hi Emacs devs,
could someone take a look at the proposed patch? It is not installed as
of GNU Emacs 25.1.50.8 (commit 1e8cd05), and I don't feel competent
enough to be sure it does not have any adverse side effects.
Best,
--
Marcin
- bug#20663: page.el (forward-page): Avoid skipping pages,
Marcin Borkowski <=
- bug#20663: page.el (forward-page): Avoid skipping pages, Eli Zaretskii, 2016/04/09
- bug#20663: page.el (forward-page): Avoid skipping pages, Marcin Borkowski, 2016/04/09
- bug#20663: page.el (forward-page): Avoid skipping pages, Eli Zaretskii, 2016/04/09
- bug#20663: page.el (forward-page): Avoid skipping pages, Pierre Neidhardt, 2016/04/09
- bug#20663: page.el (forward-page): Avoid skipping pages, Marcin Borkowski, 2016/04/11
- bug#20663: page.el (forward-page): Avoid skipping pages, Eli Zaretskii, 2016/04/11
- bug#20663: page.el (forward-page): Avoid skipping pages, Marcin Borkowski, 2016/04/13
- bug#20663: page.el (forward-page): Avoid skipping pages, John Mastro, 2016/04/13
- bug#20663: page.el (forward-page): Avoid skipping pages, Marcin Borkowski, 2016/04/13
- bug#20663: page.el (forward-page): Avoid skipping pages, Marcin Borkowski, 2016/04/16