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: Proposal for 'package-isolate' command Date: Fri, 18 Aug 2023 08:44:36 +0300 Message-ID: <83ttsw52gr.fsf@gnu.org> References: <87r0oftgye.fsf@posteo.net> <87350vt1wz.fsf@posteo.net> <871qgen1ln.fsf@posteo.net> <87edke4mou.fsf@posteo.net> <87wmy6kuan.fsf@posteo.net> <87wmy6w070.fsf@posteo.net> <87zg2sjleg.fsf@posteo.net> <87pm3nlbm7.fsf@posteo.net> <87zg2ri9g9.fsf@posteo.net> <87bkf7b7ls.fsf@posteo.net> <87v8dfi6zy.fsf@posteo.net> <877cpvb361.fsf@posteo.net> <87pm3mj0ot.fsf_-_@posteo.net> <87v8de9qel.fsf@posteo.net> <87pm3mgj8d.fsf@posteo.net> <87a5upojjc.fsf@posteo.net> <871qg1oi61.fsf@posteo.net> <87y1i9fs8v.fsf@posteo.net> <874jkwvs01.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6015"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 18 07:45:31 2023 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 1qWsId-0001Pp-4P for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Aug 2023 07:45:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWsHq-0008IR-G5; Fri, 18 Aug 2023 01:44:42 -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 1qWsHb-0008Ff-1l for emacs-devel@gnu.org; Fri, 18 Aug 2023 01:44:32 -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 1qWsHa-0002mW-Po; Fri, 18 Aug 2023 01:44:26 -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=4CUwdg8XUXAgs+DPJnD3D5g1m56SpwQ6eRL8r44OeYk=; b=G39qoqf8C3S6 DBPOI1OjCvyVzX2R6zXaY0lovZR1wMdpecS45rLckb8/Ta2QGehm+3xi6JFmIHLJ3d1aA0fxbYIDF DYyRfKBKECJiSv6fDsCDPD60A64qGmgF9p0ng7PduI88n8XORbr4HVMTSvNrkeYyMwYyrxmlNLQ76 Zq3tWsnngl8f3Zj+8ClY8THhn20LRvVc+cf17MRySD4Ef3EQ5NqlBZ+ttQSwgMgOgxet+3NDothjB n8Co4g9o2TDPhkdxOWkgsb4mUNz+kUwG0XWb0diCeJ/68pviaHRGdVuEmx42BCcNBZBOzVjQWOAr7 yvtnpIowjZFd/M+skqX3vQ==; In-Reply-To: <874jkwvs01.fsf@posteo.net> (message from Thierry Volpiatto on Fri, 18 Aug 2023 04:57:06 +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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308885 Archived-At: > From: Thierry Volpiatto > Cc: emacs-devel@gnu.org > Date: Fri, 18 Aug 2023 04:57:06 +0000 > > Another thing, you use actually > > (expand-file-name invocation-name invocation-directory) > > I suggest you use the truename of this instead as emacs can be symlinked > in some installations. It should work with the symlink name, but it is > clearer which emacs version is used. We use the above in quite a few places, including when we start async native-compilation. So if it has some problems, we had better discussed them, because I don't quite see why would the above need to use truename. If the OS succeeded to start Emacs via a symlink when the current session was started, why would it fail to start it from inside Emacs?