From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#44128: [feature/native-comp] Date: Sat, 17 Apr 2021 00:59:02 +1200 Message-ID: References: <87eelri6l8.fsf@bernoul.li> <574a5ce8-59da-6329-3f94-49a94496f7a9@orcon.net.nz> <834kg8yr7u.fsf@gnu.org> <710dd7f3-c058-646d-be97-61aaccc076c0@orcon.net.nz> <83r1jby7su.fsf@gnu.org> <1c7af255-8294-39a3-8a7c-8ec938f81b85@orcon.net.nz> <83mttzy5gm.fsf@gnu.org> <39a1a9f8-7ea5-b476-85b7-6639ace8d7d5@orcon.net.nz> <83y2diwwml.fsf@gnu.org> <850ca744-dfdd-f6d5-bae5-5614eb5a3d77@orcon.net.nz> <83v98mwhdu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16381"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: jonas@bernoul.li, 44128@debbugs.gnu.org, akrl@sdf.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 16 15:00:34 2021 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 1lXO5K-00049V-8W for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Apr 2021 15:00:34 +0200 Original-Received: from localhost ([::1]:43770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXO5J-0005SH-89 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Apr 2021 09:00:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXO4o-0005S6-Pz for bug-gnu-emacs@gnu.org; Fri, 16 Apr 2021 09:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXO4o-0003e5-IR for bug-gnu-emacs@gnu.org; Fri, 16 Apr 2021 09:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXO4o-0006li-Fd for bug-gnu-emacs@gnu.org; Fri, 16 Apr 2021 09:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Apr 2021 13:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44128 X-GNU-PR-Package: emacs Original-Received: via spool by 44128-submit@debbugs.gnu.org id=B44128.161857795625935 (code B ref 44128); Fri, 16 Apr 2021 13:00:02 +0000 Original-Received: (at 44128) by debbugs.gnu.org; 16 Apr 2021 12:59:16 +0000 Original-Received: from localhost ([127.0.0.1]:40266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXO40-0006kA-AV for submit@debbugs.gnu.org; Fri, 16 Apr 2021 08:59:16 -0400 Original-Received: from smtp-4.orcon.net.nz ([60.234.4.59]:33829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXO3u-0006jh-Ko for 44128@debbugs.gnu.org; Fri, 16 Apr 2021 08:59:11 -0400 Original-Received: from [101.53.216.162] (port=52946 helo=[192.168.20.103]) by smtp-4.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1lXO3r-0003Lq-6M; Sat, 17 Apr 2021 00:59:03 +1200 In-Reply-To: <83v98mwhdu.fsf@gnu.org> Content-Language: en-GB X-GeoIP: NZ X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:204144 Archived-At: On 17/04/21 12:20 am, Eli Zaretskii wrote: >> For clarity, by the directory "where it was invoked" do you mean >> the arbitrary directory from which the user runs "emacs", or do >> you mean the directory containing the (real) emacs executable? > > The latter, of course. > > We never look in CWD, unless it happens to be invocation-directory. My concerns were all due to a misunderstanding, then. Plus a lack of familiarity with the `invocation-directory' variable, which would have clued me in. FWIW I think that mis-interpreting "where it was invoked" and similar phrases as meaning "where the user ran 'emacs' from" is a particularly easy mistake to make if you don't already know better, so that could be a good thing to habitually write as `invocation-directory' to steer people in the right direction. Sorry for the noise.