unofficial mirror of emacs-devel@gnu.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 22:40:10 +0200	[thread overview]
Message-ID: <83h8s9fetx.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 cannot reproduce this.  Can you explain in more detail what you mean
by "the margin seems not be 2"?  Maybe I didn't understand what you
saw.



  reply	other threads:[~2017-12-29 20:40 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 [this message]
2017-12-29 21:53 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83h8s9fetx.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).