From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1073: marked as done (23.0.60; Bad interaction between compilation-scroll-output and dedicated windows) Date: Sat, 4 Oct 2008 03:15:03 -0700 Message-ID: References: <48E74069.6000809@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1223115303-8868-0" X-Trace: ger.gmane.org 1223116240 20353 80.91.229.12 (4 Oct 2008 10:30:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2008 10:30:40 +0000 (UTC) To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 04 12:31:36 2008 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.50) id 1Km4Q9-0001KO-7j for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Oct 2008 12:31:33 +0200 Original-Received: from localhost ([127.0.0.1]:37787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Km4P4-0002mz-AQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Oct 2008 06:30:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Km4Oh-0002lY-Au for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 06:30:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Km4Og-0002lJ-H9 for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 06:30:02 -0400 Original-Received: from [199.232.76.173] (port=32924 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Km4Of-0002lG-Se for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 06:30:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47362) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Km4Oe-0000MV-Lt for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 06:30:01 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m94ATugs012376; Sat, 4 Oct 2008 03:29:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m94AF3C8008894; Sat, 4 Oct 2008 03:15:03 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1073 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:21098 Archived-At: This is a multi-part message in MIME format... ------------=_1223115303-8868-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 04 Oct 2008 12:07:37 +0200 with message-id <48E74069.6000809@gmx.at> and subject line Re: bug#1073: 23.0.60; Bad interaction between compilation= -scroll-output and dedicated windows has caused the Emacs bug report #1073, regarding 23.0.60; Bad interaction between compilation-scroll-output and de= dicated windows to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1073: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1073 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1223115303-8868-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.2 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Oct 2008 09:21:03 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m939Ks81024801 for ; Fri, 3 Oct 2008 02:20:56 -0700 Received: from mx10.gnu.org ([199.232.76.166]:38331) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Klgo1-0001p2-I2 for emacs-pretest-bug@gnu.org; Fri, 03 Oct 2008 05:18:37 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KlgqB-0005MV-Bm for emacs-pretest-bug@gnu.org; Fri, 03 Oct 2008 05:20:53 -0400 Received: from treacle.ucs.ed.ac.uk ([129.215.16.102]:34867) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Klgq5-0005HW-KM for emacs-pretest-bug@gnu.org; Fri, 03 Oct 2008 05:20:51 -0400 Received: from wrath.ph.ed.ac.uk (wrath.ph.ed.ac.uk [129.215.73.7]) by treacle.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id m939KM4u014026 for ; Fri, 3 Oct 2008 10:20:27 +0100 (BST) Received: from lamacq.ph.ed.ac.uk (lamacq.ph.ed.ac.uk [129.215.72.156]) by wrath.ph.ed.ac.uk (8.13.8/8.12.10) with ESMTP id m939KLQJ000806 for ; Fri, 3 Oct 2008 10:20:22 +0100 Received: from lamacq.ph.ed.ac.uk (localhost.localdomain [127.0.0.1]) by lamacq.ph.ed.ac.uk (8.13.1/8.12.10) with ESMTP id m939KLvF007202 for ; Fri, 3 Oct 2008 10:20:21 +0100 Received: (from s0198183@localhost) by lamacq.ph.ed.ac.uk (8.13.1/8.13.1/Submit) id m939KLbS007197; Fri, 3 Oct 2008 10:20:21 +0100 X-Authentication-Warning: lamacq.ph.ed.ac.uk: s0198183 set sender to lawrence.mitchell@ed.ac.uk using -f From: Lawrence Mitchell To: emacs-pretest-bug@gnu.org Subject: 23.0.60; Bad interaction between compilation-scroll-output and dedicated windows Organization: me Date: Fri, 03 Oct 2008 10:20:21 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Edinburgh-Scanned: at treacle.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-Scanned-By: MIMEDefang 2.60 on 129.215.16.102 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) In GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-09-24 on lamacq.ph.ed.ac.uk Windowing system distributor `The X.Org Foundation', version 11.0.60802000 configured using `configure '-C' '--prefix=/scratch/s0198183/applications/emacs-trunk/' 'CFLAGS=-ggdb3 -O0' '--without-rsvg'' If an Emacs frame is split into multiple windows (two will do) of which one is dedicated and compilation-scroll-output is t then `compile' in the non-dedicated window will end up moving point. Steps to reproduce: emacs -Q --eval \ '(progn (split-window-vertically) (set-window-dedicated-p (selected-window) t) (switch-to-buffer-other-window "*test*") (insert initial-scratch-message) (goto-char (point-min)) (setq compilation-scroll-output t) (compile "echo \"test\"") (kill-buffer "*compilation*"))' Note how point is left at the /end/ of the buffer *test* rather than the beginning. This appears to be a problem with a mismatch between what `selected-window' and `current-buffer' return. When this code in `compilation-start' is executed: (if (buffer-local-value 'compilation-scroll-output outbuf) (save-selected-window (select-window outwin) (goto-char (point-max)))) outwin is # and after the select-window call (selected-window) is #. However, at this point (current-buffer) returns *test*, rather than *compilation*. Cheers, Lawrence -- Lawrence Mitchell ------------=_1223115303-8868-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1073-done) by emacsbugs.donarmstrong.com; 4 Oct 2008 10:08:14 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m94A8Ae1007639 for <1073-done@emacsbugs.donarmstrong.com>; Sat, 4 Oct 2008 03:08:11 -0700 Received: (qmail invoked by alias); 04 Oct 2008 10:08:04 -0000 Received: from 62-47-38-151.adsl.highway.telekom.at (EHLO [62.47.38.151]) [62.47.38.151] by mail.gmx.net (mp030) with SMTP; 04 Oct 2008 12:08:04 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19ZMmwjM7VZhpTqd+tb7NH0U+Tv3XttKobWin71c+ W0eegYc4rm+IxS Message-ID: <48E74069.6000809@gmx.at> Date: Sat, 04 Oct 2008 12:07:37 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: 1073-done@emacsbugs.donarmstrong.com CC: Lawrence Mitchell Subject: Re: bug#1073: 23.0.60; Bad interaction between compilation-scroll-output and dedicated windows References: <48E611C7.7020901@gmx.at> <48E61BA4.2020509@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.86 I checked in a slightly different fix. Please have a look. Thanks, martin. ------------=_1223115303-8868-0--