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#931: marked as done (23.0.60; Bug in bytecomp.el: displaying warnings) Date: Fri, 12 Sep 2008 13:00:04 -0700 Message-ID: References: <1220902523.951243.11457@green> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1221249604-21563-0" X-Trace: ger.gmane.org 1221250070 25975 80.91.229.12 (12 Sep 2008 20:07:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 20:07:50 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 12 22:08:45 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 1KeEwe-0006Gc-9O for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 22:08:44 +0200 Original-Received: from localhost ([127.0.0.1]:41835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeEvd-0001JB-Q2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 16:07:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KeEva-0001J5-Fv for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2008 16:07:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KeEvY-0001Il-U3 for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2008 16:07:38 -0400 Original-Received: from [199.232.76.173] (port=59070 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeEvY-0001Ii-Qe for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2008 16:07:36 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58810) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KeEvX-0001rX-Rt for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2008 16:07:36 -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 m8CK7Xgn025455; Fri, 12 Sep 2008 13:07:33 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8CK0431021651; Fri, 12 Sep 2008 13:00:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 931 X-Emacs-PR-Package: emacs X-detected-kernel: by monty-python.gnu.org: 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:20522 Archived-At: This is a multi-part message in MIME format... ------------=_1221249604-21563-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 12 Sep 2008 15:51:59 -0400 with message-id and subject line Re: bug#931: 23.0.60; Bug in bytecomp.el: displaying warni= ngs has caused the Emacs bug report #931, regarding 23.0.60; Bug in bytecomp.el: displaying warnings 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 931: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D931 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1221249604-21563-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=-8.0 required=4.0 tests=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; 8 Sep 2008 19:37:36 +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 m88JbWNA003843 for ; Mon, 8 Sep 2008 12:37:34 -0700 Received: from mx10.gnu.org ([199.232.76.166]:34890) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KcmWZ-00088j-EO for emacs-pretest-bug@gnu.org; Mon, 08 Sep 2008 15:35:47 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KcmYA-0004LN-UA for emacs-pretest-bug@gnu.org; Mon, 08 Sep 2008 15:37:32 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:56210) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KcmYA-0004L1-Ha for emacs-pretest-bug@gnu.org; Mon, 08 Sep 2008 15:37:26 -0400 Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id B8AB0EEEF0EE for ; Mon, 8 Sep 2008 21:37:24 +0200 (CEST) Received: from [92.75.235.128] (helo=green) by smtp05.web.de with asmtp (WEB.DE 4.109 #226) id 1KcmY8-0007fl-00 for emacs-pretest-bug@gnu.org; Mon, 08 Sep 2008 21:37:24 +0200 From: Michael Heerdegen To: emacs-pretest-bug@gnu.org Subject: 23.0.60; Bug in bytecomp.el: displaying warnings Reply-to: michael_heerdegen@web.de Date: Mon, 8 Sep 2008 21:35:23 +0200 Message-Id: <1220902523.951243.11457@green> Sender: Michael_Heerdegen@web.de X-Sender: michael_heerdegen@web.de X-Provags-ID: V01U2FsdGVkX1/SN1YFL+MlulurhOf/72HW0NE1N0JvHaibw+tw Ku60BlrOwqci2wteBCf9IWXnspr/guC8ZiRKEAvPzihw37IrT5 cKbf4bzDp0kAsd6BJxzQ== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 When pop-up-windows is nil, the byte compiler sometimes aborts with the error message End of file during parsing after displaying warnings, although the source file is ok. You can reproduce this with CVS Gnu Emacs as follows: 1. Create a file test.el with the following contents: (setq a 1) 2. emacs -Q 3. M-: (setq pop-up-windows nil) RET 4. Byte compile test.el The reason for the bug is an error in `byte-compile-from-buffer'. Its definition looks like that: (defun byte-compile-from-buffer (inbuffer &optional filename) ... (let ... (byte-compile-close-variables ... (displaying-byte-compile-warnings ... (with-current-buffer inbuffer ... (while ... ...) ...) ...)) ...)) If pop-up-windows is nil, and warnings have to be displayed, `byte-compile-report-error' is called, and after that, (current-buffer) will be the Compile Log buffer, and the current buffer is not restored for further iterations of the while loop. ------------=_1221249604-21563-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.8 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 931-close) by emacsbugs.donarmstrong.com; 12 Sep 2008 19:52:11 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8CJq5CO019329 for <931-close@emacsbugs.donarmstrong.com>; Fri, 12 Sep 2008 12:52:09 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuUEAARlykhFxIqP/2dsb2JhbACBY7YAgWKBBg X-IronPort-AV: E=Sophos;i="4.32,391,1217822400"; d="scan'208";a="26746442" Received: from 69-196-138-143.dsl.teksavvy.com (HELO pastel.home) ([69.196.138.143]) by ironport2-out.teksavvy.com with ESMTP; 12 Sep 2008 15:52:00 -0400 Received: by pastel.home (Postfix, from userid 20848) id 080848136; Fri, 12 Sep 2008 15:52:00 -0400 (EDT) From: Stefan Monnier To: martin rudalics Cc: 931-close@emacsbugs.donarmstrong.com, michael_heerdegen@web.de Subject: Re: bug#931: 23.0.60; Bug in bytecomp.el: displaying warnings Message-ID: References: <1220902523.951243.11457@green> <48C7921F.6020206@gmx.at> <48CAAF4B.3060801@gmx.at> Date: Fri, 12 Sep 2008 15:51:59 -0400 In-Reply-To: <48CAAF4B.3060801@gmx.at> (martin rudalics's message of "Fri, 12 Sep 2008 20:04:59 +0200") 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 >> I've fixed this so set-window-buffer should never change >> current-buffer now. Does it fix the OP's original problem? > Keeping my fingers still crossed for that change, so I can't type much > today ;-) > FWIW it fixes the original problem Good, thanks. > but we should show *Compile-Log* instead of the original buffer when > compilation finishes. That's a separate problem. And I'm not even sure if that's really what should happen anyway. > This could be a wishlist item. Indeed. Stefan ------------=_1221249604-21563-0--