From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#66750: Unhelpful text in C-h v for variables with a lambda form as value Date: Thu, 02 Nov 2023 13:12:37 -0400 Message-ID: References: <83il6k8yyd.fsf@gnu.org> <837cn08o13.fsf@gnu.org> <831qd88dt5.fsf@gnu.org> <83wmv06qvs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35636"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Alan Mackenzie , 66750@debbugs.gnu.org, monnier@iro.umontreal.ca, stefankangas@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 02 18:13:59 2023 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 1qybGX-0008zv-J3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Nov 2023 18:13:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qybG8-0007ub-H6; Thu, 02 Nov 2023 13:13:32 -0400 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 1qybG4-0007u9-3G for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 13:13:28 -0400 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 1qybG3-00079p-R7 for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 13:13:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qybGc-0001PQ-7e for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 13:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Nov 2023 17:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66750 X-GNU-PR-Package: emacs Original-Received: via spool by 66750-submit@debbugs.gnu.org id=B66750.16989452025362 (code B ref 66750); Thu, 02 Nov 2023 17:14:02 +0000 Original-Received: (at 66750) by debbugs.gnu.org; 2 Nov 2023 17:13:22 +0000 Original-Received: from localhost ([127.0.0.1]:55923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qybFx-0001OP-V8 for submit@debbugs.gnu.org; Thu, 02 Nov 2023 13:13:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qybFw-0001OA-5q for 66750@debbugs.gnu.org; Thu, 02 Nov 2023 13:13:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qybFG-0006xc-B9; Thu, 02 Nov 2023 13:12:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=Bv2+mxsGbZpuPpc5/hESIRdcEG9kEUyvihJTNV89W4w=; b=Qg1xa36PqfIbHumbF/cc ++gtNukswFhxIb637hJS9YivhViE9zM4Hcff/+nWryRVjfbASSLYxZgfguHjmifUei11i1KeY2nZI cmdlWbO3n4TlA4Drq7P96yF0ewsd+kQXt34LctNYYuktlVhCVW+uI1S/CJiWs2Bi6woEUpAW8/5Q7 876Xr4Hwazp73jmOgMQtgE+xmK0ft1x/fqFWhilJ2KI1XHBIkGgyRzYpatmo3IGl/v6xnP6uClfz+ wuR7Dsh9pKcL8M+HhRZ1O1pZAqkWT2qhuVd68dMlq0/2BGQsJPiGkyglCthIhCC57US9IEuaSAoir RvbxUrARdk6Wnw==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qybFF-0005Er-TK; Thu, 02 Nov 2023 13:12:37 -0400 In-Reply-To: <83wmv06qvs.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Nov 2023 18:50:47 +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:273662 Archived-At: Eli Zaretskii writes: [...] >> > Maybe so, but if your feature doesn't bring us closer to that goal, >> > then for me personally it is much less interesting. >> >> Maybe we could put no-ops into the byte compiled format, where each no-op >> had a position argument. But that would make Emacs a bit slower. Or we >> could add an extra "debugging" field to the structure which would contain >> the position information. As with lots of things, macros would >> complicate such a scheme. In the native compiled format, isn't there >> already a standard way of writing this info? > > I don't know, but Andrea probably will. In libgccjit one can append gcc_jit_locations [1] to store filename, line and column of original code generating the statement/operator being described. These information are for native debuggers like gdb that parse object files and the stack, so I think they will not help any internal Emacs debugger. Best Regards Andrea [1]