From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ludwig, Mark" Newsgroups: gmane.emacs.help Subject: RE: Compilation warnings of ELisp seem wrong and misleading Date: Wed, 1 Apr 2015 11:45:00 +0000 Message-ID: References: <87iodij8cf.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1427888734 28136 80.91.229.3 (1 Apr 2015 11:45:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Apr 2015 11:45:34 +0000 (UTC) To: Emanuel Berg , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 01 13:45:23 2015 Return-path: Envelope-to: geh-help-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 1YdH5F-0003fh-3X for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Apr 2015 13:45:21 +0200 Original-Received: from localhost ([::1]:51456 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdH5E-0001Ez-CU for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Apr 2015 07:45:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdH53-0001EZ-AG for help-gnu-emacs@gnu.org; Wed, 01 Apr 2015 07:45:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdH4y-00075n-Hl for help-gnu-emacs@gnu.org; Wed, 01 Apr 2015 07:45:09 -0400 Original-Received: from usslmhub002.ugs.com ([134.244.32.85]:58983 helo=ugs.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdH4y-000712-7j for help-gnu-emacs@gnu.org; Wed, 01 Apr 2015 07:45:04 -0400 Original-Received: from USSLMMBX002.net.plm.eds.com (161.134.138.62) by USSLMHUB002.net.plm.eds.com (134.244.32.85) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 1 Apr 2015 06:46:03 -0500 Original-Received: from USSLMMBX003.net.plm.eds.com ([169.254.2.175]) by USSLMMBX002.net.plm.eds.com ([169.254.1.123]) with mapi id 14.03.0224.002; Wed, 1 Apr 2015 06:45:01 -0500 Thread-Topic: Compilation warnings of ELisp seem wrong and misleading Thread-Index: AQHQa00UwUskBuT4QGSNSCDnD05eE503U/xQ In-Reply-To: <87iodij8cf.fsf@debian.uxu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [146.122.224.86] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 134.244.32.85 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103478 Archived-At: "Emanuel Berg" writes: > As for "should you compile your code?": one of the > reasons to do that apart from the supposed but seldom > noticed gains is that you can improve the quality of > your code and become a better lisper. It is > automatized feedback. And, because of that, it is even > more important that the error/warning messages > are understandable. In spite of pointing to the wrong source lines, the warnings were basically correct. Is there a way to get the warnings without writing a .elc file? I ask, because some time in the last few years, this list convinced me that compiling my init file was a bad idea. I've lost track of /why/. (*Sigh*) I /think/ it has to do with the error reporting, or maybe it predates my addition of the little customization that automatically byte-compiles a .el file if there's already a corresponding .elc file, so there's little risk that the .elc gets picked up when it's older than the source. /That/ behavior (with its little /completely/ /useless/ warning that the .el is newer) drives me crazy! Thanks, Mark