From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#40099: 28.0.50; [feature/native-comp] Different working dir of .eln files is not expected by pdf-tools Date: Wed, 08 Apr 2020 18:22:53 +0000 Message-ID: References: <87imj3wl0t.fsf@localhost> <871rppx2i1.fsf@localhost> <87sghet1uy.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="36629"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 40099@debbugs.gnu.org, Stefan Monnier To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 08 20:23:10 2020 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 1jMFLy-0009Qc-9w for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Apr 2020 20:23:10 +0200 Original-Received: from localhost ([::1]:39440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMFLx-0003RS-4y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Apr 2020 14:23:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56801) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMFLr-0003RK-8y for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2020 14:23:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMFLq-0004CY-AL for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2020 14:23:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41359) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jMFLq-0004CO-7c for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2020 14:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jMFLq-0005SY-3z for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2020 14:23: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: Wed, 08 Apr 2020 18:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40099 X-GNU-PR-Package: emacs Original-Received: via spool by 40099-submit@debbugs.gnu.org id=B40099.158637017720961 (code B ref 40099); Wed, 08 Apr 2020 18:23:02 +0000 Original-Received: (at 40099) by debbugs.gnu.org; 8 Apr 2020 18:22:57 +0000 Original-Received: from localhost ([127.0.0.1]:52905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMFLl-0005S1-80 for submit@debbugs.gnu.org; Wed, 08 Apr 2020 14:22:57 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:64694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMFLj-0005Rt-I2 for 40099@debbugs.gnu.org; Wed, 08 Apr 2020 14:22:56 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 038IMsJF001604 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 8 Apr 2020 18:22:54 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 038IMrJv015088; Wed, 8 Apr 2020 18:22:53 GMT In-Reply-To: <87sghet1uy.fsf@localhost> (Ihor Radchenko's message of "Wed, 08 Apr 2020 23:48:37 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:178146 Archived-At: Ihor Radchenko writes: >> We could lie (set `load-file-name` to point to the source file, for >> example) or introduce some function to go from the `load-file-name` to >> the "intended" origin (something like the name of the source file) and >> update all packages to use that function? > > Is it even possible for a package to get the source file location > without relying on load-file-name pointing to the same folder with the > source file? I mean using the currently available Emacs functionality. > > Best, > Ihor Hi Ihor, Which is the "Emacs functionality to do that"? Is there any other way that is not using `load-file-name`? Andrea -- akrl@sdf.org