From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: scratch/accurate-warning-pos: Solid progress: the branch now bootstraps. Date: Sat, 01 Dec 2018 14:56:55 -0500 Message-ID: References: <23334086-c0a1-7b34-4234-343719618bd1@cs.ucla.edu> <20181128120443.GA4036@ACM> <20181129220552.GI12576@ACM> <9dde4ed7-8401-6022-a668-258d48bb7726@cs.ucla.edu> <20181130185503.GA16256@ACM> <20181130220218.GB16256@ACM> <138d56b7-53df-1ea5-377c-8502245f1b6b@cs.ucla.edu> <5C0239DA.4030907@gmx.at> <20181201124727.GC5102@ACM> <5C02962C.5040505@gmx.at> <5C02B73E.7000806@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1543694118 24035 195.159.176.226 (1 Dec 2018 19:55:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Dec 2018 19:55:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: cpitclaudel@gmail.com, Paul Eggert , michael_heerdegen@web.de, emacs-devel@gnu.org, Alan Mackenzie , Eli Zaretskii To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 01 20:55:14 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gTBMA-00068w-0F for ged-emacs-devel@m.gmane.org; Sat, 01 Dec 2018 20:55:14 +0100 Original-Received: from localhost ([::1]:42378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTBOG-0003CV-By for ged-emacs-devel@m.gmane.org; Sat, 01 Dec 2018 14:57:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTBO8-0003CP-F3 for emacs-devel@gnu.org; Sat, 01 Dec 2018 14:57:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTBO5-0006Qn-BM for emacs-devel@gnu.org; Sat, 01 Dec 2018 14:57:16 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:47109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTBO5-0006Qj-7O; Sat, 01 Dec 2018 14:57:13 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id wB1Juua7014099; Sat, 1 Dec 2018 14:56:56 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 2FCE665481; Sat, 1 Dec 2018 14:56:55 -0500 (EST) In-Reply-To: <5C02B73E.7000806@gmx.at> (martin rudalics's message of "Sat, 01 Dec 2018 17:30:54 +0100") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6430=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6430> : inlines <6975> : streams <1805891> : uri <2758706> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231577 Archived-At: >> the problem is not "the byte-compiler needs line >> numbers" but "the code that emits the warnings needs line numbers" and > If "the code that emits the warnings needs line numbers" and getting > that code right is hard, then why burden the byte compiler with it and > indirectly the code it produces? Alan's solution doesn't burden the byte-compiler (or any other code that would emit the warnings): it slows down execution of every other code instead. That's its main/sole problem (in other respects, it's "perfect" in that it is very nicely localized). Stefan