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#67455: (Record source position, etc., in doc strings, and use this in *Help* and backtraces.) Date: Mon, 4 Mar 2024 15:38:14 +0000 Message-ID: References: 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="12334"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de To: 67455@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 04 16:38:50 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 1rhAOv-0002xd-PQ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Mar 2024 16:38:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhAOh-0000yq-Lx; Mon, 04 Mar 2024 10:38:35 -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 1rhAOe-0000y0-Sb for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2024 10:38:33 -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 1rhAOe-00009y-KX for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2024 10:38:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhAP8-0001Du-1M for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2024 10:39: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: Mon, 04 Mar 2024 15:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67455 X-GNU-PR-Package: emacs Original-Received: via spool by 67455-submit@debbugs.gnu.org id=B67455.17095667394694 (code B ref 67455); Mon, 04 Mar 2024 15:39:01 +0000 Original-Received: (at 67455) by debbugs.gnu.org; 4 Mar 2024 15:38:59 +0000 Original-Received: from localhost ([127.0.0.1]:44510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhAP1-0001DZ-25 for submit@debbugs.gnu.org; Mon, 04 Mar 2024 10:38:58 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:18410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhAOw-0001DF-Dx for 67455@debbugs.gnu.org; Mon, 04 Mar 2024 10:38:54 -0500 Original-Received: (qmail 37545 invoked by uid 3782); 4 Mar 2024 16:38:15 +0100 Original-Received: from acm.muc.de (p4fe15ee5.dip0.t-ipconnect.de [79.225.94.229]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 04 Mar 2024 16:38:14 +0100 Original-Received: (qmail 16868 invoked by uid 1000); 4 Mar 2024 15:38:14 -0000 Content-Disposition: inline In-Reply-To: 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:281013 Archived-At: Hello, Eli and Stefan. On Sun, Nov 26, 2023 at 14:31:02 +0000, GNU bug Tracking System wrote: > Thank you for filing a new bug report with debbugs.gnu.org. [ .... ] I've just pushed a large commit to feature/positioned-lambdas, a work in progress commit for bug#67455, putting source position information at the start of doc strings. master was merged into it just before the commit. The main topic of the commit is putting position information into interpreted functions, and into lambda forms created at run time. Still missing is position information for defvars and defconsts, along with the same for cl-defmethods (which are complicated because the doc string has no fixed position). Also missing is the handling of Oclosures. There are also some diagnostic functions still in byte-run.el, as they are still useful. As yet, I'm not doing anything with this information, though I anticipate that will be quite easy. This commit, although it works, is unfinished, and still contains quite a few of my private change annotations, and lots of temporary changes to enable useful backtraces to be produced. make check runs without any errors. -- Alan Mackenzie (Nuremberg, Germany).