From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Installing binaries with package.el Date: Tue, 7 Feb 2017 00:33:29 -0500 Message-ID: <35ae3a71-f8da-3405-6966-38337d8e74e0@gmail.com> References: <3fdcbe78-969e-f9e1-2a9d-a5f8494c35b3@mit.edu> <8760kmtvpu.fsf@mbork.pl> 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 1486445651 28837 195.159.176.226 (7 Feb 2017 05:34:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Feb 2017 05:34:11 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 Cc: Emacs developers To: Marcin Borkowski Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 07 06:34:08 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 1cayPn-0007BS-RF for ged-emacs-devel@m.gmane.org; Tue, 07 Feb 2017 06:34:07 +0100 Original-Received: from localhost ([::1]:52076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cayPq-0004jS-Db for ged-emacs-devel@m.gmane.org; Tue, 07 Feb 2017 00:34:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cayPH-0004iP-8x for emacs-devel@gnu.org; Tue, 07 Feb 2017 00:33:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cayPE-0002iF-4z for emacs-devel@gnu.org; Tue, 07 Feb 2017 00:33:35 -0500 Original-Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:34901) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cayPE-0002i2-0O for emacs-devel@gnu.org; Tue, 07 Feb 2017 00:33:32 -0500 Original-Received: by mail-qt0-x243.google.com with SMTP id s58so17787119qtc.2 for ; Mon, 06 Feb 2017 21:33:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=XEx3TmqKRGJEi/C9+Hk3ru2rrwEO0uadB5fRTHx8eeA=; b=Y2lMFxia7kuRshnNbf6JXyd7isgl7keNxTGuo+GbH9i1Dg9MAQv/Eixs3uln7WzbnE +ZrKhTDbXvONj/O8YpeyDQgZFaWr2l9tTxMWvhuyTc5jxw8pktC9qM5Uf6cwHQ23Bu2J 2xFRk53xT7QyAzmmtVc633771YbbIF4xPzrLTZkMLng7Y51CKho0h2PjHvAA4YIElLzJ xwOVFR3VGFNNvBvTjuNFbZ7dWKXHlkJUDMUiz500Hm0gtJ85Otrmi6124cYd0ExS6p/R P1RwYRp94BjpYVcoe+Ro/8aEuhWRaLpKzr39B1GuzOEJq+fyFG62noDrHl/N5nRo3jND ZYvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=XEx3TmqKRGJEi/C9+Hk3ru2rrwEO0uadB5fRTHx8eeA=; b=MjS5PQbvBKiPe21bY3KmEEosEcANtoOm/JRiyp071SJmsUAu1pd1jGxTKcANOCJ+Iv gXKJvKyP/BeFqYqQWtmwTg31grfIhBEZvnx1LHY+ziM+OkbVnrFmtOHIZt7XW1ME7Ixv GjHEQdsgETKPvl/BRWqhOozNVIz0tv46HvCAnSRk6JXRy0ONZ1rZMCokG/OelvlCyUqK Ld5ydkk4XR9q3+YN6URQWDm5xnCPiJ/y0DUuo0IDLXGPpimxyT/vHPpgnyiTPuB3IeWR 5fXgT+oNq3NbPIosD7kkHIBOs1+favvIn0VZP2ZJLHQuYHjdUDiB1OHp6EoynEQMYb53 eFMQ== X-Gm-Message-State: AMke39nFwQXER8sSFueIKCQGfbJb4uutIwNp0gl4GpHPVwExOalDgEuMlqdASZkshkVHxg== X-Received: by 10.200.54.182 with SMTP id a51mr13628892qtc.221.1486445611060; Mon, 06 Feb 2017 21:33:31 -0800 (PST) Original-Received: from [18.189.127.106] (dhcp-18-189-127-106.dyn.MIT.EDU. [18.189.127.106]) by smtp.gmail.com with ESMTPSA id a70sm2517779qkc.1.2017.02.06.21.33.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Feb 2017 21:33:30 -0800 (PST) In-Reply-To: <8760kmtvpu.fsf@mbork.pl> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c0d::243 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:212078 Archived-At: On 2017-02-07 00:29, Marcin Borkowski wrote: > On 2017-02-07, at 03:09, Clément Pit--Claudel > wrote: > >> Hi emacs-devel, >> >> Can package.el install binaries? That is, if my package includes a >> command line interface, can I ask package.el to install it to >> somewhere like .emacs.d/bin, or ~/.bin? Or should I do this by >> adding autoloaded code that runs at package installation time? > > What do I know, but doesn't pdf-tools do that exactly? Cool. Can you explain a bit more? AFAICT pdf-tools tries to compile a C program as part of its installation; is that what you had in mind? Or does pdf-tools also install a binary somewhere (with the expectation that the user would add it to their path)? Thanks! Clément.