From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#66912: With `require', the byte compiler reports the wrong file for errors. Date: Tue, 05 Nov 2024 09:06:23 -0500 Message-ID: References: <86ldxxub5o.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11782"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Alan Mackenzie , 66912@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 05 15:07:25 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t8KDL-0002u1-Mp for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Nov 2024 15:07:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8KD1-00013L-Oi; Tue, 05 Nov 2024 09:07:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t8KD0-00012y-DJ for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 09:07:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t8KD0-0003IP-4e for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 09:07:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=maZ+4oyGoNs7BBF94px6VmpOJY9wYvxVkbLFxsRk9lM=; b=sr3f1A51jzMvmo3FLOPJXyDeNV4+5HL8LQmedvWlllzr4az2OdUfJz/WqM5jxzpFe2q3xpSpZoUW48ltsyCebD/e5oBNfrjx82p4XCphKvNPdxi4p13GBGXLN50MI9Sc5DVC6YwN6FtEvs7HlNEOVGGGRiBJgxOmcbw5NIKte3IbxVHOWP622W5iwSQa6Oy3crjaYLadixJBJORNmo58izErDTESTmqRS8no3Y7JJAhHf5MEymfeWN/riXsJxoNJRS/rnjttbJdxDd/EIAymqQ2ACFGVVqNPQNQd3PJ+RMWHgnpu7m0qBm9OuMa9RTAmgPWLYKsYlzl1ErtTY3Cl4g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8KCz-0000GH-VA for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 09:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Nov 2024 14:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66912 X-GNU-PR-Package: emacs Original-Received: via spool by 66912-submit@debbugs.gnu.org id=B66912.1730815599998 (code B ref 66912); Tue, 05 Nov 2024 14:07:01 +0000 Original-Received: (at 66912) by debbugs.gnu.org; 5 Nov 2024 14:06:39 +0000 Original-Received: from localhost ([127.0.0.1]:43940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8KCd-0000G2-3N for submit@debbugs.gnu.org; Tue, 05 Nov 2024 09:06:39 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:50790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8KCa-0000Fh-Ay for 66912@debbugs.gnu.org; Tue, 05 Nov 2024 09:06:37 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id C9C24100180; Tue, 5 Nov 2024 09:06:27 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1730815586; bh=RwLvguz3tsAXRryqtW37mTsyysW2H/KdpqIpmrhSpxo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=mk9BoqwqxUre2fu9RqDPlZMFpEA61LlKSGsHUBe0QKPLTfOOxgo0rOzzSVvRfmUFU nuo9EulbI0EYJhaSUZy/kg0OMckx5TPoI8qy1K2YA4DbUNHoju3ix3UnHSKuaEBpvT 1mKk36eFejJyU9JsYUc3l/75ry6ymnpAdAmhZ47e4ETseuKEnmdS+UgIy2s6XnOjRw PQ65Ryc08tF6zVvT0Km8BOJAiIBMr8c+a2KKoDb3WLtjoXlON54v/anEXR5xKmNV/U 92P8GH+a+tldMGWEQJfd7Yai4eexhH08MFQWcQuCi/ONhU/ZRyGzEmGFHTck6lNyiC xOZKc83KcCZAQ== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B7CC7100043; Tue, 5 Nov 2024 09:06:26 -0500 (EST) Original-Received: from pastel (104-195-225-43.cpe.teksavvy.com [104.195.225.43]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8C2531202EF; Tue, 5 Nov 2024 09:06:26 -0500 (EST) In-Reply-To: <86ldxxub5o.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 05 Nov 2024 14:18:11 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294904 Archived-At: >> +DEFUN ("prefix-load-file-names", Fprefix_load_file_names, >> + Sprefix_load_file_names, 1, 1, 0, >> + doc: /* Prefix the string BASE_STRING with a message about each >> +file currently being loaded. Return the resulting string and reset this >> +information to null. */) > > What "this information"? Oh, also, I missed it but: "file currently being loaded" is not right (by the time we use this function, we're usually not loading the file any more, because of the error: we already unwound the stack and exited the `load`s). > Btw, why isn't this function marked as internal by double-dash? > Or did you want to document it? Given its odd calling convention (it strongly depends on timing and on the current implementation strategy), I'd recommend a double dash because if we ever care to fix its shortcomings we'd have to change it in an incompatible way. Stefan