From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: [feature/internal-msys] thoughts of a more function windows package Date: Tue, 26 Jan 2021 08:35:31 -0800 Message-ID: <86ft2n64h8.fsf@stephe-leake.org> References: <87pn2dq3xv.fsf@russet.org.uk> <83ft39hnk1.fsf@gnu.org> <87h7nppzjy.fsf@russet.org.uk> <838s90hhb6.fsf@gnu.org> <87zh1gircl.fsf@russet.org.uk> <83turofw8r.fsf@gnu.org> <87sg6v76fd.fsf_-_@russet.org.uk> <83czxy7530.fsf@gnu.org> <87zh12grzh.fsf@russet.org.uk> <83wnw659kw.fsf@gnu.org> <87o8higedm.fsf@russet.org.uk> <83sg6t5t86.fsf@gnu.org> <87bldh7xue.fsf@russet.org.uk> <83bldg6h0o.fsf@gnu.org> <87a6sygf0s.fsf@russet.org.uk> <83lfch2gd4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9570"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) Cc: Eli Zaretskii , Phillip Lord , Emacs Development To: Richard Copley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 26 17:38:28 2021 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 1l4RMK-0002OH-3Y for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Jan 2021 17:38:28 +0100 Original-Received: from localhost ([::1]:46696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4RMJ-0001jS-3M for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Jan 2021 11:38:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4RJc-0007pP-P6 for emacs-devel@gnu.org; Tue, 26 Jan 2021 11:35:40 -0500 Original-Received: from gateway31.websitewelcome.com ([192.185.144.28]:29581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4RJa-0002qg-FF for emacs-devel@gnu.org; Tue, 26 Jan 2021 11:35:40 -0500 Original-Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway31.websitewelcome.com (Postfix) with ESMTP id 4D2A4174083 for ; Tue, 26 Jan 2021 10:35:36 -0600 (CST) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id 4RJXltY0zDT644RJYlpfvl; Tue, 26 Jan 2021 10:35:36 -0600 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lQRUmGyzam5OdIGE7GaF1+iNkLmSZsbMDUMsIuedLh4=; b=qj8QQywNmLv+QW3iqYPpu9Js9 F52BnJnek3m6nU/ZDiQ7KRxN0YPnq8EEY7xyTxfnjtAMDJxpkxLtesI/41P0zzcnAl0QdFU7YCpVc T6MgraL94m4TaajeDr8+OVLO+5FA0ESReYNRarpU3uE/KwYTXnlBk8Gn6qjybgPaChQ9xE87RB+1l HtZN1Dpg8cxuVXX8IeKjvEJg5+zAsgOlcIp295Jmh8lr+osnlc7HnNynBeCnMnIhmcnrGBgLoGaSt n+vdXEEDboAtf/DmiE0wL3EVu+7AWNn97+d5wliWAYZE801qcF9juwHHD4zESLgbRnZcoxId4avDd xpUpUP5eQ==; Original-Received: from [76.77.182.20] (port=57705 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l4RJX-0039XG-Hu; Tue, 26 Jan 2021 09:35:35 -0700 In-Reply-To: (Richard Copley's message of "Mon, 25 Jan 2021 20:01:56 +0000") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 76.77.182.20 X-Source-L: No X-Exim-ID: 1l4RJX-0039XG-Hu X-Source-Sender: (Takver4) [76.77.182.20]:57705 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 3 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: neutral client-ip=192.185.144.28; envelope-from=stephen_leake@stephe-leake.org; helo=gateway31.websitewelcome.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:263474 Archived-At: Richard Copley writes: > On Mon, 25 Jan 2021 at 15:21, Eli Zaretskii wrote: >> > From: Phillip Lord >> > Eli Zaretskii writes: > >> > >> Would it be easier to have Emacs allow me to successfully update PATH >> > >> during run? >> > > >> > > Update how? >> > >> > Using some magic that doesn't exist at the current time. I mean a way >> > like did (by fiddling with setenv) that doesn't suffer the problems that >> > it causes. >> >> I don't think this magic can exist. But if someone knows, let them >> speak up. > > No magic is needed. Just change exec-path and the PATH environment > variable matching values, not forgetting to add Emacs' libexec dir to > exec-path. I have code in my init file to select different paths, > because different toolchains that I want to run in Emacs require > different incompatible paths. It doesn't cause any problems, and > everything behaves as you expect. I do the same; I sometimes change PATH after init when I change projects. -- -- Stephe