[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

26.0.90: scroll-margin problem

From: zhang cc
Subject: 26.0.90: scroll-margin problem
Date: Fri, 29 Dec 2017 06:55:57 +0000

Emacs: 26.0.90
OS: debian 8.0 x86_64

1. start emacs with -Q arg
2. eval the followng lisp code:
  (set-frame-font "Monospace:size=18")
  (set-face-attribute 'mode-line nil :font "Monospace:size=18" :height 0.9)

  (setq scroll-margin 2
scroll-conservatively 0)
  (setq-default header-line-format mode-line-format))

3. open a test file with lines more than window-height
4. go to end of buffer
5. eval this line: (scroll-down 100)
6. Now the margin seems not be 2. If I press M-x, emacs scrolls.

PS: The next-line command doesn’t trigger the problem.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]