From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: Installing binaries with package.el Date: Thu, 09 Feb 2017 20:47:04 +0100 Organization: Linux Private Site Message-ID: <87zihvb0zr.fsf@Rainer.invalid> References: <3fdcbe78-969e-f9e1-2a9d-a5f8494c35b3@mit.edu> <87o9ydlprf.fsf@Rainer.invalid> <26a71145-5c0b-faad-17f1-a34e741ed493@gmail.com> <87inok3472.fsf@Rainer.invalid> <76ef00b6-25ed-5868-9b28-8377b8c80a5e@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1486669695 13087 195.159.176.226 (9 Feb 2017 19:48:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2017 19:48:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 09 20:48:11 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 1cbuhP-00039H-30 for ged-emacs-devel@m.gmane.org; Thu, 09 Feb 2017 20:48:11 +0100 Original-Received: from localhost ([::1]:39952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbuhU-0005Z1-M9 for ged-emacs-devel@m.gmane.org; Thu, 09 Feb 2017 14:48:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbugX-0005Ju-Fc for emacs-devel@gnu.org; Thu, 09 Feb 2017 14:47:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbugT-00028z-Hb for emacs-devel@gnu.org; Thu, 09 Feb 2017 14:47:17 -0500 Original-Received: from [195.159.176.226] (port=45098 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbugT-00028k-B2 for emacs-devel@gnu.org; Thu, 09 Feb 2017 14:47:13 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cbugL-00080o-M9 for emacs-devel@gnu.org; Thu, 09 Feb 2017 20:47:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:qtaEOE/plK16fPZR7S6vLoReY3M= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:212178 Archived-At: Clément Pit-Claudel writes: > Sorry, maybe my original question wasn't clear. The question was: I > wrote a command line utility in ELisp (it doesn't provide interactive > commands; just a command line interface). What's the preferred way > for users to install it? I understood that to be the case, but it's a very surprising use of package.el and ELisp. As I said I don't really have a suggestion at the moment, but this particular use case should not be handled as an "Emacs package". You use Emacs as a VM for some scripting here. >> I simply don't think that wrapper scripts and/or compiling binaries >> is appropriate for ELPA packages, it just opens one big can of worms >> that I don't really want to deal with in any way. > > I don't understand this part too well. Are you saying that ELPA isn't > the right place to distribute a command line application written > entirely in ELisp? (Note that the task that I'm describing has > nothing to do with compiling binaries — sorry if that wasn't clear). Well, I would want to distinguish between Emacs packages proper and Emacs as a scripting VM. The more I think about it, package.el should guarantee that it doesn't write outside the package directory unless it has explicit user consent. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada