unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* inconsistent behavior with scroll-margin and scroll-conservatively
@ 2008-03-04 20:03 ` Andy Grover
  2008-03-09  9:25   ` Andy Grover
  2008-08-06 18:35   ` bug#39: marked as done (inconsistent behavior with scroll-margin and scroll-conservatively) Emacs bug Tracking System
  0 siblings, 2 replies; 6+ messages in thread
From: Andy Grover @ 2008-03-04 20:03 UTC (permalink / raw)
  To: bug-gnu-emacs

I have scroll-margin set to 5 and scroll-conservatively set to 1000. The
behavior I want is while arrowing up or down, the screen scrolls by 1
line, starting 5 rows from the top or bottom. This works fine if
arrowing up while the bottom of the buffer is not on screen, but if
arrowing down, then the cursor goes all the way to the last row and
then scrolls the screen by 5 lines. It also appears to do this even
while going up if the end of the buffer is visible.

Thanks -- Andy

In GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2007-11-06 on terranova, modified by Ubuntu
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.1/leim'
'--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN
-DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''

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: Fundamental

Minor modes in effect:
  show-paren-mode: t
  desktop-save-mode: t
  cua-mode: t
  tooltip-mode: t
  tool-bar-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
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t






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

* Re: inconsistent behavior with scroll-margin and scroll-conservatively
  2008-03-04 20:03 ` inconsistent behavior with scroll-margin and scroll-conservatively Andy Grover
@ 2008-03-09  9:25   ` Andy Grover
  2008-03-09 10:28     ` Johan Bockgård
  2008-08-06 18:35   ` bug#39: marked as done (inconsistent behavior with scroll-margin and scroll-conservatively) Emacs bug Tracking System
  1 sibling, 1 reply; 6+ messages in thread
From: Andy Grover @ 2008-03-09  9:25 UTC (permalink / raw)
  To: bug-gnu-emacs

Andy Grover wrote:
> I have scroll-margin set to 5 and scroll-conservatively set to 1000. The
> behavior I want is while arrowing up or down, the screen scrolls by 1
> line, starting 5 rows from the top or bottom. This works fine if
> arrowing up while the bottom of the buffer is not on screen, but if
> arrowing down, then the cursor goes all the way to the last row and
> then scrolls the screen by 5 lines. It also appears to do this even
> while going up if the end of the buffer is visible.

'(show-trailing-whitespace t)

Having this set also seems to be needed to cause the problem.

Regards -- Andy





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

* Re: inconsistent behavior with scroll-margin and scroll-conservatively
  2008-03-09  9:25   ` Andy Grover
@ 2008-03-09 10:28     ` Johan Bockgård
  0 siblings, 0 replies; 6+ messages in thread
From: Johan Bockgård @ 2008-03-09 10:28 UTC (permalink / raw)
  To: bug-gnu-emacs

Andy Grover <andy@groveronline.com> writes:

> Andy Grover wrote:
>> I have scroll-margin set to 5 and scroll-conservatively set to 1000. The
>> behavior I want is while arrowing up or down, the screen scrolls by 1
>> line, starting 5 rows from the top or bottom. This works fine if
>> arrowing up while the bottom of the buffer is not on screen, but if
>> arrowing down, then the cursor goes all the way to the last row and
>> then scrolls the screen by 5 lines. It also appears to do this even
>> while going up if the end of the buffer is visible.
>
> '(show-trailing-whitespace t)
>
> Having this set also seems to be needed to cause the problem.

Interesting, it seems that this bug has come back:

Re: scroll-margin has no effect when show-trailing-whitespace is true
http://lists.gnu.org/archive/html/emacs-devel/2005-06/msg01561.html

-- 
Johan Bockgård





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

* bug#546: scroll-margin not respected for downward scrolling when show-trailing-whitespace is t
@ 2008-07-10 15:35 ` Greg Falcon
  2008-08-06 18:35   ` bug#546: marked as done (scroll-margin not respected for downward scrolling when show-trailing-whitespace is t) Emacs bug Tracking System
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Falcon @ 2008-07-10 15:35 UTC (permalink / raw)
  To: bug-gnu-emacs

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@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







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

* bug#546: marked as done (scroll-margin not respected for downward scrolling when show-trailing-whitespace is t)
  2008-07-10 15:35 ` bug#546: scroll-margin not respected for downward scrolling when show-trailing-whitespace is t Greg Falcon
@ 2008-08-06 18:35   ` Emacs bug Tracking System
  0 siblings, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2008-08-06 18:35 UTC (permalink / raw)
  To: Chong Yidong

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


Your message dated Wed, 06 Aug 2008 14:29:23 -0400
with message-id <87wsiuc7zw.fsf@stupidchicken.com>
and subject line Re: inconsistent behavior with scroll-margin and scroll-conservatively
has caused the Emacs bug report #546,
regarding scroll-margin not respected for downward scrolling when show-trailing-whitespace is t
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
546: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=546
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5723 bytes --]

From: Greg Falcon <gfalcon@itasoftware.com>
To: bug-gnu-emacs@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
Message-ID: <48762C4E.9020807@itasoftware.com>

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@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




[-- Attachment #3: Type: message/rfc822, Size: 1234 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Greg Falcon <gfalcon@itasoftware.com>, Andy Grover <andy@groveronline.com>
Cc: 546-done@emacsbugs.donarmstrong.com
Subject: Re: inconsistent behavior with scroll-margin and scroll-conservatively
Date: Wed, 06 Aug 2008 14:29:23 -0400
Message-ID: <87wsiuc7zw.fsf@stupidchicken.com>

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.


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

* bug#39: marked as done (inconsistent behavior with scroll-margin  and scroll-conservatively)
  2008-03-04 20:03 ` inconsistent behavior with scroll-margin and scroll-conservatively Andy Grover
  2008-03-09  9:25   ` Andy Grover
@ 2008-08-06 18:35   ` Emacs bug Tracking System
  1 sibling, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2008-08-06 18:35 UTC (permalink / raw)
  To: Chong Yidong

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


Your message dated Wed, 06 Aug 2008 14:29:23 -0400
with message-id <87wsiuc7zw.fsf@stupidchicken.com>
and subject line Re: inconsistent behavior with scroll-margin and scroll-conservatively
has caused the Emacs bug report #546,
regarding inconsistent behavior with scroll-margin and scroll-conservatively
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
546: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=546
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 6723 bytes --]

From: Andy Grover <andy@groveronline.com>
To: bug-gnu-emacs@gnu.org
Subject: inconsistent behavior with scroll-margin and scroll-conservatively
Date: Tue, 04 Mar 2008 12:03:14 -0800
Message-ID: <47CDAB02.3020609@groveronline.com>

I have scroll-margin set to 5 and scroll-conservatively set to 1000. The
behavior I want is while arrowing up or down, the screen scrolls by 1
line, starting 5 rows from the top or bottom. This works fine if
arrowing up while the bottom of the buffer is not on screen, but if
arrowing down, then the cursor goes all the way to the last row and
then scrolls the screen by 5 lines. It also appears to do this even
while going up if the end of the buffer is visible.

Thanks -- Andy

In GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2007-11-06 on terranova, modified by Ubuntu
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.1/leim'
'--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN
-DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''

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: Fundamental

Minor modes in effect:
  show-paren-mode: t
  desktop-save-mode: t
  cua-mode: t
  tooltip-mode: t
  tool-bar-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
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t






[-- Attachment #3: Type: message/rfc822, Size: 1234 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Greg Falcon <gfalcon@itasoftware.com>, Andy Grover <andy@groveronline.com>
Cc: 546-done@emacsbugs.donarmstrong.com
Subject: Re: inconsistent behavior with scroll-margin and scroll-conservatively
Date: Wed, 06 Aug 2008 14:29:23 -0400
Message-ID: <87wsiuc7zw.fsf@stupidchicken.com>

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.


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

end of thread, other threads:[~2008-08-06 18:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87wsiuc7zw.fsf@stupidchicken.com>
2008-03-04 20:03 ` inconsistent behavior with scroll-margin and scroll-conservatively Andy Grover
2008-03-09  9:25   ` Andy Grover
2008-03-09 10:28     ` Johan Bockgård
2008-08-06 18:35   ` bug#39: marked as done (inconsistent behavior with scroll-margin and scroll-conservatively) Emacs bug Tracking System
2008-07-10 15:35 ` bug#546: scroll-margin not respected for downward scrolling when show-trailing-whitespace is t Greg Falcon
2008-08-06 18:35   ` bug#546: marked as done (scroll-margin not respected for downward scrolling when show-trailing-whitespace is t) Emacs bug Tracking System

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).