From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MAMdKASymmD98gAAgWs5BA (envelope-from ) for ; Tue, 11 May 2021 18:34:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8Ga3IwSymmDbLgAAB5/wlQ (envelope-from ) for ; Tue, 11 May 2021 16:34:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1CDBCFD38 for ; Tue, 11 May 2021 18:34:12 +0200 (CEST) Received: from localhost ([::1]:43920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgVKl-0004UW-7z for larch@yhetil.org; Tue, 11 May 2021 12:34:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgVKc-0004Q8-4a for bug-guix@gnu.org; Tue, 11 May 2021 12:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53910) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgVKb-0003WI-S2 for bug-guix@gnu.org; Tue, 11 May 2021 12:34:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lgVKb-0003dF-Ms for bug-guix@gnu.org; Tue, 11 May 2021 12:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48331: Emacs' describe-package doesn't work for packages managed by guix Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 11 May 2021 16:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48331 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andrew Tropin Received: via spool by 48331-submit@debbugs.gnu.org id=B48331.162075082513940 (code B ref 48331); Tue, 11 May 2021 16:34:01 +0000 Received: (at 48331) by debbugs.gnu.org; 11 May 2021 16:33:45 +0000 Received: from localhost ([127.0.0.1]:37223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgVKL-0003cl-58 for submit@debbugs.gnu.org; Tue, 11 May 2021 12:33:45 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:54426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgVKH-0003cY-C9 for 48331@debbugs.gnu.org; Tue, 11 May 2021 12:33:43 -0400 Received: from nijino.local (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Ffk4x5tVDz3xqb; Tue, 11 May 2021 18:33:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1620750818; bh=0a8MTnRt9WsyJBbj9iVeUNqDpA5DVkuWjg4xWqNzLCU=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=E0YZuOfK2n9deQDRUgc1/Fl0NZFS/a1HGNaW7c84xF0S2/juOs7SCDqzZDQE0pnjd FMFpwvu2Ebequo0qZCLjDxjMe4P8ext9XuRkRrURADGfpNF64coPKSl1NZGG4frmEL t4na9WThKBlmbMXyrWHvwBMr/JHKnHpYHUrt5AU4= Message-ID: <8164abe40ec6e865bf8385e010702cfe158dabcc.camel@student.tugraz.at> From: Leo Prikler Date: Tue, 11 May 2021 18:33:37 +0200 In-Reply-To: References: <87im3r81so.fsf@trop.in> <78cfb495305fb1137da26e37a7ae5dd9467043bf.camel@student.tugraz.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 48331@debbugs.gnu.org, Maxim Cournoyer Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620750852; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0a8MTnRt9WsyJBbj9iVeUNqDpA5DVkuWjg4xWqNzLCU=; b=GwZ7uObJpn+e2Sw/i9cNrjHrhHJ779YbcH7GyPPk4vJtTqUzYWH3ijWdRggbG1w0zjUN4I inRtpoN21IeUSU02A8xc7pfh/wuhY1tqlEOLdX4ZeWNUO7EhvsDedIL3teKsCVBgo8xbpq Rf7jq+cBc3znnvjoSf/RYkELYNu2DBmsYEMMXV37+MUJI7TcNEZdFEzornz3WHcgWRrieX LsKgfiLXWPf7fCLBsIgPmoYnpcekAN0YDM7llKP8b5hGvNhSwvODevY5yikPlL6Jmb5kh3 a7NMoF+AHAV+1RWcmHWgw7pFNVShqi8b0n6hPpVuaS2WPDdciAMJspBaHplKUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620750852; a=rsa-sha256; cv=none; b=BYAmqi3wL6GQ0Nm8F92rUpH1VQRS7Y+OTpuZiUjnQ1eALjOgFRLzmVfWLaIzNVylLN2Pqq ISC5gdefAzrg8P6GnRebwaWCfs7ijmiEX2sA/a2BNjOO14g/73E88uEYOZG8BbHzHAnflf 3jM8+kf1p27+XbTtTQjm/CtXhdeeh+2Mo8t/JEWga8w7PYtMN0IRXMrNdTDUsmxgt98Bld b7U7kJNDFrdCVL2KBLIWW6vPtrlMHDWVekEW+nzZYgvxSJ9+GUBZAIBB2KhVPe5EimkpHw tLlXqjD36InLef/+zIwBfz2TQQlDl87YWCKWrMS7Kre0/2JpICva1NKC6OETtQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=E0YZuOfK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=E0YZuOfK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 1CDBCFD38 X-Spam-Score: -1.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: QzIpBd5nPmrh Am Dienstag, den 11.05.2021, 18:57 +0300 schrieb Andrew Tropin: > Patched emacs-build-system to place packages under elpa/NAME-VERSION > subdirectory and removed "-pkg\\.el$" from %default-exclude. I don't know whether that's a good idea. The elpa/ part I already dislike, and the "-pkg\\.el$" exclude might have existed for a reason (I don't know which, put perhaps byte compilation). > > I have now published emacs-dpd [2], which does exactly that. To > > use it > > for your Guix Emacs packages, execute > > (dpd (list "$GUIX_PROFILE/share/emacs/site-lisp" ...)) > > replacing "$GUIX_PROFILE" with the actual profile, after `package- > > initialize' has run with `dpd-fuzzy-recognize' in `dpd-recognize- > > hook'. > > I might write a more detailed README later. > > Most of the packages already have -pkg.el in sources, but yep, pretty > cool utility, also thought about implementing something like that > yesterday, but luckily I didn't and now I do not need to do it, > because > now I'm aware of already-existing implementations!) I know people take package.el for granted nowadays, but alternative package managers for Emacs have their uses. This is not just a Guix thing :) > > Neither packed nor dpd are currently packaged in Guix. packed can > > easily be imported from melpa-stable, but for dpd you'd have to > > write > > your own guix.scm. I might do that at some point as well. > > We already had modifications in emacs-build-system recently, so if > > you > > want to argue, that all Emacs packages should have that - > > pkg.el to work with package.el out of the box, I would ask you to > > wait, > > so as to not cause an "Emacs world" rebuild again after only ten > > days. > > I also don't know whether Guix has the same information as > > package.el > > at build time, but that might change with time as > > well. Particularly, > > there will hopefully be a move towards supplying name and version > > at > > build, which would give us the most important information. > > Very cool, I didn't have the latest changes on my local checkout and > didn't > see your commits, but now I see, it is exactly what I needed. > > The only side note: it should be site-lisp/elpa/NAME-VERSION (right > now > it is site-lisp/NAME-VERSION). Also, on line 137 elpa-directory > function can be used. I don't think we want to fake elpa that hard. Two iterations ago it was .guix.d and people didn't really like it. My subdirs.el patch is also stretching it. So I really don't want to add another subdirectory layer to it. If elpa can't deal with that, we'll have to code around it in Elisp. > When you will be updating the path, please remove -pkg.el from > %default-exclude. I've CC'd Maxim, perhaps they know more about %default-exclude. Regards, Leo