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: [feature/internal-msys] thoughts of a more function windows package Date: Fri, 22 Jan 2021 19:03:19 +0200 Message-ID: <83bldg6h0o.fsf@gnu.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20741"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Phillip Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 22 18:06:02 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 1l2zso-0005I8-I2 for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jan 2021 18:06:02 +0100 Original-Received: from localhost ([::1]:60382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2zsl-0006sK-Md for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jan 2021 12:06:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2zqF-0004uJ-0K for emacs-devel@gnu.org; Fri, 22 Jan 2021 12:03:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51151) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2zqE-0004XN-Fq; Fri, 22 Jan 2021 12:03:22 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2542 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l2zqD-0005MP-Tv; Fri, 22 Jan 2021 12:03:22 -0500 In-Reply-To: <87bldh7xue.fsf@russet.org.uk> (message from Phillip Lord on Fri, 22 Jan 2021 16:14:33 +0000) 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:263282 Archived-At: > From: Phillip Lord > Cc: emacs-devel@gnu.org > Date: Fri, 22 Jan 2021 16:14:33 +0000 > > >> > Next, by "msys" you mean all those non-native programs that depend on > >> > msys-1.0.dll? That's again meant for MinGW developers, not "normal" > >> > users. > >> > >> Yes. Because it's got all the packages and tools and as far as I can > >> see, they work with Emacs. > > > > They mostly work, until they don't. Like with Cygwin, there are > > subtle incompatibilities, mainly in file names and in communications > > with subprocesses and response to "signals". Encoding defaults are > > also different. > > That's true for the msys2 commands but not the mingw64 ones? Yes. That's why I asked about msys-1.0.dll: the programs that depend on that aren't mingw64 (native) programs. > > The only way I know of is to distribute a program that writes into the > > Registry. Don't forget that there are system-wide variables and > > variables specific to the current user. And some systems have the > > former locked down and the latter requires a UAC elevation. Good luck > > (you will need it) with successfully negotiating all these obstacles. > > Would it be easier to have Emacs allow me to successfully update PATH > during run? Update how?