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: How does one find out what file a library has been loaded from? Date: Sun, 24 Jul 2022 18:42:00 +0300 Message-ID: <83k082frg7.fsf@gnu.org> References: <83sfmxm79z.fsf@gnu.org> <83fsiwncem.fsf@gnu.org> <83mtd3ngcw.fsf@gnu.org> <838rommjxj.fsf@gnu.org> <83k084i1ed.fsf@gnu.org> <83y1wig0y9.fsf@gnu.org> <83lesifro9.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1649"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: acm@muc.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 24 17:43:20 2022 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 1oFdlI-0000Gk-61 for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Jul 2022 17:43:20 +0200 Original-Received: from localhost ([::1]:42008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFdlG-0002MT-Sr for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Jul 2022 11:43:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFdk0-0000gU-Ln for emacs-devel@gnu.org; Sun, 24 Jul 2022 11:42:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFdjz-0002Xp-JT; Sun, 24 Jul 2022 11:42:00 -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=/uQfikE7BBq3LNvPA0ZWiaeT3PtTVqGQto02wNVtgLU=; b=jkkDYQztfObp AbUOKCMukWchDPWX0m4hU0oYscsC/xOZhUSchuRAY8Gpju/yd4Z2mailuGpis4JkeOtxWLVNmTLVr c9QSDZdAB79o288oE1r4AndsLBZBJkqkeWXEtRnjBJqGtn6RJPn9xBkdxZ8yNwc993xaiP4kZsO/K DnpG+pXOTiuvlSYdQWEgwVWpK0KkeqbPMuq9NdK3dMklbtrm6WYOuBlVjZyITMdIPlwS5yYb/Uf8a 01hCNCj01lFus2dtyJdgF8RbQqxhVJL+dx3QLv7Y5B1E6CxZtn0xOYxngUC9KI5VRdKMWTrZHSK/f PxRy6M/3YSLX/iL1yVkGgQ==; Original-Received: from [87.69.77.57] (port=3671 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFdjz-0006Ix-3I; Sun, 24 Jul 2022 11:41:59 -0400 In-Reply-To: <83lesifro9.fsf@gnu.org> (message from Eli Zaretskii on Sun, 24 Jul 2022 18:37:10 +0300) 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" Xref: news.gmane.io gmane.emacs.devel:292596 Archived-At: > Date: Sun, 24 Jul 2022 18:37:10 +0300 > From: Eli Zaretskii > CC: emacs-devel@gnu.org > > Btw, we could extend symbol-file to support a new kind of TYPE arg, > to ask about a natively-compiled symbol, and then we could return the > .eln file instead of the .elc file, when appropriate. Or maybe add a new optional argument native-p, which, if non-nil, would report the .eln file, if any, from which the symbol was loaded.