GNU bug report logs - #29374
patch for lisp/pixel-scroll

Previous Next

Package: emacs;

Reported by: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>

Date: Tue, 21 Nov 2017 04:36:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
To: eliz <at> gnu.org
Cc: tkk <at> misasa.okayama-u.ac.jp, 29374 <at> debbugs.gnu.org
Subject: bug#29374: patch for lisp/pixel-scroll
Date: Wed, 22 Nov 2017 08:08:17 +0900 (JST)
>> Date: Tue, 21 Nov 2017 13:35:07 +0900 (JST)
>> From: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
>> Cc: tkk <at> misasa.okayama-u.ac.jp
>>
>> I'm sending a patch for lisp/pixel-scroll.el.
>>
>> This patch fixes movement of cursor to stay away from the top of the
>> line and the end of the line on a screen.
>
> Thanks, but please tell more about the problem, and perhaps show a
> recipe to reproduce it.

First of all, expression of my previous message was not correct.
Let me rephrase as below.

   This patch fixes movement of cursor to stay away from the top and
   the bottom of a screen.

Before fix, sudden scope-jump happened on certain cases.  Let's
consider a case with cursor is located at the bottom and about to
scroll down (move scope up).

There is a condition where
 bob is shown on the top of screen
 and window-vscroll is non-zero.

On this condition, (scroll-up 1) would be called without
(vertical-motion -1).  As a consequence screen jumps.

After the fix, cursor will be moved by vertical-motion before calling
scroll-down or pixel-scroll-pixel-down.




This bug report was last modified 7 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.