From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Managing environments (Python venv, guix environment, etc.) Date: Mon, 25 Jul 2016 02:08:00 +0300 Message-ID: <6f5ab7d7-0584-acaa-8bac-449f78f56a9f@yandex.ru> References: <87y453sy0n.fsf@earth.catern.com> <87r3arripr.fsf@earth.catern.com> <87eg6qoj2l.fsf@earth.catern.com> <878twrwigy.fsf@earth.catern.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1469401737 28951 80.91.229.3 (24 Jul 2016 23:08:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Jul 2016 23:08:57 +0000 (UTC) To: sbaugh@catern.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 25 01:08:50 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bRSVt-0001oF-RC for ged-emacs-devel@m.gmane.org; Mon, 25 Jul 2016 01:08:49 +0200 Original-Received: from localhost ([::1]:57820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRSVs-0007m1-Vi for ged-emacs-devel@m.gmane.org; Sun, 24 Jul 2016 19:08:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRSVF-0007h1-Ku for emacs-devel@gnu.org; Sun, 24 Jul 2016 19:08:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRSV9-0003ry-J2 for emacs-devel@gnu.org; Sun, 24 Jul 2016 19:08:08 -0400 Original-Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:36127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRSV9-0003ru-Bt for emacs-devel@gnu.org; Sun, 24 Jul 2016 19:08:03 -0400 Original-Received: by mail-wm0-x241.google.com with SMTP id x83so14350055wma.3 for ; Sun, 24 Jul 2016 16:08:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=Bs8KOXOIlGItkRN8Et4y00PoOm4TwRcwixRb3LrCgT4=; b=I5O4WLHMJ3gatYsuFpqo6/tw4kXhWAFjwEEBAYolucAXeFCSUWaD4WpxMNDgIosgHI 2aQCEbECSiC2JxVKaOHUwH779e0l99eF2c+KV/FSk+CrP//xNiiveZAKeSJjlqZxItOp J1Ce1k/qVrr8qFFEYCDsQi2MuwArzIPmzkk9zhhY0FpTsdocmkO8SA1LS3RV5vfQaTWk ueNh5Lm47DnVa7SV0fwAQItD3g0ZX+woPGZNE90U5k9o+SeNm4pChVXdTU3hyy9XAV8/ ApnBXIdfZb/0wJIdmSxHT3+OG0s36W9DhMG0ywLmVuGUE9BhHXqb524FSeTIimf81yIJ IZ7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Bs8KOXOIlGItkRN8Et4y00PoOm4TwRcwixRb3LrCgT4=; b=BUTzjV8S6Ulwk72Ivk1lvpqjzDm9kxA6QTW5ZWEtBmwvN6ZjM1ZvlGSIdg6kmLNRUo vYif6jhiFtRjrWRkBOTA8iOSeiDmILtFCTOTOwdUTr1CJswakN9GqDjmyzVsx+USO5dh tGg3ptcSZyHCL/A+9vzKIFTWGguvuNAf8L7/7yGCX/iqI+z0cfMJHxOsgPTUzAhZ1TNd HmV9GaGTAZGMgkNPvDvtLZScFX10C/LlDZlbW5wEDk70XydtzgIEL1joKIm2qr0/QqYk DJ/PemqTW692OufHM7idjxUvEuIBVXS7syI+66RqJ8PjgfcdxGmxYgMdS+45lgUf0st5 hRPg== X-Gm-Message-State: AEkooutbODlspex+a7RRGZZfzmLLHp30rHcUBO/+hVvwCwBJsVQPLunpWa8GKOv6EgQuvA== X-Received: by 10.28.47.199 with SMTP id v190mr17210267wmv.28.1469401682765; Sun, 24 Jul 2016 16:08:02 -0700 (PDT) Original-Received: from [192.168.1.2] ([185.105.173.135]) by smtp.googlemail.com with ESMTPSA id 3sm24370709wms.1.2016.07.24.16.08.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jul 2016 16:08:01 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Thunderbird/47.0 In-Reply-To: <878twrwigy.fsf@earth.catern.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::241 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:206099 Archived-At: On 07/24/2016 11:25 AM, sbaugh@catern.com wrote: >> If it's strictly "prompt the user", that might be incompatible with >> the way project.el determines the current project. > > That's something we can determine. I was thinking a dir-local would be > ideal. If it's going to be strictly directory-dependent, project.el integration could work. But then, I don't know if you want to tie environment detection to particular project implementations, such as vc-project (which is only used when there's a VCS repository). > If proper virtualenvs support turns out to require changes to core > Emacs, it can't be distributed (solely) via GNU ELPA. > > It's possible it might even require hacking on the C implementation of > the process primitives to do properly. (which I'm perfectly happy to do) Guess we'll have to see.