From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Some ideas with Emacs Date: Fri, 29 Nov 2019 10:43:19 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="40969"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Anonymous , emacs-devel To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 29 16:45:47 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iaiSo-000AWx-P8 for ged-emacs-devel@m.gmane.org; Fri, 29 Nov 2019 16:45:46 +0100 Original-Received: from localhost ([::1]:60332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaiSn-0005hy-H5 for ged-emacs-devel@m.gmane.org; Fri, 29 Nov 2019 10:45:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59332) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaiQd-0005Zs-7V for emacs-devel@gnu.org; Fri, 29 Nov 2019 10:43:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaiQZ-0006dp-TC for emacs-devel@gnu.org; Fri, 29 Nov 2019 10:43:28 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:39565) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iaiQZ-0006bb-Na for emacs-devel@gnu.org; Fri, 29 Nov 2019 10:43:27 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A406F81814; Fri, 29 Nov 2019 10:43:25 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 960AB82B98; Fri, 29 Nov 2019 10:43:23 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1575042203; bh=DETOFPaHMH3K9kJPXyu5ceuoxS0aL4r1DFYwh4e83Zk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=gFNbmtj0DEteO91VgL84VJ3IFQowWGEhQp0Pay8HKtyqt4lEP/fqKheiNf/urspxj pwp1++D4a3b6W53ol6TwcNkuElmPIXwetUsDbFeQDZqZI5yCv1VGQkpYpTYc5oXGiV WoFNWkeLwCkfuWE7KjBnhHJW3HTVwgOQhn1awsFSbYVP2BpD96oRg4eLdaTNvP8N0g +zqeFrPwlj//6sVLJBZDxCar6/nRiAtTcBqrOMqwhMqqcdzYyPqvjSDii12nEbNo9c hFSbT2cMSDd5+kCpE91dt3IqC2PWwkyCarerNb2dE4c3wa9oBEchfqO3cfG47eQ1/W DuMYVODWW/FpA== Original-Received: from alfajor (modemcable157.163-203-24.mc.videotron.ca [24.203.163.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4936012080E; Fri, 29 Nov 2019 10:43:23 -0500 (EST) In-Reply-To: (Stefan Kangas's message of "Fri, 29 Nov 2019 12:37:31 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242881 Archived-At: >> Second, in developing the Emacs plugins, create a virtual >> environment, like Python virtualenv, so that we can test the plugin >> in the virtual environment so that we do not need to affect the >> configuration outside the virtual environment. That's can implement >> plugin development environment and configuration isolation. > I think what you would do is something like "emacs -Q -l myenv.el" and > then set up the load-path, requires, and whatever else you need in > myenv.el. Indeed, currently the only way to do that is by using a separate Emacs session. Cask is a tool to automate this. For some use cases this is exactly what we need (e.g. testing a package on various versions of Emacs), but in other use cases it's a pain to have to use two separate Emacs sessions. There's definitely room for improvement in this arena. Juanma adds: > With reminds me... > Did someone hear (or attend to) Perry E. Metzger's talk in this years' > EmacsConf? > https://media.emacsconf.org/2019/26.html > And if so, does anyone have any opinion about it? I presume you're talking about the part where he discusses the future of Emacs's extension language. I do have some opinion about that, yes ;-) Stefan