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: Wed, 10 Sep 2008 16:46:46 -0400 Message-ID: References: <1220902523.951243.11457@green> <48C59543.2020907@gmx.at> <48C79200.2000708@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 1221080948 27863 80.91.229.12 (10 Sep 2008 21:09:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2008 21:09:08 +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 Wed Sep 10 23:10:03 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 1KdWwr-0003QY-73 for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Sep 2008 23:10:01 +0200 Original-Received: from localhost ([127.0.0.1]:52503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdWvr-0007b9-3j for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Sep 2008 17:08:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdWuY-0006og-6Y for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 17:07:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdWuW-0006nW-J5 for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 17:07:37 -0400 Original-Received: from [199.232.76.173] (port=53649 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdWuW-0006nR-EF for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 17:07:36 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34825) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdWuV-0002aN-VX for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 17: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 m8AL7Xo5017694; Wed, 10 Sep 2008 14:07:33 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8AKt5cX012037; Wed, 10 Sep 2008 13:55:05 -0700 X-Loop: don@donarmstrong.com Resent-From: "Richard M. Stallman" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 10 Sep 2008 20:55:05 +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.12210797189974 (code B ref 931); Wed, 10 Sep 2008 20:55:05 +0000 Original-Received: (at 931) by emacsbugs.donarmstrong.com; 10 Sep 2008 20:48:38 +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 m8AKmZIu009967 for <931@emacsbugs.donarmstrong.com>; Wed, 10 Sep 2008 13:48:36 -0700 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KdWaM-0007US-B7; Wed, 10 Sep 2008 16:46:46 -0400 In-reply-to: <48C79200.2000708@gmx.at> (message from martin rudalics on Wed, 10 Sep 2008 11:23:12 +0200) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Wed, 10 Sep 2008 17:07: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:20445 Archived-At: > 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! I obviously meant use something different instead of `display-warning'. `display-warning' was made for uses like this. If what it does now is not right in some circumstances, we should change it to do something better. Whatever is the right thing to do for these messages, `display-warning' should do it. > The solution that occurs to me is that `display-warning' should > bind `pop-up-windows' to t in that case. This would (1) ignore a user preference That is a general preference. There is no need to be rigid about it in a special case where it leads to clearly undesirable behavior. and (2) not work when the window can't be split for some reason. That is true. Fortunately such cases are rare. `display-warning' could do something special for those cases. Perhaps just mention in the echo area that there are warnings.