From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Schmidt Newsgroups: gmane.emacs.bugs Subject: bug#12371: 24.2.50; macroexpand-all reporting warnings to *Compile-Log* Date: Thu, 6 Sep 2012 14:58:22 +0100 (BST) Message-ID: <87y5knb6dg@ch.ristopher.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346939951 25038 80.91.229.3 (6 Sep 2012 13:59:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2012 13:59:11 +0000 (UTC) To: 12371@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 06 15:59:13 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T9cbw-00017z-3m for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Sep 2012 15:59:12 +0200 Original-Received: from localhost ([::1]:44652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9cbs-0003RA-WC for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Sep 2012 09:59:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9cbh-0003Qq-HW for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2012 09:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9cbb-0002E7-1x for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2012 09:58:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9cba-0002Dw-UQ for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2012 09:58:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T9cbm-0004h1-Bk for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2012 09:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Schmidt Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Sep 2012 13:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12371 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134693993418023 (code B ref -1); Thu, 06 Sep 2012 13:59:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Sep 2012 13:58:54 +0000 Original-Received: from localhost ([127.0.0.1]:44166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T9cbb-0004gb-S3 for submit@debbugs.gnu.org; Thu, 06 Sep 2012 09:58:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48234) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T9cba-0004gV-4R for submit@debbugs.gnu.org; Thu, 06 Sep 2012 09:58:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9cbM-0002C9-Tf for submit@debbugs.gnu.org; Thu, 06 Sep 2012 09:58:37 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:54222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9cbM-0002C5-Qg for submit@debbugs.gnu.org; Thu, 06 Sep 2012 09:58:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9cbH-0003QG-4l for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2012 09:58:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9cbB-0002BM-9P for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2012 09:58:31 -0400 Original-Received: from ristopher.com ([146.185.21.93]:55186 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9cbB-0002BG-0j for bug-gnu-emacs@gnu.org; Thu, 06 Sep 2012 09:58:25 -0400 Original-Received: by saturn.ch.ristopher.com (Postfix, from userid 0) id D9FCD20D4F; Thu, 6 Sep 2012 14:58:22 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ch.ristopher.com; s=mail; t=1346939902; bh=F8XxC/bOuS73BwlwjTVGQdq40YL8DviRLLCOmh/Rt5o=; h=From:To:Subject:Message-ID:MIME-Version:Content-Type:Date; b=Ixsqu20EL3IJgmLqhPqQTZiRXeK7d7P8TbI7iQ6ZNPEABgrJz8TtqptDieMrF8iKq lypaFwecVflMjz7jeuYPCZqaOOlFDXySUeT7XKz1C+SquS8HzmTNUMRkOviFx+cv+f OqbYvrc8IxdFzDfQ7seh6LbhhMWxo7vf35IN8P4Y= Mail-Followup-To: bug-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63847 Archived-At: emacs -q M-: (macroexpand-all '(mapc '(lambda ()) nil)) RET Debugger entered--Lisp error: (void-function byte-compile-log-warning) emacs -q M-x load-library RET bytecomp RET M-: (macroexpand-all '(mapc '(lambda ()) nil)) RET A *Compile-Log* buffer appears, with the following content Warning: (lambda nil ...) quoted with ' rather than with #' This is utterly confusing. There is no compilation going on. (Another user experience regarding this issue can be found in bug report 12362 - <87392vtj24.fsf@jidanni.org>.) macroexp--expand-all, which is the originator of the warning, calls byte-compile-log-warning without consulting byte-compile-warnings. I think the warning message should include a hint that it was generated by macroexpanding code and byte-compile-warnings should be consulted as well. GNU Emacs 24.2.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2012-09-06. Christopher