GNU bug report logs - #26852
25.2; C-n may not keep column

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

Date: Tue, 9 May 2017 10:57:01 UTC

Severity: normal

Found in version 25.2

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

Bug is archived. No further changes may be made.

Full log


Message #10 received at 26852-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: ynyaaa <at> gmail.com
Cc: 26852-done <at> debbugs.gnu.org
Subject: Re: bug#26852: 25.2; C-n may not keep column
Date: Wed, 10 May 2017 20:00:04 +0300
> From: ynyaaa <at> gmail.com
> Date: Tue, 09 May 2017 19:56:45 +0900
> 
> 
> Evaluate the form below and resize frame
> to hide the lower half of the window bottom line.
> (hide digits and show the upper half of "X")
> 
> Then input C-n repeatedly to move down.
> Each time the buffer is scrolled up,
> the column of the cursor position moves right.
> 
> (let ((buf (generate-new-buffer "*tmp*"))
>       (line (concat (propertize "X" 'face '(:height 5.0))
> 		    "01234567890123456789\n")))
>   (switch-to-buffer buf)
>   (dotimes (i 100)
>     (insert (format "%2d " i) line))
>   (goto-char (point-min))
>   (forward-char 4))

Thanks, I fixed this.




This bug report was last modified 8 years and 11 days ago.

Previous Next


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