From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#66912: With `require', the byte compiler reports the wrong file for errors. Date: Tue, 5 Nov 2024 14:04:15 +0000 Message-ID: References: <86ldxxub5o.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3070"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, monnier@iro.umontreal.ca, 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:05:23 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 1t8KBO-0000gh-Np for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Nov 2024 15:05:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8KB9-0000hP-9n; Tue, 05 Nov 2024 09:05:07 -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 1t8KB6-0000gY-UE for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 09:05:05 -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 1t8KB4-0002vn-Ob for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 09:05:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:In-Reply-To:MIME-Version:References:Date:To:Subject; bh=lYjU4MEdwyxw7zrV/kIjqHe54XBsev2Vg02o1eMyzgw=; b=TFw5hrULOWGmGzAQIGBRGH2RlPE3Eug9ATOIhPLkWR9esUxuAlZLipdeLVQJdGANvnimR+MggaLWgDF+xezagNXro9nxiH8rEYFYw29HgZnAx58APtP1glC/LKqRVy4l0g0bhyh8dIKEG8zm7XEjWjwTAwjkHp1gv+9/bDFR65RKcnpW6e2ba1RyFGR4OfV+ASfPE9oPIdcZNfe3YD+shaHx0+fCf0qB1IsVTDd1/wKOui1gjKTny3WRg+JEriSkj+c6yT/7znf+dIJK/nZQsM+uWJLdkpuRMqo0v41JEeGHDSfCBGZ2rE1jYmJEfBgozb/n7z6SIaF81Hbw6Y+RUA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8KB4-00008m-HL for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 09:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Nov 2024 14:05:02 +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.1730815466522 (code B ref 66912); Tue, 05 Nov 2024 14:05:02 +0000 Original-Received: (at 66912) by debbugs.gnu.org; 5 Nov 2024 14:04:26 +0000 Original-Received: from localhost ([127.0.0.1]:43928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8KAU-00008M-0g for submit@debbugs.gnu.org; Tue, 05 Nov 2024 09:04:26 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:39413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8KAR-00008G-Ex for 66912@debbugs.gnu.org; Tue, 05 Nov 2024 09:04:24 -0500 Original-Received: (qmail 85864 invoked by uid 3782); 5 Nov 2024 15:04:16 +0100 Original-Received: from muc.de (p4fe159f4.dip0.t-ipconnect.de [79.225.89.244]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 05 Nov 2024 15:04:16 +0100 Original-Received: (qmail 8758 invoked by uid 1000); 5 Nov 2024 14:04:15 -0000 Content-Disposition: inline In-Reply-To: <86ldxxub5o.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:294902 Archived-At: Hallo, Eli. On Tue, Nov 05, 2024 at 14:18:11 +0200, Eli Zaretskii wrote: > > Cc: acm@muc.de, 66912@debbugs.gnu.org > > Date: Mon, 4 Nov 2024 21:08:35 +0000 > > From: Alan Mackenzie > > Here's the amended patch. It's a lot shorter (and easier) than the > > previous version. I would like to commit it as the fix to bug#66912. > On master, I presume? Not on emacs-30, please. Yes, on master. It's not a documentation fix, and it's not a trivial fix which is bound to be right. > > +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"? It's the variable Vloads_still_in_progress which I want to avoid exposing to the Lisp world. I think I need to find a better way to express that. But I've become a little uneasy about the way I handle that variable, and think I need to bind it in the command loop. Please see my (not yet written) reply to Stefan M's last post. > Btw, why isn't this function marked as internal by double-dash? Or > did you want to document it? It's used by other libraries, notably the debugger and the byte compiler. > Thanks. -- Alan Mackenzie (Nuremberg, Germany).