From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#6164: 24.0.50; scroll-all-mode is broken Date: Tue, 11 May 2010 02:19:20 +0300 Organization: JURTA Message-ID: <87eihj2vfb.fsf@mail.jurta.org> References: <87r5ljh1ce.fsf@escher.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273536741 10562 80.91.229.12 (11 May 2010 00:12:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 May 2010 00:12:21 +0000 (UTC) Cc: 6164@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 11 02:12:17 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OBd56-0003Yp-3W for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 May 2010 02:12:17 +0200 Original-Received: from localhost ([127.0.0.1]:52192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBd54-0008Qc-3B for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 May 2010 20:12:14 -0400 Original-Received: from [140.186.70.92] (port=59845 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBd3V-0007BJ-Uv for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 20:10:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBcpm-0003cV-1E for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 19:56:28 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36899) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBcpl-0003cO-Ur for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 19:56:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OBcOH-0003Qq-RJ; Mon, 10 May 2010 19:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 May 2010 23:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6164 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6164-submit@debbugs.gnu.org id=B6164.127353406413186 (code B ref 6164); Mon, 10 May 2010 23:28:01 +0000 Original-Received: (at 6164) by debbugs.gnu.org; 10 May 2010 23:27:44 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBcO0-0003Qd-8k for submit@debbugs.gnu.org; Mon, 10 May 2010 19:27:44 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3] helo=mx1.starman.ee) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBcNx-0003QW-0j for 6164@debbugs.gnu.org; Mon, 10 May 2010 19:27:41 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.69.38.cable.starman.ee [82.131.69.38]) by mx1.starman.ee (Postfix) with ESMTP id 00C463F411E; Tue, 11 May 2010 02:27:31 +0300 (EEST) In-Reply-To: <87r5ljh1ce.fsf@escher.home> (Stephen Berman's message of "Mon, 10 May 2010 23:51:45 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 10 May 2010 19:28:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36855 Archived-At: > 1. emacs -Q > 2. Visit two files that are big enough to scroll up and down. > 3. Type `C-x 2' or `C-x 3' and the `C-x b' to display the two visited > filed in the split windows. > 4. Type `M-x scroll-all-mode' to enable this minor mode. > 5. Type `C-v'. > => Only the selected buffer scrolls, whereas with scroll-all-mode > enabled both buffers should scroll. Thanks for the bug report. This patch should fix it: === modified file 'lisp/scroll-all.el' --- lisp/scroll-all.el 2010-01-13 08:35:10 +0000 +++ lisp/scroll-all.el 2010-05-10 23:18:25 +0000 @@ -90,9 +90,9 @@ (defun scroll-all-check-to-scroll () (call-interactively 'scroll-all-scroll-down-all)) ((eq this-command 'previous-line) (call-interactively 'scroll-all-scroll-up-all)) - ((eq this-command 'scroll-up) + ((memq this-command '(scroll-up scroll-up-command)) (call-interactively 'scroll-all-page-down-all)) - ((eq this-command 'scroll-down) + ((memq this-command '(scroll-down scroll-down-command)) (call-interactively 'scroll-all-page-up-all)) ((eq this-command 'beginning-of-buffer) (call-interactively 'scroll-all-beginning-of-buffer-all)) -- Juri Linkov http://www.jurta.org/emacs/