From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?R=C3=BCdiger?= Sonderfeld Newsgroups: gmane.emacs.bugs Subject: bug#18969: 25.0.50; byte compiler warnings don't conform to GCS Date: Thu, 06 Nov 2014 21:27:33 +0100 Message-ID: <2099525.NlHqIGAjEz@descartes> References: <87wq79ghmr.fsf@tromey.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1415305714 17843 80.91.229.3 (6 Nov 2014 20:28:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 20:28:34 +0000 (UTC) Cc: tom@tromey.com To: 18969@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 06 21:28:27 2014 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 1XmTfO-0007ie-Qr for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Nov 2014 21:28:26 +0100 Original-Received: from localhost ([::1]:55930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmTfO-0005wc-Bg for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Nov 2014 15:28:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmTf8-0005wB-UI for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 15:28:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmTf0-00085j-RN for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 15:28:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmTf0-00085f-Nu for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 15:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XmTf0-0003To-Eu for bug-gnu-emacs@gnu.org; Thu, 06 Nov 2014 15:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?R=C3=BCdiger?= Sonderfeld Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Nov 2014 20:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18969 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Cc: Tom Tromey , 18969@debbugs.gnu.org Original-Received: via spool by 18969-submit@debbugs.gnu.org id=B18969.141530568013368 (code B ref 18969); Thu, 06 Nov 2014 20:28:02 +0000 Original-Received: (at 18969) by debbugs.gnu.org; 6 Nov 2014 20:28:00 +0000 Original-Received: from localhost ([127.0.0.1]:52101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmTex-0003TY-O2 for submit@debbugs.gnu.org; Thu, 06 Nov 2014 15:28:00 -0500 Original-Received: from ptmx.org ([178.63.28.110]:51038) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmTev-0003TP-Lc for 18969@debbugs.gnu.org; Thu, 06 Nov 2014 15:27:58 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id E78D52C739; Thu, 6 Nov 2014 21:27:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yBE-EEmDwkDp; Thu, 6 Nov 2014 21:27:54 +0100 (CET) Original-Received: from descartes.localnet (chello080109100138.16.15.univie.teleweb.at [80.109.100.138]) by ptmx.org (Postfix) with ESMTPSA id 8B6E62C706; Thu, 6 Nov 2014 21:27:52 +0100 (CET) User-Agent: KMail/4.13.3 (Linux/3.13.0-37-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: <87wq79ghmr.fsf@tromey.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:95631 On Wednesday 05 November 2014 19:58:04 Tom Tromey wrote: > The output here is missing a space after the ":". I wrote a quick fix for it. But I'm not sure if this is the best appro= ach: diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 392f6ee..d2bbefa 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -1082,7 +1082,7 @@ (defun byte-compile-warning-prefix (level entry) byte-compile-last-warned-form)))) (insert (format "\nIn %s:\n" form))) (when level - (insert (format "%s%s" file pos)))) + (insert (format "%s%s " file pos)))) (setq byte-compile-last-logged-file byte-compile-current-file byte-compile-last-warned-form byte-compile-current-form) entry) > Also I think the "W" in warning should probably not be capitalized. > I note that GCC doesn't do this. Not sure if there is a good solution for this. The warning levels are=20= predefined in the variable `warning-levels'. They could be changed to = lower=20 case but that would break cases when there is no prefix. Regards, R=C3=BCdiger