From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Emacs 25.2, win64, env vars Date: Mon, 24 Jul 2017 17:20:34 -0400 Message-ID: References: <83r2xoi5i5.fsf@gnu.org> <837ezfjaoy.fsf@gnu.org> <83inil9cg2.fsf@gnu.org> <83eft78b05.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1500931292 28118 195.159.176.226 (24 Jul 2017 21:21:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Jul 2017 21:21:32 +0000 (UTC) Cc: Eli Zaretskii , Emacs developers To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 24 23:21:29 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZkn7-0006rj-6f for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2017 23:21:25 +0200 Original-Received: from localhost ([::1]:57090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZknC-0004Hd-Kr for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2017 17:21:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZkmM-0004GQ-Rf for emacs-devel@gnu.org; Mon, 24 Jul 2017 17:20:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZkmM-0002cs-07 for emacs-devel@gnu.org; Mon, 24 Jul 2017 17:20:38 -0400 Original-Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]:32919) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZkmK-0002cU-9N; Mon, 24 Jul 2017 17:20:36 -0400 Original-Received: by mail-oi0-x22a.google.com with SMTP id a9so36023128oih.0; Mon, 24 Jul 2017 14:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Hj6BPXjnGOIUuUY1CVtoAghT9nWglJ+wSSyIXev97Ik=; b=aGHTmroGGBKCXKJEYbYbhN7f7sEKKq3uLFZ0q5pcCy4fCQYQ72CZEjEcDqOGLVgrMM c0RT6qUEwmXk8mLhjaFhFI1Zt6bNQm71ISegXxcvbqh+i5T1b6Vaud6V2CE+nI20g8P4 8IryTVPTKnJ5Faen0IP5rF2rtMsDHLk1BGfTooliE1KGerG2Ee9ivRlOAzE+0XLtiMtR aCTkwK7vaamF9Lw7gKQvLFexZNzOHztHPAakCgcOIM+NTGwJiBSdYv0M4YLL+sw5+Zkf tYveZBNndf1+NrCnkxevYkHbjMwoDmYzmtl92nAEHQye3S0jj6QMQO7l1KogPHcmvbnP obBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Hj6BPXjnGOIUuUY1CVtoAghT9nWglJ+wSSyIXev97Ik=; b=FwyKgSKc0j16jqtwugY5uBzaefndd3Aw4FotZmxu1ZuCnSKFnn4pGK4o0fwXJSk8gq LKwIHvl0moeEpaUNtn7+rhLAOPzc+AeJ2Efi6v1v/QH/AnjyYqWK/sAjVK0uanw3Af/q BqHpqatB249MtZPXnfbrVk4MaeClKN+ylPBnCNHTNO58L00RPw04j96OZpwShfzfAv6D ve4Hu9WXqg5kWIuvZQNTS4UXHKkfiI+k83HR8tDKcBtBCEQaQxBbleUZcFaifwdx8smJ DaJ0YWY2jUMBiCRk3C/N3T/xBM5gOYFrvJTZ5rnetlN5/xxAKk5PP00YUU0+LAs8qM9B b6kQ== X-Gm-Message-State: AIVw111g3XJcrV4omCdYVGpCjt8APiRSNY8hN0D0qB1rpti/wGrB2WJA +khc1O2sNwT3j5AVRbp39DnJljPtZg== X-Received: by 10.202.221.85 with SMTP id u82mr9315886oig.67.1500931235526; Mon, 24 Jul 2017 14:20:35 -0700 (PDT) Original-Received: by 10.74.113.6 with HTTP; Mon, 24 Jul 2017 14:20:34 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: vIDNbt1bdpbshX5jlEQLBfc3uVk X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217002 Archived-At: On Mon, Jul 24, 2017 at 4:34 PM, Fabrice Popineau wrote: >> > I would even recommend that emacs inherits from the desktop environment, >> > not the environment from the >> > shell that was used to run emacs. >> >> I expect this to break quite a few legitimate use cases. > > > Maybe (albeit I couldn't name them). One (somewhat hypothetical) example would be a bat file which sets up a portable HOME before starting emacs. Personally, I find it useful for testing to do 'set HOME=C:/tmp/whatever' in certain situations. Having to set the global desktop environment for this would be a pain. > My opinion (but I may well be alone) is that Emacs/win32 fiddles too much > with those unix-like environments. > This works most of the time, but it also sometimes creates surprising > situations. Using the "desktop environment" in preference to the shell environment would create more surprise for me. Do any other applications do this?