From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.devel Subject: Re: Nonsensical byte compiler warning. Date: Thu, 05 Apr 2007 09:55:55 +0200 Message-ID: <87r6qzqmpg.fsf@gmx.at> References: <85ps6okoe5.fsf@lola.goethe.zz> <87lkhcj791.fsf@stupidchicken.com> <87tzvwvj6c.fsf@gmx.at> <861wj04qcq.fsf@lola.quinscape.zz> <873b3gpn4u.fsf@gmx.at> <86fy7g34tk.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175759768 5480 80.91.229.12 (5 Apr 2007 07:56:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Apr 2007 07:56:08 +0000 (UTC) Cc: acm@muc.de, cyd@stupidchicken.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 05 09:56:06 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HZMpC-00028T-5L for ged-emacs-devel@m.gmane.org; Thu, 05 Apr 2007 09:56:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZMsX-0006YM-Fv for ged-emacs-devel@m.gmane.org; Thu, 05 Apr 2007 03:59:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HZMsT-0006Wr-6Y for emacs-devel@gnu.org; Thu, 05 Apr 2007 03:59:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HZMsR-0006UC-Ep for emacs-devel@gnu.org; Thu, 05 Apr 2007 03:59:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZMsR-0006U8-7j for emacs-devel@gnu.org; Thu, 05 Apr 2007 03:59:27 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HZMp4-0004js-8e for emacs-devel@gnu.org; Thu, 05 Apr 2007 03:55:58 -0400 Original-Received: (qmail invoked by alias); 05 Apr 2007 07:55:56 -0000 Original-Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO enterprise) [62.178.240.212] by mail.gmx.net (mp026) with SMTP; 05 Apr 2007 09:55:56 +0200 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX1/4gJBV20H4JDKd5HuzyvxgiTfwOX0/kNaDMJZWdr UELQ0oysw/hiLu In-Reply-To: (Richard Stallman's message of "Thu\, 05 Apr 2007 02\:52\:45 -0400") X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69081 Archived-At: Richard Stallman writes: > I don't know how hard it will be to make this useful line number > appear, but someone should investigate and _try_ to fix it. Warnings stemming from the optimiser are commonly restricted to defun-level positional information. For example, byte compiling: (defun f () (message "hi") (quote 0 1) (let ((x 0 1)))) gives two warnings (both to the defun). Should these be fixed too?