From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gJWrKvZBpmCWbQAAgWs5BA (envelope-from ) for ; Thu, 20 May 2021 13:03:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6FlbJvZBpmAYCgAAB5/wlQ (envelope-from ) for ; Thu, 20 May 2021 11:03:18 +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 1736B18D86 for ; Thu, 20 May 2021 13:03:18 +0200 (CEST) Received: from localhost ([::1]:51576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljgST-0000ER-6z for larch@yhetil.org; Thu, 20 May 2021 07:03:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljfWB-0007LR-S8 for bug-guix@gnu.org; Thu, 20 May 2021 06:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ljfWA-0006KH-DA for bug-guix@gnu.org; Thu, 20 May 2021 06:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ljfWA-0006O3-86 for bug-guix@gnu.org; Thu, 20 May 2021 06:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48331: Emacs' describe-package doesn't work for packages managed by guix Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 20 May 2021 10:03:02 +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: Leo Prikler Received: via spool by 48331-submit@debbugs.gnu.org id=B48331.162150492624469 (code B ref 48331); Thu, 20 May 2021 10:03:02 +0000 Received: (at 48331) by debbugs.gnu.org; 20 May 2021 10:02:06 +0000 Received: from localhost ([127.0.0.1]:33162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljfVG-0006MZ-Mu for submit@debbugs.gnu.org; Thu, 20 May 2021 06:02:06 -0400 Received: from mail-qt1-f179.google.com ([209.85.160.179]:45957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljfVF-0006M4-CA for 48331@debbugs.gnu.org; Thu, 20 May 2021 06:02:05 -0400 Received: by mail-qt1-f179.google.com with SMTP id h24so899362qtm.12 for <48331@debbugs.gnu.org>; Thu, 20 May 2021 03:02:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MTrnHB4nrQIwL8gSGAhbRx/dH9570Fz0ISRiz17D9Aw=; b=tDN/SYDg4YQMn657C115XxWRYrMxFoDExrdFkeT5sy7zUw9LyX8JGTivyTzjqWtThl udyd2FhN2zGBFyKba9jAr5cCBz8qT1su93dcrLHYWGvZnmfFfaPe12AnHD/SO/el1aUi lwtTnXwlI3Ym3lziycerqfOWX4SFdZkNs64qSu4PtyGa8PWJSEvQl0NqCbyG2Md6ChsC agkHEQ5eWYP3wYfuomeuNPnbV7Qqjvqec4s4KaGoiUtOMGOxgx4xu/sATE+Ztm7mEbPj SqW7B+Zy1/IXt0fIdCaCCrjF6TCccWbmxCTGEHAwhg9aLWWq0XQ/lfKq6b8bGU9Q7Foq n1ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MTrnHB4nrQIwL8gSGAhbRx/dH9570Fz0ISRiz17D9Aw=; b=U0ri4BocEoyU39w/JmxOCYj4neJW0od0IKvNsr0K+IEvMeBselsDmP8RL/y7bwNKs5 e8ZaxSg7G5CO6Uio98t9bTSlcuHG5M6THLY5dBW63rU359i3J1AMW+iEBef8BU7vvOot eBj2YF0IbSmJjxWelNXus9qagIKyYqrOLixaeTTY7B6tqXjP+o0BNxrQZNDAg1nnQEoQ npC6yIcdweGw81eTjM4V6h1DOiiNkrbtnNW4DytTIi4t9lzQ+GeqX1hkLKyMIm7GApiF k+6fzep98OcYuf4bHmQqkIasQ9VEEiBlwYgmO9ILf+cWExLMV8H/VDZrMAMA2V+I2o3v nohA== X-Gm-Message-State: AOAM532d/2lUa0+wPnR5oryBlewM8cK7Hqb4qMmrNkT8jFACGHhxCkUo ryC0eCURT4pAFYC+5WiEIRTla6h4OH3Im7Ej3pI0Tw== X-Google-Smtp-Source: ABdhPJzvHQ4Vjm+/2/FksuiCiWjp9rUixwBuJGBFxr80jAKGZsshp05YCLy4pyTl65fnQ3SMzJGY6Jlx+nPH/tUmm/4= X-Received: by 2002:ac8:45d2:: with SMTP id e18mr4200360qto.374.1621504919725; Thu, 20 May 2021 03:01:59 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <88a438a74fabe0f4d4bfd8a649c38e960ef82ed2.camel@student.tugraz.at> From: Andrew Tropin Date: Thu, 20 May 2021 13:01:48 +0300 Message-ID: Content-Type: text/plain; charset="UTF-8" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 20 May 2021 07:02:14 -0400 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=1621508598; 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: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=MTrnHB4nrQIwL8gSGAhbRx/dH9570Fz0ISRiz17D9Aw=; b=FGM/r7A9Fsmdh7x5V+MrHFMXSTGQeo5uhrUnxcxX3h1CnQfyTT49zYAhvLC6ajystQX1af y1NQIXbCnRj9Ssy/G/FK0eqAcnYymeq/gCE5Esbzxk9PgpQ/xuVCRH1myoChK5sty7DEsq K4zvHiHDuQwN/G4v11jWsqvYnsuUQzt65nPmvVE0LbWUACKtIltREb04TaCq0sl64+sqfY wtxW97YsOP9dED5ZpDAVdxcJxegLC/VF8DPsTv0iOJVCxAKXPTuKpYjRiVFtNY1owRmuOa pURJnhkj9FQF6AGAqMa0sn0RHZIATKQ2t3iUzE4CyhGz4hyQJc2AFsyoYgGboA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621508598; a=rsa-sha256; cv=none; b=dl/qbrVVYVADz8p3vJHWsHA5gSTyH2mrcKLylVE4V/PnAcVkRuMgIz3/c4Y6kUUVPPVcxq FsdOr0l+Lr64hqx2fKbOgh99P3+2XiL9P/IOweH1Oeussn1BF69ne0mwu2ysKr3cmv3lJs /DIvRnNacOdwk/LxciEnlDfaAwEYfRG6GbEPh5Pyd+r50NMp7ushkcg4sMB/RKt661CTUL jaASmnIPQFluzldj8dRn5WdnF09VHwBVu2pYP275GkxGuO/LG+1PXAtfYb9vEQJWGcxD2W QNUU2QOCHZRQ7OQJPuqH/bGD5JYfxNFVGMBUkQLmXknxM+g5v4BtoHimy2t5jA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b="tDN/SYDg"; dmarc=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.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b="tDN/SYDg"; dmarc=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: 1736B18D86 X-Spam-Score: -1.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3pONqTOMW16m > 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))) > 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.