all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 26.0.90: scroll-margin problem
@ 2017-12-29  6:55 zhang cc
  2017-12-29 20:40 ` Eli Zaretskii
  2017-12-29 21:53 ` Eli Zaretskii
  0 siblings, 2 replies; 3+ messages in thread
From: zhang cc @ 2017-12-29  6:55 UTC (permalink / raw)
  To: emacs-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 587 bytes --]

Emacs: 26.0.90
OS: debian 8.0 x86_64

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.

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




[-- Attachment #2: Type: text/html, Size: 1402 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-29 21:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-29  6:55 26.0.90: scroll-margin problem zhang cc
2017-12-29 20:40 ` Eli Zaretskii
2017-12-29 21:53 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.