GNU bug report logs - #148
[Bernardo Dal Seno]: scroll-margin and scroll-preserve-screen-position cause refresh problem

Previous Next

Package: emacs;

Reported by: Sven Joachim <svenjoac <at> gmx.de>

Date: Sat, 19 Apr 2008 07:25:04 UTC

Severity: normal

Found in versions 22.1, 22.2.50, 23.0.60

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Sven Joachim <svenjoac <at> gmx.de>
Subject: bug#148 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re: 
 [Bernardo Dal Seno]: scroll-margin and scroll-preserve-screen-position 
 cause refresh problem)
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#148: [Bernardo Dal Seno]: scroll-margin and scroll-preserve-screen-position cause refresh problem

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.


-- 
148: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=148
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Sven Joachim <svenjoac <at> gmx.de>
Cc: 148-done <at> debbugs.gnu.org
Subject: Re: [Bernardo Dal Seno]: scroll-margin and scroll-preserve-screen-position cause refresh problem
Date: Tue, 05 Aug 2008 18:48:08 -0400
> With this very minimal '.emacs' file
>
> (custom-set-variables
>  '(scroll-margin 2)
>  '(scroll-preserve-screen-position t)) 
>
> hitting page-up and page-down (or C-v and M-v) in any order just after 
> having open an exiting file does not update the buffer view immediatly. 

I've just checked in a fix.  Thanks.

[Message part 3 (message/rfc822, inline)]
From: Sven Joachim <svenjoac <at> gmx.de>
To: submit <at> debbugs.gnu.org
Subject: [Bernardo Dal Seno]: scroll-margin and scroll-preserve-screen-position cause refresh problem
Date: Sat, 19 Apr 2008 09:14:00 +0200
[Message part 4 (text/plain, inline)]
Package: emacs
Version: 22.1, 22.2.50, 23.0.60

I received the attached message via the Debian bug tracking system.  The
described redisplay problem is reproducible in both EMACS_22_BASE and
the trunk.  While the scrollbar and the modeline are updated upon C-v,
the buffer window is not.


[Message part 5 (message/rfc822, inline)]
From: Bernardo Dal Seno <dibbex <at> gmail.com>
To: Debian Bug Tracking System <submit <at> bugs.debian.org>
Subject: Bug#470556: emacs22: scroll-margin and scroll-preserve-screen-position
 cause refresh problem
Date: Tue, 11 Mar 2008 22:34:29 +0100
Package: emacs22
Version: 22.1+1-3
Severity: normal

With this very minimal '.emacs' file

---BEGIN---
(custom-set-variables
 '(scroll-margin 2)
 '(scroll-preserve-screen-position t)
) 
---END--- 

hitting page-up and page-down (or C-v and M-v) in any order just after 
having open an exiting file does not update the buffer view immediatly. 

In other words, you open a file, and you hit page-down a couple of 
times; the scroll bar and the status bar get updated immediatly, while 
the content of the window is update only after some time, which could be 
less than a second (but the delay is noticeable) or also a few seconds.

If you move the cursor using the arrow keys, the problem disappear.  If 
you move the cursor to the very first line of the buffer, though, and 
then hit page-down, you'll see the problem again.

I'm using X.  In a terminal window Emacs seems to work fine.

I've experienced this problem for a while, but only now I found the 
cause.  It's more apparent with files of a few hundred lines.


Best regards,
Bernardo

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23 (PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22 depends on:
ii  emacs22-bin-common     22.1+1-3          The GNU Emacs editor's shared, arc
ii  libasound2             1.0.16-1          ALSA library
ii  libc6                  2.7-8             GNU C Library: Shared libraries
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libncurses5            5.6+20080203-1    Shared libraries for terminal hand
ii  libpng12-0             1.2.15~beta5-3    PNG library - runtime
ii  libsm6                 2:1.0.3-1+b1      X11 Session Management library
ii  libtiff4               3.8.2-7           Tag Image File Format (TIFF) libra
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxmu6                2:1.0.4-1         X11 miscellaneous utility library
ii  libxpm4                1:3.5.7-1         X11 pixmap library
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  xaw3dg                 1.5+E-15          Xaw3d widget set
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

emacs22 recommends no packages.

-- no debconf information

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.