GNU logs - #71522, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#71522: 29.2.50; Allow associating module symbols with defining files
Resent-From: Spencer Baugh <sbaugh@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 12 Jun 2024 15:15:02 +0000
Resent-Message-ID: <handler.71522.B.171820529127678 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 71522
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 71522 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.171820529127678
          (code B ref -1); Wed, 12 Jun 2024 15:15:02 +0000
Received: (at submit) by debbugs.gnu.org; 12 Jun 2024 15:14:51 +0000
Received: from localhost ([127.0.0.1]:39954 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sHPgZ-0007CJ-9n
	for submit <at> debbugs.gnu.org; Wed, 12 Jun 2024 11:14:51 -0400
Received: from lists.gnu.org ([209.51.188.17]:52104)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sbaugh@HIDDEN>) id 1sHPgV-0007C8-Qd
 for submit <at> debbugs.gnu.org; Wed, 12 Jun 2024 11:14:50 -0400
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 <sbaugh@HIDDEN>)
 id 1sHPeN-0002iB-S8
 for bug-gnu-emacs@HIDDEN; Wed, 12 Jun 2024 11:12:36 -0400
Received: from mxout5.mail.janestreet.com ([64.215.233.18])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sbaugh@HIDDEN>)
 id 1sHPeK-00007W-NR
 for bug-gnu-emacs@HIDDEN; Wed, 12 Jun 2024 11:12:35 -0400
From: Spencer Baugh <sbaugh@HIDDEN>
Date: Wed, 12 Jun 2024 11:12:30 -0400
Message-ID: <iery17anqjl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com;
 s=waixah; t=1718205150;
 bh=g8Am1B65hcCnf5dNSFFaWYTBlnQh26RsJ/OMeRo9ThM=;
 h=From:To:Subject:Date;
 b=D3T842IULM2IUQcvnSyEEUAGlakcFAC2A5JC106U1qTF1xAqzAjdZNUFfTWQldxMu
 EwURWMo4piD/fL15yp2k80Q2puNTWNeLFCg/Feghhv5BxRCXh4Q0xTixyo7dV0TCNy
 NZjBgenwShxqRJ7h5KlMR3au/gdYEkCiyUmq6RzaOCDQzQYXO3js7aWfM0viburW3G
 v1EhtJdwO3f4/RON8XSTOcoV9g5mw2u0OZWAvkcxI3o6ZPA1UmR7G4115a138GuA77
 fmu1HFWwkbaWC41rh9zZpS+rhREKJ7XYu1pDqLsoy6ujVc+5ZPSXrwyKhh6dpUzPr6
 BssRWachBYGUg==
Received-SPF: pass client-ip=64.215.233.18; envelope-from=sbaugh@HIDDEN;
 helo=mxout5.mail.janestreet.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)


It's currently impossible to associate a symbol defined by a module with
the source file which actually defined that symbol.

1. Make any native module whatsoever, defining any Lisp symbols at all
2. emacs -Q -l ./your-native-module.so
3. (symbol-file your-native-module-symbol) yields "your-native-module.so"
4. If it's a function:
   C-h f your-native-module-symbol RET
5. Observe that it says "your-native-module.so" defines this function,
   and that jumping to the source via the link or "s" drops you in
   your-native-module.so.

It should instead be possible for a module to express which files
defines a symbol, so that it's possible to jump to the source for that
symbol, if it's around.


In GNU Emacs 29.2.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.15.12, Xaw scroll bars) of 2024-06-01 built on
 igm-qws-u22796a
Repository revision: fcef787a846f0c51f7443dfab6af6e18b476b166
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Rocky Linux 8.9 (Green Obsidian)




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Spencer Baugh <sbaugh@HIDDEN>
Subject: bug#71522: Acknowledgement (29.2.50; Allow associating module
 symbols with defining files)
Message-ID: <handler.71522.B.171820529127678.ack <at> debbugs.gnu.org>
References: <iery17anqjl.fsf@HIDDEN>
X-Gnu-PR-Message: ack 71522
X-Gnu-PR-Package: emacs
Reply-To: 71522 <at> debbugs.gnu.org
Date: Wed, 12 Jun 2024 15:15:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 71522 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
71522: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71522
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#71522: 29.2.50; Allow associating module symbols with defining files
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 12 Jun 2024 16:55:01 +0000
Resent-Message-ID: <handler.71522.B71522.17182112585489 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 71522
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Spencer Baugh <sbaugh@HIDDEN>
Cc: 71522 <at> debbugs.gnu.org
Received: via spool by 71522-submit <at> debbugs.gnu.org id=B71522.17182112585489
          (code B ref 71522); Wed, 12 Jun 2024 16:55:01 +0000
Received: (at 71522) by debbugs.gnu.org; 12 Jun 2024 16:54:18 +0000
Received: from localhost ([127.0.0.1]:40042 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sHREo-0001QT-7e
	for submit <at> debbugs.gnu.org; Wed, 12 Jun 2024 12:54:18 -0400
Received: from eggs.gnu.org ([209.51.188.92]:34446)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1sHREj-0001QD-Ar
 for 71522 <at> debbugs.gnu.org; Wed, 12 Jun 2024 12:54:16 -0400
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 <eliz@HIDDEN>)
 id 1sHREe-0003OC-LX; Wed, 12 Jun 2024 12:54:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=hu03jOr6wj8+9BozFcg2bo4c4U8VzLWXG/nO2tMtKyQ=; b=J65HKF2BDDS+
 35nyPhk89q6AeSDBmdAhAULlQGqRZRKC8BEeQ+ki9rEQtWgvX4y3P735JjUirHWx/WpUlCP2MBvhX
 SaSuw0CMZxvlqoXFR3QtuZPLcG4I1Oy5HhU59E6KKLBhb3DzMgKElDRODaqq64/ULqpnleGcah/cL
 7BEr7zvplZaKt8U4PsTJ/bUffvoDyz97ryei2pWdk7i1utShpVTNXcHLsohiXA8viRaVs1jWn6nte
 We8N0s3xdwBoRaIX/vz23Q7PUUaXeCH5RqueAq1wPFbyGrIPqBaUNtDdJyCpoQZbOI0B/n8+UlXOF
 lZJApjnMNSUfvyCLyCr6xg==;
Date: Wed, 12 Jun 2024 19:54:05 +0300
Message-Id: <86v82eyudu.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <iery17anqjl.fsf@HIDDEN> (message from Spencer Baugh on
 Wed, 12 Jun 2024 11:12:30 -0400)
References: <iery17anqjl.fsf@HIDDEN>
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Spencer Baugh <sbaugh@HIDDEN>
> Date: Wed, 12 Jun 2024 11:12:30 -0400
> 
> 
> It's currently impossible to associate a symbol defined by a module with
> the source file which actually defined that symbol.
> 
> 1. Make any native module whatsoever, defining any Lisp symbols at all
> 2. emacs -Q -l ./your-native-module.so
> 3. (symbol-file your-native-module-symbol) yields "your-native-module.so"
> 4. If it's a function:
>    C-h f your-native-module-symbol RET
> 5. Observe that it says "your-native-module.so" defines this function,
>    and that jumping to the source via the link or "s" drops you in
>    your-native-module.so.

I'm guessing that what Emacs knows is the directory and the file name
from which it loaded the module.  If we want to be able to find the
source file, that information needs to be recorded somewhere inside
the module, otherwise there's no way Emacs could reliably find the
sources, since the module could be stripped of all the symbolic debug
info.  Suggestions for how to implement that are welcome.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 1 Mar 2025 02:04:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 21:04:32 2025
Received: from localhost ([127.0.0.1]:55901 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1toCDQ-0001rx-Fr
	for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 21:04:32 -0500
Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:61452)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1toCDO-0001rC-QS
 for control <at> debbugs.gnu.org; Fri, 28 Feb 2025 21:04:31 -0500
Received: by mail-ed1-x533.google.com with SMTP id
 4fb4d7f45d1cf-5dec817f453so4219257a12.2
 for <control <at> debbugs.gnu.org>; Fri, 28 Feb 2025 18:04:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740794665; x=1741399465; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=8kElj5YH1JlyvzcYkYXrwSw4wQzERmaVBhOja/ln5wQ=;
 b=mygEpAU/E4SZe3wCvIfWEYJEI1Xll5qplW3eoat1ttxLGEIp6jh1CZnwJvC0+DUU3L
 I0eBcygA4VfNgW1kcG9KaV9tzW5FS4zc8NqLiRmFziDkZ7ku9W4t38CBrLgNItyWuYOd
 co70JM6Ifc/iTHzOQfkld90cLkqj/VOapQScW/RJE1rGLUy4TNamoBG2kzWePsUoPaPX
 9vrdfZLonluW4a4c/Al3VTGmErMnnhP5r0HCH7wha+qqnnGe/cMPYFsejn6/S/3kJX6W
 qge6Mhkz28WIhqJQOufQiMZw6kxVNbwPOnz8DG9/RfGpxF3HdJl7G1inE3Au8iDYe50b
 m1ng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740794665; x=1741399465;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=8kElj5YH1JlyvzcYkYXrwSw4wQzERmaVBhOja/ln5wQ=;
 b=A77yWNo8O77wkQcneT+4dvzQZrfcmqW3aE11hC7eMkXUh0wYqMHMmuh29xhYWfVs51
 M0z1VPtqyeqrU1rbJXPpgWJqNPRBjImaHxqIui1fysH6TatETwF4ho8FOociihMeM2JS
 kTvUjXXFd1iOU2KE6Zjxv1A/szFLis/CgPvcnZ7WpercDx6N/NfuOrje5zOf20ED7Sv1
 w1YMEfzykIGMo2CYEAkLShRs3LSExnSLzbTqFzsB+RTuAwEEHgs0fOgQKZiO+m01oeRj
 tL663XLfkEiLMby/G/AFE72vJOlVrKDKkeqnzIYYSDSgkjxkASsS+HCPIdm7QXX36hYX
 wYmw==
X-Gm-Message-State: AOJu0Ywt44bj/h/DvJjEkpXUK+Os5aOmH0uX/67efzkb4V6g+LHTw3Tc
 xoeNWyhqzyrL7+gwyclOESd3+3ccuWwpMfXFc8Oya0WCEdCLwLf5+aLkDKWM1haR4LBlz6kGzrG
 ahzbVUxXclOC9C+UJuITwaulXK1CoPn8Kkco=
X-Gm-Gg: ASbGncu878GXKkSQNz1Sz/DHPNTgbi+Up2rYQqIqv4ZW6GPXnimLcEeaBVEWAlh+flV
 84vBC6XBQmqoMZzzqjBLLNM7FQjYWp0EBE6EbGdwQHx3rl/PY0sIwlA49AOK/+YhqiceqKp350L
 tKkjVJHutyLmVcHbBshcCqBTWlxN8=
X-Google-Smtp-Source: AGHT+IETp5lOwg4gJfn2xZofg20mNdL8+dTDCqV2yHUyORrv3Yio9703O3MRAM8s25IwK7cGZLCkpZNHq+FD+VhAuNY=
X-Received: by 2002:a05:6402:43c6:b0:5e0:7ff3:20c with SMTP id
 4fb4d7f45d1cf-5e4d6b0cb67mr5088916a12.17.1740794664634; Fri, 28 Feb 2025
 18:04:24 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 28 Feb 2025 18:04:24 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Fri, 28 Feb 2025 18:04:24 -0800
X-Gm-Features: AQ5f1Jp7G-MuIOkCVqgwfKXHslW9OR8i_0_WEePesuU4j29bPdmu5wKVsPumxs4
Message-ID: <CADwFkmnq=Ogh7ANm2Ymw3N6su+TMMgBKuX8UP-ab9CbcHPVZEQ@HIDDEN>
Subject: control message for bug #71522
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

severity 71522 wishlist
quit





Last modified: Sat, 1 Mar 2025 02:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.