From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Associating module symbols with defining files Date: Wed, 12 Jun 2024 10:57:56 +0300 Message-ID: <86msnq1tkr.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3300"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Spencer Baugh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 12 09:58:16 2024 Return-path: Envelope-to: ged-emacs-devel@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 1sHIs3-0000dU-2i for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Jun 2024 09:58:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHIro-0006ZR-T1; Wed, 12 Jun 2024 03:58:00 -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 1sHIrn-0006Z0-MX for emacs-devel@gnu.org; Wed, 12 Jun 2024 03:57:59 -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 1sHIrn-0003aR-2k; Wed, 12 Jun 2024 03:57:59 -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=3llbFo2WnVxM657wN1mbmatCw61AEhjcT2G9hcedShw=; b=obI8tTQ4R5NL rjE1YbVSCURM8dE/dCv26GSmfOQw6bXqvgnyldly/ZjZcQGyQpgMUv4Ibg6VYJA4G4v8wyC0RLZuM sks2WoTWwkQaSWeGY6qm7+uetQUJD8dJtlmhmtiMo30aVqmwSW0p9zPtEgcgyZOtsyDEHd1tk+ykZ zsYAO6TYgpo5XC9ooiOuT5bns2qfXBUgB7uzDYyRcHezspLCfqd++kgQj2MV1hDi/amQdGZrOgdLi cTMFtrFqIQ5HE5HB3vr5h/GrRNl4ZdKpKzqRqpKwVO9QgVgOu9gm+uyMlej7bPR4IUsJhTEWd12QS j6RQXz64zxtzTxo++pNGZA==; In-Reply-To: (message from Spencer Baugh on Tue, 11 Jun 2024 14:00:33 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:319989 Archived-At: > From: Spencer Baugh > Date: Tue, 11 Jun 2024 14:00:33 -0400 > > > It's currently impossible to associate a symbol defined by a module with > the source file which actually defined that symbol. > > If this were possible, things like help-view-source would be able to > jump to the source code for a module-defined function. Under the hood, > ultimately we want symbol-file to return a correct filename for these > symbols. > > Instead, currently, every symbol defined by a module is "defined" by the > module .so. So jumping to source just jumps to the (compiled) .so, > which is fairly useless. > > Could this be fixed? Maybe. But please submit a feature-request bug report with all the details and a reproducer, so that we could track this issue. Thanks.