From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.bugs Subject: bug#931: 23.0.60; Bug in bytecomp.el: displaying warnings Date: Tue, 09 Sep 2008 04:11:33 -0400 Message-ID: References: <1220902523.951243.11457@green> <48C59543.2020907@gmx.at> Reply-To: rms@gnu.org, 931@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1220948883 6521 80.91.229.12 (9 Sep 2008 08:28:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2008 08:28:03 +0000 (UTC) Cc: 931@emacsbugs.donarmstrong.com, michael_heerdegen@web.de, bug-gnu-emacs@gnu.org, bug-submit-list@donarmstrong.com To: martin rudalics , 931@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 09 10:28:57 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 1Kcyaj-0005Sl-Eu for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Sep 2008 10:28:53 +0200 Original-Received: from localhost ([127.0.0.1]:55190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcyZj-0000sv-Ew for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Sep 2008 04:27:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcyZW-0000kN-AH for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2008 04:27:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcyZU-0000jJ-5b for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2008 04:27:37 -0400 Original-Received: from [199.232.76.173] (port=59949 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcyZT-0000ix-Rl for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2008 04:27:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44001) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcyZS-00024h-GZ for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2008 04:27:34 -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 m898RWqH014972; Tue, 9 Sep 2008 01:27:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m898K6Xf012056; Tue, 9 Sep 2008 01:20:06 -0700 X-Loop: don@donarmstrong.com Resent-From: "Richard M. Stallman" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 09 Sep 2008 08:20:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 931 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 931-submit@emacsbugs.donarmstrong.com id=B931.12209480049962 (code B ref 931); Tue, 09 Sep 2008 08:20:06 +0000 Original-Received: (at 931) by emacsbugs.donarmstrong.com; 9 Sep 2008 08:13:24 +0000 Original-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 m898DLxi009956 for <931@emacsbugs.donarmstrong.com>; Tue, 9 Sep 2008 01:13:22 -0700 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KcyJx-0002xV-VV; Tue, 09 Sep 2008 04:11:33 -0400 In-reply-to: <48C59543.2020907@gmx.at> (message from martin rudalics on Mon, 08 Sep 2008 23:12:35 +0200) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Tue, 09 Sep 2008 04:27:37 -0400 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:20375 Archived-At: > 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. I suppose the byte-compiler should either refrain from using `display-warning' That would be very drastic and cause a lot of inconvenience in the normal situation where there is no bug! or, if `pop-up-windows' and `pop-up-frames' are nil, not display a warning until compilation is complete. The solution that occurs to me is that `display-warning' should bind `pop-up-windows' to t in that case.