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#23347: 25.0.92; Follow mode scrolling broken -- scrolls only one page Date: Sat, 23 Apr 2016 19:25:06 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c12355e84e04d05312a3941 X-Trace: ger.gmane.org 1461432380 7544 80.91.229.3 (23 Apr 2016 17:26:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2016 17:26:20 +0000 (UTC) To: 23347@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 23 19:26:11 2016 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 1au1Jp-0000s7-Np for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Apr 2016 19:26:09 +0200 Original-Received: from localhost ([::1]:53070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au1Jp-0007yq-1s for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Apr 2016 13:26:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au1Jk-0007rj-2T for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 13:26:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1au1Ji-0005iK-Ns for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 13:26:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au1Ji-0005iG-Kc for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 13:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1au1Ji-0000cv-E8 for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 13:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Apr 2016 17:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23347 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.14614323182354 (code B ref -1); Sat, 23 Apr 2016 17:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2016 17:25:18 +0000 Original-Received: from localhost ([127.0.0.1]:44242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1au1J0-0000bt-Cq for submit@debbugs.gnu.org; Sat, 23 Apr 2016 13:25:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1au1Iz-0000bi-B1 for submit@debbugs.gnu.org; Sat, 23 Apr 2016 13:25:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1au1Is-0005f4-Mc for submit@debbugs.gnu.org; Sat, 23 Apr 2016 13:25:12 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au1Is-0005ez-K0 for submit@debbugs.gnu.org; Sat, 23 Apr 2016 13:25:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au1Ir-0006Xk-8g for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 13:25:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1au1Ip-0005eD-Sq for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 13:25:09 -0400 Original-Received: from mail-vk0-x231.google.com ([2607:f8b0:400c:c05::231]:34235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au1Ip-0005dr-NJ for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 13:25:07 -0400 Original-Received: by mail-vk0-x231.google.com with SMTP id e185so172124444vkb.1 for ; Sat, 23 Apr 2016 10:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=At0mEeSqNInntsiRq9y1yQ9GWxliIqKUSd9TfVXqJ7k=; b=eHtkJGcHgvEhnHXSD3uKXV3zYOfPehTh0Y4mipq2FPusPoYnasES6q5sxAWiAj98af L5AY5fcJfCm3n9jE2Ro1Eo0AlSCBIcePDOnkc/3WNJ1f7RR5Mj1j8eBy1zNJ6ZOuTVqM DCVKsi/5Q/+Dyaakxc0tu5PhYT2YfXwruSspxJBESyTDnVZ0lTGvjCYm6lE63+uHEitA 01Mam6Y6+hhpDMQJpTXuelllEPUFaRnbC3QTmA4XjkPLLReWOc4FBXZfXhtIaNZ6da0b dnUW0Rr09a0z1hGFdjn9lz8zEzqXKoK3oEMJ7BVKO9mKMk5jsYN+VhrBg68usiXwj+Od Xodw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=At0mEeSqNInntsiRq9y1yQ9GWxliIqKUSd9TfVXqJ7k=; b=K9C/SF0JjwgsEa19CvcQVGQP0+TxZ4PaAT99aZL8oUMHip7t3mE3s4IfZp99f9AqA6 clP1dVHOimQ0bxG4tX18lovt4YDEBvAD981BZlVAyR9iNZXK8ydwCJ0yjpbmQDrrsLbK ckGa7ndF8FhjXefN2zfag9d2Y63VUN2SuO0T+u4L/BQRC10UVGnUFYh+MBi7u14dRuTD 6aUsvsUQzLAhSp9Rvbrjh3ZmZLLFt56nji00km+gad8whqkmEe2ykm4GKUKQIFwRAOnU UoYVBvkWxG/GT+H4wsECXtwFecovI7eRjjBPFomaVgrNzGLOeDXSELGuBXIAH305llE9 NGUQ== X-Gm-Message-State: AOPr4FUFqeioEwfz4ILx5aAYFUImmxq4hjSl5Mi0NHUlz/gjOsiR3xc6t8jksodQgX511/eDzQKK6fJPb1XEDg== X-Received: by 10.176.64.40 with SMTP id h37mr5267841uad.58.1461432306947; Sat, 23 Apr 2016 10:25:06 -0700 (PDT) Original-Received: by 10.31.214.131 with HTTP; Sat, 23 Apr 2016 10:25:06 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:116712 Archived-At: --94eb2c12355e84e04d05312a3941 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi! In Emacs 25.0.92, the command `follow-scroll-up' and `follow-scroll-down' only scroll one page. The intention is that they should scroll as many pages as there are windows in the window group (i.e. the number of windows showing the same buffer in the current frame, when follow-mode is enabled), as was done in Emacs 24. Steps to repeat: emacs -Q C-h t M-x follow-delete-other-windows-and-split RET ;; Page 1 and 2 are visible. C-c . C-v ;; Now, page 2 and 3 are visible. I expect page 3 and 4 to be visible. The idea behind `follow-scroll-up' and `follow-scroll-down' is to scroll away the entire window group at once. For example, if you have six side by side windows, `follow-scroll-up' should go from displaying page 1 .. 6 to 7 .. 12. Currently Emacs 25 go from 1 .. 6 to 2 .. 7. -- Anders Ps. I'm the original author of Follow mode, but I haven't been involved in recent development. In GNU Emacs 25.0.92.6 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F1713)) of 2016-04-10 built on macpro.lan Repository revision: 0e7bcec103073eceecc2621c19e4d290b2d97e8d Windowing system distributor 'Apple', version 10.3.1348 Configured using: 'configure --with-ns --without-dbus' Configured features: NOTIFY ACL ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LC_CTYPE: UTF-8 value of $LANG: en_SE.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: follow-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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 messages: For information about GNU Emacs and the GNU system, type C-h C-a. Preparing tutorial ... Resume your last saved tutorial? (y or n) n You can run the command =E2=80=98follow-scroll-up=E2=80=99 with C-c . C-v Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils follow tutorial help-mode easymenu cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 196924 8312) (symbols 48 19718 0) (miscs 40 48 196) (strings 32 15395 5251) (string-bytes 1 449890) (vectors 16 33084) (vector-slots 8 650906 6707) (floats 8 158 31) (intervals 56 196 0) (buffers 976 12)) --94eb2c12355e84e04d05312a3941 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi!

In Emacs 25.0.92, the co= mmand `follow-scroll-up' and `follow-scroll-down' only scroll one p= age. The intention is that they should scroll as many pages as there are wi= ndows in the window group (i.e. the number of windows showing the same buff= er in the current frame, when follow-mode is enabled), as was done in Emacs= 24.

Steps to repeat:

=C2= =A0 =C2=A0 emacs -Q
=C2=A0 =C2=A0 C-h t
=C2=A0 =C2=A0 M= -x follow-delete-other-windows-and-split RET
=C2=A0 =C2=A0 =C2=A0= ;; Page 1 and 2 are visible.
=C2=A0 =C2=A0 C-c . C-v
= =C2=A0 =C2=A0 =C2=A0 ;; Now, page 2 and 3 are visible.

=
I expect page 3 and 4 to be visible.

The idea= behind `follow-scroll-up' and `follow-scroll-down' is to scroll aw= ay the entire window group at once. For example, if you have six side by si= de windows, `follow-scroll-up' should go from displaying page 1 .. 6 to= 7 .. 12. Currently Emacs 25 go from 1 .. 6 to 2 .. 7.

=
=C2=A0 =C2=A0 -- Anders

Ps. I'm the origi= nal author of Follow mode, but I haven't been involved in recent develo= pment.


In GNU Emacs 25.0.92.6 (x86_= 64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F1713))
=C2=A0of 2016-04-10 built on macpro.lan
Repository revis= ion: 0e7bcec103073eceecc2621c19e4d290b2d97e8d
Windowing system di= stributor 'Apple', version 10.3.1348
Configured using:
=C2=A0'configure --with-ns --without-dbus'

Configured features:
NOTIFY ACL ZLIB TOOLKIT_SCROLL_BARS= NS

Important settings:
=C2=A0 value of = $LC_CTYPE: UTF-8
=C2=A0 value of $LANG: en_SE.UTF-8
=C2= =A0 locale-coding-system: utf-8-unix

Major mode: F= undamental

Minor modes in effect:
=C2=A0= follow-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-el= doc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse= -wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-= mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-f= ont-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 aut= o-composition-mode: t
=C2=A0 auto-encryption-mode: t
= =C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
<= div>=C2=A0 transient-mark-mode: t

Recent messages:=
For information about GNU Emacs and the GNU system, type C-h C-a= .
Preparing tutorial ...
Resume your last saved tutoria= l? (y or n) n
You can run the command =E2=80=98follow-scroll-up= =E2=80=99 with C-c . C-v

Load-path shadows:
<= div>None found.

Features:
(shadow sort m= ail-extr emacsbug message dired format-spec rfc822 mml
mml-sec pa= ssword-cache epg epg-config gnus-util mm-decode mm-bodies
mm-enco= de mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rf= c2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils follow
tutorial help-mode easymenu cl-loaddefs pcase cl-lib time-date mule-u= til
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-floa= t-type
mwheel ns-win ucs-normalize term/common-win tool-bar dnd f= ontset image
regexp-opt fringe tabulated-list newcomment elisp-mo= de lisp-mode
prog-mode register page menu-bar rfn-eshadow timer s= elect scroll-bar
mouse jit-lock font-lock syntax facemenu font-co= re frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese= tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebre= w greek romanian slovak czech
european ethiopic indian cyrillic c= hinese charscript case-table epa-hook
jka-cmpr-hook help simple a= bbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-f= ace macroexp files text-properties overlay
sha1 md5 base64 format= env code-pages mule custom widget
hashtable-print-readable backq= uote kqueue cocoa ns multi-tty
make-network-process emacs)
<= div>
Memory information:
((conses 16 196924 8312)
=C2=A0(symbols 48 19718 0)
=C2=A0(miscs 40 48 196)
=
=C2=A0(strings 32 15395 5251)
=C2=A0(string-bytes 1 449890)<= /div>
=C2=A0(vectors 16 33084)
=C2=A0(vector-slots 8 650906 6= 707)
=C2=A0(floats 8 158 31)
=C2=A0(intervals 56 196 0)=
=C2=A0(buffers 976 12))

--94eb2c12355e84e04d05312a3941--