From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.devel Subject: Re: Installing binaries with package.el Date: Wed, 08 Feb 2017 19:40:28 +0100 Message-ID: <87lgtgmspv.fsf@hochschule-trier.de> References: <3fdcbe78-969e-f9e1-2a9d-a5f8494c35b3@mit.edu> <8760kmtvpu.fsf@mbork.pl> <35ae3a71-f8da-3405-6966-38337d8e74e0@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1486579287 14334 195.159.176.226 (8 Feb 2017 18:41:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2017 18:41:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Emacs developers To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 08 19:41:22 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 1cbXB8-00034w-5c for ged-emacs-devel@m.gmane.org; Wed, 08 Feb 2017 19:41:18 +0100 Original-Received: from localhost ([::1]:60948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbXBA-0001dz-VI for ged-emacs-devel@m.gmane.org; Wed, 08 Feb 2017 13:41:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbXAd-0001dt-Op for emacs-devel@gnu.org; Wed, 08 Feb 2017 13:40:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbXAa-0007qL-HP for emacs-devel@gnu.org; Wed, 08 Feb 2017 13:40:47 -0500 Original-Received: from gateway-a.fh-trier.de ([143.93.54.181]:54275) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cbXAa-0007oj-6R for emacs-devel@gnu.org; Wed, 08 Feb 2017 13:40:44 -0500 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Original-Received: from localhost (ip5f5bdee7.dynamic.kabel-deutschland.de [95.91.222.231]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 9D42F179AC1E; Wed, 8 Feb 2017 19:40:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1486579229; bh=4IWSxYpu4EcFUCpXAr715rN0g1A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; b=QMcrUinpBKmj603RmdKVNQAvlFRrz6Gh8PA3boC+tU6VgRAT6Vx5CbNOxF5TyuW+x bEq8TGVYf3VPEXnnRaFqlon2W6PCQ3Xh6aRNxtmNl27pcZVWZq428tmTO6OVUh7QrF l3HZSDL9nKM4bU4qc53nR59bM4gv9Q+zbo+8cNI4= In-Reply-To: <35ae3a71-f8da-3405-6966-38337d8e74e0@gmail.com> (=?utf-8?Q?=22Cl=C3=A9ment?= Pit-Claudel"'s message of "Tue, 7 Feb 2017 00:33:29 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 143.93.54.181 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:212146 Archived-At: Cl=C3=A9ment Pit-Claudel writes: > Cool. Can you explain a bit more? AFAICT pdf-tools tries to compile > a C program as part of its installation; Yes, that's it. There is simply a auto-load cookie above the installation Elisp. This gets copied by package to the auto-load file and evaluated as part of the final steps of installing the package. Its pretty ugly. I would be really helpful if package could provide some appropriate hooks, i.e pre-remove, post-install and when ever else it could be useful. -ap