From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: using use-package Date: Fri, 14 Aug 2015 09:59:20 -0400 Organization: A noiseless patient Spider Message-ID: References: <67cb463e-41f6-4f37-91ee-15d0fdb5ba9f@googlegroups.com> <20150812180621.32265.2E673ABE@ahiker.mooo.com> <87bnebnyyl.fsf@newcastle.ac.uk> <87d1yrmb1i.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439560831 20869 80.91.229.3 (14 Aug 2015 14:00:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2015 14:00:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 14 16:00:26 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ZQFWx-0001Ah-Lv for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Aug 2015 16:00:23 +0200 Original-Received: from localhost ([::1]:46410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQFWx-0008Ra-4Z for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Aug 2015 10:00:23 -0400 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Injection-Info: mx02.eternal-september.org; posting-host="6551a55313eeb1483cdfad32ce9cec6d"; logging-data="15638"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+FGQz/j0oHEBqM3gI6hyxN" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:RlQOD1exO77IE63ZsC3ywZvPJLg= sha1:2VNZWPi8THL2P9185Qtfa4GbClI= Original-Xref: usenet.stanford.edu gnu.emacs.help:214299 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106583 Archived-At: >> Not sure about Cask, but IIUC elpakit will generate a package-archive, >> whereas we just want to turn the source tree into a valid "installed ELPA >> package" without going through "make a tarball, create an >> archive-contents, package-install". >> >> I.e. all we want (to make those packages look like they were installed >> via package.el) is to create/update a *-pkg.el and a *-autoloads.el >> (we can add byte-compilation, but it's not indispensable). > Indeed. Cask doesn't have that option at the moment. It's not hard, > though > (let ((dir (make-temp-name "cask"))) > (cask-cli/package dir) > (package-install-file > (concat dir > default-directory ".tar"))) AFAICT this again is not what I want: it takes your source code, turns it into a tarball, then installs a copy of it elsewhere. Whereas you'd really want the package to be installed *in place* (e.g. so that C-h f gives you hyperlinks that jump to the actual real editable source under version control). > that sort of thing (untested for demonstration purposes only). The > easiest way to have a package look like it was installed via package.el > is surely to install it via package.el! But it does not mimic what you do with your "packages not installed via package.el". Stefan