GNU bug report logs - #546
scroll-margin not respected for downward scrolling when show-trailing-whitespace is t

Previous Next

Package: emacs;

Reported by: Greg Falcon <gfalcon <at> itasoftware.com>

Date: Thu, 10 Jul 2008 15:45:03 UTC

Severity: normal

Merged with 39

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 546 in the body.
You can then email your comments to 546 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#546; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Greg Falcon <gfalcon <at> itasoftware.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Greg Falcon <gfalcon <at> itasoftware.com>
To: bug-gnu-emacs <at> gnu.org
Subject: scroll-margin not respected for downward scrolling when show-trailing-whitespace
 is t
Date: Thu, 10 Jul 2008 11:35:42 -0400
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs <at> gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


When show-trailing-whitespace is on, the scroll-margin feature doesn't 
work when approaching the bottom of a window (though it does work for 
the top of a window).  Setting show-trailing-whitespace to nil makes the 
problem go away.


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/22.2/etc/DEBUG for instructions.


In GNU Emacs 22.2.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2008-07-10 on deng-gfalc
Windowing system distributor `The X.Org Foundation', version 11.0.60801000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
M-x C-g <escape> : ( s e t q SPC s c r o l l - m a
r g i n SPC 5 ) <return> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> M-x r e p <tab> o <tab> r <tab> <re
turn>

Recent messages:
("emacs")
Loading advice...done
Loading server...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
Quit [2 times]
5 (#o5, #x5)
Making completion list... [2 times]
Loading emacsbug...done
call-interactively: Text is read-only





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#546; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to bojohan+news <at> dd.chalmers.se (Johan Bockgård):
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: bojohan+news <at> dd.chalmers.se (Johan Bockgård)
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#546: scroll-margin not respected for downward scrolling when show-trailing-whitespace is t
Date: Sat, 12 Jul 2008 18:17:38 +0200
Greg Falcon <gfalcon <at> itasoftware.com> writes:

> When show-trailing-whitespace is on, the scroll-margin feature doesn't
> work when approaching the bottom of a window (though it does work for
> the top of a window). Setting show-trailing-whitespace to nil makes
> the problem go away.

(This was also reported a few months back,
http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-03/msg00019.html)

It used to not work for the top as well as for the bottom margins. That
bug was fixed three years ago,

http://lists.gnu.org/archive/html/emacs-devel/2005-06/msg01561.html

  2005-06-25  Richard M. Stallman  <rms <at> gnu.org>

          * macfns.c (Fx_show_tip): Pass new arg to try_window.

          * w32fns.c (Fx_show_tip): Pass new arg to try_window.

          * xfns.c (Fx_show_tip): Pass new arg to try_window.

          * xdisp.c (try_window): New arg CHECK_MARGINS.  Calls changed.
          (redisplay_window): Handle try_window reporting point in scroll
          margin.

          * dispextern.h (try_window): Declare new arg.


It seems it was broken again (for the bottom margin) a week later,

http://lists.gnu.org/archive/html/emacs-devel/2005-07/msg00244.html

  2005-07-03  Richard M. Stallman  <rms <at> gnu.org>

          * xdisp.c (try_window): Fix previous change in how it handles
          a partially-visible line or one only partly past the margin.

          * window.c (window_scroll_pixel_based): Take account
          of this_scroll_margin when finding point when scrolling up.

-- 
Johan Bockgård






Merged 39 546. Request was from bojohan <at> gnu.org to control <at> emacsbugs.donarmstrong.com. (Sun, 13 Jul 2008 15:10:05 GMT) Full text and rfc822 format available.

Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Greg Falcon <gfalcon <at> itasoftware.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #17 received at 546-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Greg Falcon <gfalcon <at> itasoftware.com>, Andy Grover <andy <at> groveronline.com>
Cc: 546-done <at> debbugs.gnu.org
Subject: Re: inconsistent behavior with scroll-margin and scroll-conservatively
Date: Wed, 06 Aug 2008 14:29:23 -0400
I've just checked in fixes to Emacs' display engine that should solve
the problems with scroll-margin.  These fixes are not safe enough for
Emacs 22, but they'll be present in Emacs 23 (current CVS trunk).

Thanks for the bug reports.




Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Andy Grover <andy <at> groveronline.com>:
bug acknowledged by developer. Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 04 Sep 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 351 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.