From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#15957: 24.3.50; Follow mode scrolling broken on Emacs trunk Date: Fri, 22 Nov 2013 23:23:37 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bb70c5838750104ebcb77d2 X-Trace: ger.gmane.org 1385159046 15944 80.91.229.3 (22 Nov 2013 22:24:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Nov 2013 22:24:06 +0000 (UTC) To: 15957@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 22 23:24:11 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vjz91-0000u7-0Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Nov 2013 23:24:11 +0100 Original-Received: from localhost ([::1]:41360 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjz90-00056v-Hm for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Nov 2013 17:24:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjz8w-00052k-HJ for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2013 17:24:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vjz8s-0005ku-MA for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2013 17:24:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjz8s-0005km-J9 for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2013 17:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vjz8r-0000kc-TS for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2013 17:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Nov 2013 22:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13851590342866 (code B ref -1); Fri, 22 Nov 2013 22:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Nov 2013 22:23:54 +0000 Original-Received: from localhost ([127.0.0.1]:39065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vjz8j-0000k9-KC for submit@debbugs.gnu.org; Fri, 22 Nov 2013 17:23:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52726) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vjz8g-0000jq-Bq for submit@debbugs.gnu.org; Fri, 22 Nov 2013 17:23:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vjz8Z-0005Ov-8V for submit@debbugs.gnu.org; Fri, 22 Nov 2013 17:23:45 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjz8Z-0005Op-4m for submit@debbugs.gnu.org; Fri, 22 Nov 2013 17:23:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjz8X-0004lN-FM for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2013 17:23:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vjz8V-0005OX-KF for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2013 17:23:41 -0500 Original-Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:49655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjz8V-0005OM-8g for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2013 17:23:39 -0500 Original-Received: by mail-wg0-f42.google.com with SMTP id k14so1875269wgh.1 for ; Fri, 22 Nov 2013 14:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5dpl+7Niufe1o8j7RPdE2KjKUtE3AIauc8ARInspRpw=; b=TUHObSr0cIJ+pFRuiWg0ngLFp/9BgDuWHf4OnIMxKRq4dKyfIXHYaiyROTUeQkcDeP XOuDrsBxM1sPM0mA/tf75vWvsbyUrMwmNg2S/7sOqBRtJ1guduQMzUV9T8ljNnfxci7p OAogdHwGVTKTn6jwsHKX+d2Gs+0xFKiq1SqebrrzTiz0xfhASRrB0EOAZRHiPkjB1lr4 HfE7xzU0NQvoNf5mAVW1agrM+oxlvAnGzzCV8l7erjZWE4+Xo2BEh8anyatotYXkulqV N7ds40aEpVLxhqf/+X+FWA4TTCSGfs3u2Dgo/FB4XD+jRTdHez9IzKnJTelcPbHHalb2 MyUw== X-Received: by 10.194.205.37 with SMTP id ld5mr83493wjc.67.1385159017918; Fri, 22 Nov 2013 14:23:37 -0800 (PST) Original-Received: by 10.216.124.76 with HTTP; Fri, 22 Nov 2013 14:23:37 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:80867 Archived-At: --047d7bb70c5838750104ebcb77d2 Content-Type: text/plain; charset=ISO-8859-1 Hi! Scrolling multiple pages when Follow mode is enabled sometimes fails. Steps to repeat: Emacs -Q C-h t ESC : (set-frame-size (selected-frame) 200 70) RET M-x follow-delete-other-windows-and-split RET C-c . C-v The intent is to scroll the entire document two pages down, the left window should still be selected (this causes Follow mode to arrange the right window after it). Instead, the right window is selected, which causes the left to be arranged after it, effectively undoing the scroll. The problem seems to be sometimes intermittent, sometimes the scroll works, sometimes it don't. An interesting effect is that the problem only occurs when follow-scroll-up is bound to a key. When issuing M-x follow-scroll-up RET, the command seems to be working properly. By the way, I'm the original author of Follow mode, even tough I haven't touched it for many years. Sincerely, Anders Lindgren In GNU Emacs 24.3.50.11 (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00) of 2013-11-21 on macpro.lan Bzr revision: 115156 rgm@gnu.org-20131120081620-w7c04v1rspm8i0dr Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --with-ns' Important settings: value of $LC_CTYPE: UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: follow-mode: t 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 blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-g C-h t x C-x u x f o l l o w - d e C-c . C-v x r e p o r t - b Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. C-x C-g is undefined Preparing tutorial ... Undo! Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils follow tutorial help-mode easymenu time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) --047d7bb70c5838750104ebcb77d2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi!

Scrolling multiple p= ages when Follow mode is enabled sometimes fails.

= Steps to repeat:

=A0 =A0 Emacs -Q
=A0 = =A0 C-h t
=A0 =A0 ESC : (set-frame-size (selected-frame) 200 70) RET
= =A0 =A0 M-x follow-delete-other-windows-and-split RET
=A0 =A0 C-c= . C-v

The intent is to scroll the entire document= two pages down, the left
window should still be selected (this causes Follow mode to arrange th= e
right window after it). Instead, the right window is selected, = which causes
the left to be arranged after it, effectively undoin= g the scroll.

The problem seems to be sometimes intermittent, sometim= es the scroll works,
sometimes it don't.

=
An interesting effect is that the problem only occurs when
follow-scroll-up is bound to a key. When issuing M-x follow-scroll-up
=
RET, the command seems to be working properly.

By the way, I'm the original author of Follow mode, even tough I have= n't
touched it for many years.

Sincerely,
=A0 =A0 Anders Lindgren


In GNU E= macs 24.3.50.11 (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00)
<= div> =A0of 2013-11-21 on macpro.lan
Bzr revision: 115156 rgm@gnu.org-2= 0131120081620-w7c04v1rspm8i0dr
Windowing system distributor `Appl= e', version 10.3.1265
Configured using:
=A0`configu= re --with-ns'

Important settings:
=A0 value of $LC_CTYPE: U= TF-8
=A0 locale-coding-system: utf-8-unix
=A0 default e= nable-multibyte-characters: t

Major mode: Fundamen= tal

Minor modes in effect:
=A0 follow-mode: t
=A0 tooltip-mode: t
=A0 mouse-wheel-mode: t
=A0 = tool-bar-mode: t
=A0 menu-bar-mode: t
=A0 file-name-sha= dow-mode: t
=A0 global-font-lock-mode: t
=A0 blink-cursor-mode: t
<= div>=A0 auto-composition-mode: t
=A0 auto-encryption-mode: t
=A0 auto-compression-mode: t
=A0 line-number-mode: t
<= div>=A0 transient-mark-mode: t

Recent input:
<help-echo> C-x C-g C-h t= x C-x u <escape> x f o l=A0
l o w - d e <tab> <re= turn> C-c . C-v <escape> x r e=A0
p o r t - b <tab>= ; <return>

Recent messages:
For information about GNU Em= acs and the GNU system, type C-h C-a.
C-x C-g is undefined
<= div>Preparing tutorial ...
Undo!

Load-pa= th shadows:
None found.

Features:
(shadow sort = gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-s= ec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
= mail-prsvr mail-utils follow tutorial help-mode easymenu time-date
tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-ba= r
mouse jit-lock font-lock syntax facemenu font-core frame cham g= eorgian
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 abb= rev
minibuffer nadvice loaddefs button faces cus-face macroexp files
=
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-proces= s
cocoa ns multi-tty emacs)

--047d7bb70c5838750104ebcb77d2--