[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 26.0.90: scroll-margin problem
From: |
Eli Zaretskii |
Subject: |
Re: 26.0.90: scroll-margin problem |
Date: |
Fri, 29 Dec 2017 23:53:43 +0200 |
> From: zhang cc <address@hidden>
> Date: Fri, 29 Dec 2017 06:55:57 +0000
>
> 1. start emacs with -Q arg
> 2. eval the followng lisp code:
> (progn
> (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.
I've succeeded in reproducing this and fixed it on the emacs-26
branch.
Thanks.