From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6NBdIcIEm2DnFAAAgWs5BA (envelope-from ) for ; Wed, 12 May 2021 00:27:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eN59HMIEm2BYAgAA1q6Kng (envelope-from ) for ; Tue, 11 May 2021 22:27:14 +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 B7E5617CFF for ; Wed, 12 May 2021 00:27:13 +0200 (CEST) Received: from localhost ([::1]:35960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgaqN-0000xD-Vb for larch@yhetil.org; Tue, 11 May 2021 18:27:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgXZ3-0003Ry-Qc for bug-guix@gnu.org; Tue, 11 May 2021 14:57:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgXZ3-0006Aj-8e for bug-guix@gnu.org; Tue, 11 May 2021 14:57:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lgXZ3-0000py-5u for bug-guix@gnu.org; Tue, 11 May 2021 14:57:05 -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: Tue, 11 May 2021 18:57:05 +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.16207593633008 (code B ref 48331); Tue, 11 May 2021 18:57:05 +0000 Received: (at 48331) by debbugs.gnu.org; 11 May 2021 18:56:03 +0000 Received: from localhost ([127.0.0.1]:37385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgXY2-0000mO-Qe for submit@debbugs.gnu.org; Tue, 11 May 2021 14:56:03 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:38441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgXY0-0000lg-Ff for 48331@debbugs.gnu.org; Tue, 11 May 2021 14:56:01 -0400 Received: by mail-qk1-f176.google.com with SMTP id q10so15667936qkc.5 for <48331@debbugs.gnu.org>; Tue, 11 May 2021 11:56:00 -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=ldm7Vmt8hIhpLT6X/1nbd+3Ifld0FDlOIveerZjZ5rk=; b=gdbGydlNIhnZs9nrKzTLkDYhaSiYbeIGXX2UwC72JK7RtTuRoXTP2O5Y8ckTsDBLyV qw0Nb3sEEKPGRbeeZnM7dnuxVdx5XIS9FnZy1WPZS9z72bGCII+EYlBQLNQAfBtHAIBO HIVKHRtFp6FMdXRYXTBgIRj2lGjq7OwVrnejnzR0bN63dh2XEaGmZ7AgpdJHxl2q84mM ci6oMo9R6QexkAYjIPURqgN+5W6IZ2eWx09mLDwiFLg/ctRS8/vpE3MCuK/RskqeGu52 VOcU0AJiwufCXC6pOqeHPXZV93VX/b6eFHe9gQ2sLuxKlJ82eSehouWKfi+yetLxtJMj /zZg== 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=ldm7Vmt8hIhpLT6X/1nbd+3Ifld0FDlOIveerZjZ5rk=; b=BrD0kLNoznBOvPaFJY4NDATCtbF+5rUG7+9dQJlq8zJujbYeeq2S8teehYn76q2HFL 99X7qe3Cd5D+kQ7AJCBRUyZ2NY9MfTOlzbXfxME31AoLHFgDEG2VJvJLLtAE99n86G7T EJLsuVgv7JfqN+aZ+mTgg5oeSlA3COe6cJZJyNiV5BmOihEyeiSbxui6gHYVmHWCg/rE Tj450qu/mO9gbLHWQ94B/LB8yZD23u6kiS774L3VOVISSqApyU7AJfC0yMTv0nDbu4pq v5TW8Kahkeraxz6gGvWh+lQwUhgb7HsSAQLQyrP0ggcg3M/tg7P8MgFTNikYlDxgYTNO h7oQ== X-Gm-Message-State: AOAM530UEDayaAzlaohpOIgTnsrOuSPcaDSHYIaBOgHXKoVMCNoaeEkJ Y5vhxn8YBVbg7NyiRQVNTTlLEClScM0YUeZAOFSJ/Q== X-Google-Smtp-Source: ABdhPJz94v5yDazmwczmv2AGM+vNMv6Xbqtd8+dqQXhoUysqtBAHF+7U8ebRGvwsW6ybeeD1fVrOhlDkECnqDNXn/R4= X-Received: by 2002:a05:620a:126d:: with SMTP id b13mr8415330qkl.436.1620759354762; Tue, 11 May 2021 11:55:54 -0700 (PDT) MIME-Version: 1.0 References: <87im3r81so.fsf@trop.in> <78cfb495305fb1137da26e37a7ae5dd9467043bf.camel@student.tugraz.at> <8164abe40ec6e865bf8385e010702cfe158dabcc.camel@student.tugraz.at> In-Reply-To: <8164abe40ec6e865bf8385e010702cfe158dabcc.camel@student.tugraz.at> From: Andrew Tropin Date: Tue, 11 May 2021 21:55:43 +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: Tue, 11 May 2021 18:27:04 -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=1620772034; 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=ldm7Vmt8hIhpLT6X/1nbd+3Ifld0FDlOIveerZjZ5rk=; b=YxHKF5SL+QCQj42yauls8u8fQlTzKJFLEjzuwS3iCupVc9w8OboGp28gnRfuqvjp0wN+HA nl0/N+dzNGP+6RRuNzznPTJ8CvLRrOE+hmo4yCvnMLwiNaOxciaSSBz0Q1XWILAL4Pl9Yg HUHA9or9dY12b8cMv1bhIDILLAf8jRouE4BNh2NsA99sKHZ/pvbe59/p7VwPAWQS9OwNZv 233C8swCd1CPaRCG4ndFl1dVLUOFdhifmAgHrMbU/wKEXZU7eEjtkTliHXTV9YcoFSEiB0 ZMNULiawdb3AKrIdrtOxZrvbyJ2cJn0g1HvJ0AZHnm2h3VAyAj6MtgxYF6fkXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620772034; a=rsa-sha256; cv=none; b=sD0OM+SqwHtR9BFej0/s88ePM93ALL4WOPJptl9IfjB3iuDn1yCSW1paQ0kdTixzIqBceC 2keDrsfg1aJ0pjQl8yZ5dpBYR2xqo18vjfPII5WKlR3wth7lAcwP79LTBzEp124C+LO9i6 zenB3wEOUCNY8QP/kxacDW2fgdqAMTjMvEdvTcox0t5tCmOmQf7HMQRHb2ttco3YsA2HoX Bby9N6YHMfwfBjdrQDKe44Xkps0GojCpJbBctvWDpsggUXNPNo0moFU9x4//kVoYdtFJlp Gnd3m3M7IeBq6yqq9dQzldNAjB0JPQCgvZW+Mg39hTsQejUjxCJJG49HmskYKw== 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=gdbGydlN; 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.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b=gdbGydlN; 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: B7E5617CFF X-Spam-Score: -1.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: kjbidiuysMWh > the "-pkg\\.el$" exclude might have existed for a reason > (I don't know which, put perhaps byte compilation). Perhaps it should be ignored during byte compilation, but still installing it seems to be a good idea. Ok, let's wait for Maxim answer. > 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 :) Why not take it for granted?) It's built-in since 24(?), elpa/melpa archives respect it format and provide package descriptions in -pkg.el format, AFAIK. Most other package managers seem to respect "infrastructure" provided by package.el. For example you can view a list of packages with `list-packages` even for packages installed with other PMs (Nix for example), BTW they keep "package.el" directory structure. https://0x0.st/-BxL.txt Don't see too many reasons not to follow this format. I mean it's easily fixable with current directory structure just by stripping "/elpa" suffix from package-directory-list, but why we would do that emacs "customization" instead of just placing packages under /elpa subdirectory and make everything work out of the box? > 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. Do you mean the package installation path was site-lisp/.guix.d/NAME-VERSION? > My subdirs.el patch is also stretching it. Not sure what you mean by this, sorry, I'm not native speaker and automated translation doesn't make sense to me. Rephrase please. I do not insist on any particular directory structure, just curious why not to stick to the widely adopted format. Once again, thank you for placing packages into subdirectories, now the site-lisp structure seems more organized and less polluted + problem with describe-package (C-h P) and list-packages are easily fixable. Appreciate your work!) -- Best regards, Andrew Tropin