all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: zhang cc <ccsmile2008@outlook.com>
Cc: emacs-devel@gnu.org
Subject: Re: 26.0.90: scroll-margin problem
Date: Fri, 29 Dec 2017 23:53:43 +0200	[thread overview]
Message-ID: <83efndfbfc.fsf@gnu.org> (raw)
In-Reply-To: <SG2PR0601MB14055171A9E3DD772DFCDF0BA8050@SG2PR0601MB1405.apcprd06.prod.outlook.com> (message from zhang cc on Fri, 29 Dec 2017 06:55:57 +0000)

> From: zhang cc <ccsmile2008@outlook.com>
> 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.



      parent reply	other threads:[~2017-12-29 21:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83efndfbfc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=ccsmile2008@outlook.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.