From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Managing environments (Python venv, guix environment, etc.) Date: Sat, 30 Jul 2016 09:57:38 +0300 Message-ID: <831t2br4t9.fsf@gnu.org> References: <87y453sy0n.fsf@earth.catern.com> <87r3arripr.fsf@earth.catern.com> <874m7jygot.fsf@earth.catern.com> <83oa5ox21u.fsf@gnu.org> <123d2ae9-b523-5d5b-3bf8-c6e4462270b8@yandex.ru> <87a8h7wihs.fsf@earth.catern.com> <08e690b6-56a0-1182-2560-666e3bffb2ee@yandex.ru> <87lh0qry9j.fsf@gmx.de> <87eg6hswd2.fsf@gmx.de> <87popypr3s.fsf@earth.catern.com> <83zip1rfhk.fsf@gnu.org> <87bn1gnx4q.fsf@earth.catern.com> <834m78qnh5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1469861911 22326 80.91.229.3 (30 Jul 2016 06:58:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jul 2016 06:58:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 30 08:58:27 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 1bTOE6-00080w-9Z for ged-emacs-devel@m.gmane.org; Sat, 30 Jul 2016 08:58:26 +0200 Original-Received: from localhost ([::1]:34595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTOE0-0004cO-CK for ged-emacs-devel@m.gmane.org; Sat, 30 Jul 2016 02:58:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTODV-0004Xo-Sc for emacs-devel@gnu.org; Sat, 30 Jul 2016 02:57:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTODP-0004AF-Vu for emacs-devel@gnu.org; Sat, 30 Jul 2016 02:57:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTODP-0004AB-Sd; Sat, 30 Jul 2016 02:57:43 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2177 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bTODN-0000Hv-P8; Sat, 30 Jul 2016 02:57:42 -0400 In-reply-to: (message from Stefan Monnier on Fri, 29 Jul 2016 15:20:11 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:206239 Archived-At: > From: Stefan Monnier > Date: Fri, 29 Jul 2016 15:20:11 -0400 > > >> AFAIK jka-compr.el works fine. > > Because it takes great care not to touch anything that changes the > > semantics of file names: the file name still behaves the same with and > > without jka-compr. By contrast, AFAIU environments cannot do that by > > their very nature. > > I think environments implemented via file-name-handlers-alist would only > affect process-file, start-file-process, and maybe a couple more > functions, and wouldn't otherwise "change the semantics of file names" > any more than jka-compr. They must change the semantics, because there's no other way of making an environment be a property of a file name. Look at the syntax suggested for that, and you will see it. A file 'foo' will no longer be called 'foo', but something else.