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 aBysFVU4pmBOXAAAgWs5BA (envelope-from ) for ; Thu, 20 May 2021 12:22:13 +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 ELJoEVU4pmDMagAAB5/wlQ (envelope-from ) for ; Thu, 20 May 2021 10:22:13 +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 B0E6B17DA5 for ; Thu, 20 May 2021 12:22:12 +0200 (CEST) Received: from localhost ([::1]:44216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljfoh-00079l-QW for larch@yhetil.org; Thu, 20 May 2021 06:22:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljfoY-00077L-3o for bug-guix@gnu.org; Thu, 20 May 2021 06:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ljfoX-00018j-Rf for bug-guix@gnu.org; Thu, 20 May 2021 06:22:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ljfoX-0006wj-NW for bug-guix@gnu.org; Thu, 20 May 2021 06:22: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: Thu, 20 May 2021 10:22: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.162150607226628 (code B ref 48331); Thu, 20 May 2021 10:22:01 +0000 Received: (at 48331) by debbugs.gnu.org; 20 May 2021 10:21:12 +0000 Received: from localhost ([127.0.0.1]:33181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljfnk-0006vQ-8I for submit@debbugs.gnu.org; Thu, 20 May 2021 06:21:12 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:54915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljfng-0006vD-PR for 48331@debbugs.gnu.org; Thu, 20 May 2021 06:21:10 -0400 Received: from [10.0.0.4] (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Fm5Nv6ZFsz3x6y; Thu, 20 May 2021 12:21:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1621506064; bh=hc0kpX1iA/xRFOgtmy7Irz3xvm6KqRVa3iaHjAjYWQg=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=FWmJ5gnXQoS16ygN4xqU0KL6dXtF9ebN/UdGg45r/Cw+VEvzph8PpfzYIMZpZNKQq F8LrQHRbzIiMbQaMKS2Zjn1V4MKri6K7zCBDVNr7ioKFWSQbZ5kpMojgGtorNtuRzb mfxGftM8UuF8goItw0gBKhPnSPdkaXieHgG0I0Wk= Message-ID: <43c4f2959e4805aae7414d0acc08f1fd7b35d986.camel@student.tugraz.at> From: Leo Prikler Date: Thu, 20 May 2021 12:20:38 +0200 In-Reply-To: References: <87im3r81so.fsf@trop.in> <78cfb495305fb1137da26e37a7ae5dd9467043bf.camel@student.tugraz.at> <8164abe40ec6e865bf8385e010702cfe158dabcc.camel@student.tugraz.at> <6cba9730ace19ecebc397023b243cdb02486cc0c.camel@student.tugraz.at> <437d90a3cc91400fdf0828fea2c989c277a73a7c.camel@student.tugraz.at> <88a438a74fabe0f4d4bfd8a649c38e960ef82ed2.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=1621506133; 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=hc0kpX1iA/xRFOgtmy7Irz3xvm6KqRVa3iaHjAjYWQg=; b=DzlwWWEXenx3rNboxP27gIYmJuDKpiKxspq6KgwIn5rNOCbmsOHoat1NArJjYpHWF7+17N EwbLW72v4ygTCDwz4IX4pXMh9SMB5Ve3Q1o1QIE24driZNo0DFKwj7NJGRLWNziHcYJRfy mysZBExwHamr+dK7UCIkyvrboUjvbYw5X6xiKAiTVls723Lla+H5fmg+ihdTKuMcTyDIlN CCX53Lm3c09eAjLD4elUFM4eEQzDR1acSKvgLiD66SdWgoh0GTDqelyjBFSRzHRykEVI8h 7wd5k+Us4oYSStKBm81Ujycc3ZdSVnVAfUDm/kHJGzqeSZZE2nL1G/eJBXFQFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621506133; a=rsa-sha256; cv=none; b=ui1Y5VmI/V2f26N3Nqw9LTeTbGZGypOxL5I8658V8JkaEtU84QiploQz2JICB4v8XaWDNN vknCuYeVrVwWzBPvlHD01OqbqpO3/Rer5bYm+V0ky4QEWF54egWj/zfSQupvvPuCQZ372/ HL0gIM9xWm2zG9JTxtDwvtuHtQuhUdl0opyoktMLPmjAPeVU9c5lFPV5L696Ww5iXIVgac U/TAlGEYg7OV+WAL6I6TUthvQCLPp/4/3WgaJqG/h2PICe22jvqP/nyNtEf5nncBpoGN8O yKVJfY/FyNpxVdko/e1oimLhXtF5G9MV8/g5bPl/57njEfHkQJemqm2Ou2dAYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=FWmJ5gnX; 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.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=FWmJ5gnX; 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: B0E6B17DA5 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: OUU5jBxQ1G5S Am Donnerstag, den 20.05.2021, 13:01 +0300 schrieb Andrew Tropin: > > That looks like it'd mess with people's installed ELPA > > packages. In general, hacks based on package-directory-list don't > > feel very stable. > > If you talk about ~/.emacs.d/elpa, it won't, because there is a > separate package-user-dir variable for that. > > The problem can arise if we have emacs installed in a few profiles, > I'm not sure if it is a good idea to do so, but it is possible, in > such a case we will have a few items in the package-directory- > list. A fix for that: > > (setq package-directory-list > (mapcar (apply-partially 'string-remove-suffix "/elpa") > package-directory-list))) Multi-profile Emacs should be supported, but this also breaks on foreign distros with foreign distro ELPA. Again, hacking variables is not the solution (and even if it was, it'd be better to patch the emacs default value, not that this is a good idea either). > > Also, this seems to rely on us not deleting the -pkg.el, but > > probably won't work for packages, that don't ship it, e.g. emacs- > > howm. > > It's true, but it seems relatively easy to implement a build phase, > which will generate -pgk.el in case it is missing. Generating our own -pkg.el should work, still waiting for Maxim or Arun on a statement as to why we exclude it. *Always* generating a -pkg.el (disregarding the upstream one if it exists) might further be a reasonable thing to do if we decide, that those -pkg.el files are useful. Regards, Leo