GNU bug report logs - #7910
23.2; inconsistent scrolling

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Oleksandr Manzyuk <manzyuk@HIDDEN>; dated Mon, 24 Jan 2011 20:42:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Jan 2011 20:41:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 24 15:41:39 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1PhTEJ-0002HT-FU
	for submit <at> debbugs.gnu.org; Mon, 24 Jan 2011 15:41:39 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <manzyuk@HIDDEN>) id 1PhTEH-0002HI-90
	for submit <at> debbugs.gnu.org; Mon, 24 Jan 2011 15:41:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <manzyuk@HIDDEN>) id 1PhTM2-00037b-SC
	for submit <at> debbugs.gnu.org; Mon, 24 Jan 2011 15:49:40 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,
	T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:42894)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <manzyuk@HIDDEN>) id 1PhTM2-00037X-PN
	for submit <at> debbugs.gnu.org; Mon, 24 Jan 2011 15:49:38 -0500
Received: from [140.186.70.92] (port=48941 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PhTM1-0007UP-7p
	for bug-gnu-emacs@HIDDEN; Mon, 24 Jan 2011 15:49:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <manzyuk@HIDDEN>) id 1PhTLz-000376-Ch
	for bug-gnu-emacs@HIDDEN; Mon, 24 Jan 2011 15:49:37 -0500
Received: from mail-bw0-f41.google.com ([209.85.214.41]:47580)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <manzyuk@HIDDEN>) id 1PhTLz-00036P-34
	for bug-gnu-emacs@HIDDEN; Mon, 24 Jan 2011 15:49:35 -0500
Received: by bwz16 with SMTP id 16so3968868bwz.0
	for <bug-gnu-emacs@HIDDEN>; Mon, 24 Jan 2011 12:49:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:date:message-id:subject:from:to
	:content-type; bh=gV4kgiVDuzd15LXzbWm3rF2keezv6f8JsC9jiw/0mH8=;
	b=DD63MvcETDkKuriNK0cuEd5mTYMK9WHnBJ6CmcnOOnnvKM8EtfKXZJ2um7Y6WwSFqA
	wtv6hrMFv+rAzeyvemTO6UYe4EraxQHEC4K3piteQKvC4uyPU+DU3jUZMipu0yYjIA+2
	KOt5riEG+EFSVEejjXM/LIRLGQXfBkekYHxJE=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type;
	b=DN4oB9MJGFAoGYO3pv9kG4fczvZUkoNxxVRJkQhJmherNRsvuXVcuT1H7+IdMgI08K
	ITFm61vaDHo0Qsb8DkzR+1+Kd0GrWINAvI7zRsY/G3kHRJXY2rsIvSS3OHgHZFrtXwjf
	NjknhuHfuIinf5oOm3iJyyy1nvbDNgZiAmraQ=
MIME-Version: 1.0
Received: by 10.204.85.11 with SMTP id m11mr4253189bkl.115.1295902173401; Mon,
	24 Jan 2011 12:49:33 -0800 (PST)
Received: by 10.204.13.212 with HTTP; Mon, 24 Jan 2011 12:49:33 -0800 (PST)
Date: Mon, 24 Jan 2011 20:49:33 +0000
Message-ID: <AANLkTikqVSwPhHw3VqM6fgwR5XgveKaNEr9DvvzwAKRz@HIDDEN>
Subject: 23.2; inconsistent scrolling
From: Oleksandr Manzyuk <manzyuk@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Spam-Score: -5.9 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.9 (-----)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
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@HIDDEN 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.  If you can, give
a recipe starting from `emacs -Q':

1. M-x eval-expression RET (setq scroll-preserve-screen-position t) RET

2. Open a long file that takes up more than one screen.

3. Make sure that the beginning of the file is at the top of the screen
and go to a line near the bottom of the screen.

4. Press C-l to bring that line to the center of the screen.

5. Press M-v and then C-v.

The expected behavior is that point goes back to the line where it
started.  It is not so, however.  When M-v is pressed, the window is
scrolled so that the beginning of the file is at the top of the screen
and point is placed in the center-most line.  When C-v is subsequently
pressed, the window is scrolled up one screenful, and the position of
point relative to the screen is preserved, so point ends up in the
center-most line.

I would like to remark that if I perform dual actions near the end of
the file, then scrolling is consistent: if the end of the file is not
visible and scrolling the window one screenful up would bring the point
past the end of the file, the window is scrolled so that the point ends
up at the last line of the file (which is put in the center of the
window), and subsequently pressing M-v brings point back to the line
where it started.

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'.
For information about debugging Emacs, please read the file
/usr/share/emacs/23.2/etc/DEBUG.


In GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-09-02 on pluot, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
configured using `configure  '--build=x86_64-linux-gnu'
'--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var/lib'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim'
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu'
'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

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
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x b s c r C-g ( s e t q SPC s c r o l l - p r e s
<M-tab> SPC t ) C-x C-e C-x C-f . e m a <tab> <return>
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-f C-f
C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f
C-f C-f C-f C-f C-l <prior> M-x r e p o r t SPC e m
a c s SPC b u g <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit
t
Loading vc-git...done

Load-path shadows:
/usr/share/emacs/23.2/site-lisp/debian-startup hides
/usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/23.2/site-lisp/dictionaries-common/ispell hides
/usr/share/emacs/23.2/lisp/textmodes/ispell
/usr/share/emacs/23.2/site-lisp/dictionaries-common/flyspell hides
/usr/share/emacs/23.2/lisp/textmodes/flyspell
/usr/share/emacs/23.2/site-lisp/ruby1.9.1-elisp/ruby-mode hides
/usr/share/emacs/23.2/lisp/progmodes/ruby-mode

Features:
(shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml
easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils emacsbug vc-git
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)




Acknowledgement sent to Oleksandr Manzyuk <manzyuk@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#7910; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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