GNU bug report logs - #10902
24.0.93; Point displayed after end of buffer with scroll-margin

Previous Next

Package: emacs;

Reported by: Johan Bockgård <bojohan <at> gnu.org>

Date: Mon, 27 Feb 2012 19:22:01 UTC

Severity: normal

Found in version 24.0.93

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Johan Bockgård <bojohan <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.93; Point displayed after end of buffer with scroll-margin
Date: Mon, 27 Feb 2012 20:18:09 +0100
emacs -Q

Eval

    (progn
      (pop-to-buffer (get-buffer-create "*foo*"))
      (dotimes (n 5) (insert "x\n"))
      (goto-char (point-min))
      (setq scroll-margin 100)
      (set-window-text-height nil (+ 5 2)))

Press `M->'

  => Point is displayed one line below the end of the buffer.




This bug report was last modified 13 years and 81 days ago.

Previous Next


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