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: Wed, 03 Aug 2022 17:16:01 +0300 Message-ID: <835yj95s66.fsf@gnu.org> References: <83bktlnuog.fsf@gnu.org> <83ilnmfq9t.fsf@gnu.org> <83ilnd4f72.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28713"; mail-complaints-to="usenet@ciao.gmane.io" Cc: akrl@sdf.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 03 16:18:25 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 1oJFCb-0007J4-3D for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Aug 2022 16:18:25 +0200 Original-Received: from localhost ([::1]:43382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJFCZ-000845-RE for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Aug 2022 10:18:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJFAO-0005UM-Ff for emacs-devel@gnu.org; Wed, 03 Aug 2022 10:16:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45994) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJFAN-0004CC-Eh; Wed, 03 Aug 2022 10:16:07 -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=qcoo+2fkcuNyt7gsgxitY/wGnjCPtAuqUe4jIJhPmBs=; b=Q6XjiqkGAtZ1 fci5qwXUKvOSkZcVtiJUytgtDfNJFocTexpO7ecNXfdm9LrV8QbjsI/Bel3RXNl4nbwZoSk/FIDdj /ImGoYnkXCMQ+Pg1AZUJ+XVMwMmWEEgXt++RCNFKmgn8UmXnE2KmWdEj8ghjj7FJFAsF1eAM9XJeM I1gS9ddiu+SwlvcGIkuL3MYp8puWrlBW+9S/7cbtr82RR1I6kuwYRCcn+9JbQ4jb6OvSsVO/qspt0 aZpf7j2p3TXzg2ionlylLlsLePf3mlrlTSOfyRg2JEEcml3nZ/QM5rVLz1Eqz+sl0VgI+seGoxcae TGW6Fy24w4egul3SSm7Zmw==; Original-Received: from [87.69.77.57] (port=4365 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 1oJFAM-0008CZ-TW; Wed, 03 Aug 2022 10:16:07 -0400 In-Reply-To: (message from Alan Mackenzie on Mon, 1 Aug 2022 19:31:47 +0000) 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:293022 Archived-At: > Date: Mon, 1 Aug 2022 19:31:47 +0000 > Cc: Andrea Corallo , emacs-devel@gnu.org > From: Alan Mackenzie > > This is brilliant! It seems to work for me flawlessly. There's just one > slight mistake: > > [ .... ] > > > If NATIVE-P is nil, and SYMBOL was loaded from a .eln file, this > > function will return the absolute file name of that .eln file, > > if found. > > That should surely read "If NATIVE-P is non-nil, ....". > ^^^^ Yes, of course. Fixed. With this change installed, feel free to review your proposed documentation changes in this regard.