emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#10902: closed (24.0.93; Point displayed after end


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#10902: closed (24.0.93; Point displayed after end of buffer with scroll-margin)
Date: Sat, 03 Mar 2012 19:09:02 +0000

Your message dated Sat, 03 Mar 2012 21:06:13 +0200
with message-id <address@hidden>
and subject line Re: bug#10902: 24.0.93; Point displayed after end of buffer 
with scroll-margin
has caused the debbugs.gnu.org bug report #10902,
regarding 24.0.93; Point displayed after end of buffer with scroll-margin
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
10902: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10902
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.0.93; Point displayed after end of buffer with scroll-margin Date: Mon, 27 Feb 2012 20:18:09 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)
emacs -Q

Eval

    (progn
      (pop-to-buffer (get-buffer-create "*foo*"))
      (dotimes (n 5) (insert "x\n"))
      (goto-char (point-min))
      (setq scroll-margin 100)
      (set-window-text-height nil (+ 5 2)))

Press `M->'

  => Point is displayed one line below the end of the buffer.



--- End Message ---
--- Begin Message --- Subject: Re: bug#10902: 24.0.93; Point displayed after end of buffer with scroll-margin Date: Sat, 03 Mar 2012 21:06:13 +0200
> From: Johan Bockgård <address@hidden>
> Cc: address@hidden
> Date: Sat, 03 Mar 2012 18:28:41 +0100
> 
> Eli Zaretskii <address@hidden> writes:
> 
> >> > I will take a look soon.  Thanks for reporting this.
> >> >
> >> > P.S.  Is there a real-life use-case behind this?  I mean, setting a
> >> > scroll margin that is wider than the window sounds... how should I put
> >> > it... weird, no?
> >> 
> >> The precise value of scroll-margin is not important. It happens for any
> >> value > 1.
> >
> > But only if the window height is 2 lines more than the buffer line
> > count, according to my testing.
> 
> Mine too.
> 
> > Anyway, I think I fixed this (in revision 107481 on the trunk).
> > Please see if there are any leftovers after that fix.
> 
> It fixes the problem for me. Thanks.

Thanks, I'm closing the bug.



--- End Message ---

reply via email to

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