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 UG1/CSl2qGBdKwAAgWs5BA (envelope-from ) for ; Sat, 22 May 2021 05:10:33 +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 +PcoBSl2qGCjUQAA1q6Kng (envelope-from ) for ; Sat, 22 May 2021 03:10:33 +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 21B1E1D84D for ; Sat, 22 May 2021 05:10:32 +0200 (CEST) Received: from localhost ([::1]:43774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkI22-0006vD-Ms for larch@yhetil.org; Fri, 21 May 2021 23:10:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkI1d-0006um-Ff for bug-guix@gnu.org; Fri, 21 May 2021 23:10:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkI1a-0004tu-Nf for bug-guix@gnu.org; Fri, 21 May 2021 23:10:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lkI1a-00062P-I7 for bug-guix@gnu.org; Fri, 21 May 2021 23:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48331: Emacs' describe-package doesn't work for packages managed by guix Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 22 May 2021 03:10: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.162165295823153 (code B ref 48331); Sat, 22 May 2021 03:10:02 +0000 Received: (at 48331) by debbugs.gnu.org; 22 May 2021 03:09:18 +0000 Received: from localhost ([127.0.0.1]:38112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkI0s-00061N-3a for submit@debbugs.gnu.org; Fri, 21 May 2021 23:09:18 -0400 Received: from mail-qv1-f51.google.com ([209.85.219.51]:40655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkI0p-000615-B3 for 48331@debbugs.gnu.org; Fri, 21 May 2021 23:09:17 -0400 Received: by mail-qv1-f51.google.com with SMTP id e8so8232062qvp.7 for <48331@debbugs.gnu.org>; Fri, 21 May 2021 20:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=VkZQ5OleQyX1assN7hJ70tp1Fx+qMtQCAQeQ++PEqTA=; b=nyVgh5fJFTmGm98uUPjGp7vlinrwJxqPYIz/immho1rs5BeiZh+DbVBaE7uQRbYzOs qK1RRBSV94H83Mgft0t7RF3xVx2XRPOzR1C+ur/SG+Zuf7PHnOwkZiXEPZGRnhWSs77E BDrwhINunncHQnTQAUDA8Z57PhNkqpFLciun8iVhTzCLscx9ql404kRBehVaSIdQNcFN BdyoxLXY1vX58Xp6NVuzxjc6AZuABfhLC/qptY8s9dd2mMAtl1lEUQaLSP3Afir6oiG9 RAFM2VQbkpAJxPz+zKFRCyZHojqbctrb2/J9d4jF7dAu8We9zpfSyr/VFzHX6bqo1aEG CY1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=VkZQ5OleQyX1assN7hJ70tp1Fx+qMtQCAQeQ++PEqTA=; b=iYGqq4lBPljFavlJptrTEu+T7u+bhnDogB9ymVZctlK6LbAuZoElEXAXX4EyV9Jvdm lPxBuEcViJ6M1BhMuVQhpZz0/CL4ZzKq4uZbjNT9O13+r4X9vOz68ZSYhtC4CR0ELUlQ /YTr5fE6P9n3Sx8Btkc9/DT7hjHIlV64iQZnq8H+TJdVNLTvi8tX8P3E785n7+S3U2i4 +POJQ//pbXmYsfO274B0taBg1Bnh2IHd4GAEaK8z1NxKDqceQPp0N4QjjM3rRP1wNb5x lehbZFS7b/2gc5YfnGxW0yeazu+hFh9ludubDyEB3m0xxjKM+UTKouClPTLCb1JjP46b sZ7A== X-Gm-Message-State: AOAM533hT2Uji8MxT3lkmMbyWZWWbxLevblnzRfs/r0h8IxF5qnbY3ky /o6pbp9pLc+iYihMUFVmM0JzDFCsVLo= X-Google-Smtp-Source: ABdhPJxeSg5boykuzDWkGrPLsApsoMcVY8Kx6VwgsZ77HVT70SwwqUglBvXPGDDcuMvgbOzM4O5ryA== X-Received: by 2002:a0c:e251:: with SMTP id x17mr16825863qvl.2.1621652949728; Fri, 21 May 2021 20:09:09 -0700 (PDT) Received: from hurd (dsl-10-133-218.b2b2c.ca. [72.10.133.218]) by smtp.gmail.com with ESMTPSA id u11sm5524608qtq.93.2021.05.21.20.09.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 20:09:09 -0700 (PDT) From: Maxim Cournoyer 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> <87tumxzoey.fsf@systemreboot.net> <5bb7553ac84e241a8ce936033b9ec1e1d6d302dd.camel@student.tugraz.at> Date: Fri, 21 May 2021 23:09:08 -0400 In-Reply-To: <5bb7553ac84e241a8ce936033b9ec1e1d6d302dd.camel@student.tugraz.at> (Leo Prikler's message of "Thu, 20 May 2021 17:57:55 +0200") Message-ID: <874kevxy5n.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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, Andrew Tropin 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=1621653032; 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=VkZQ5OleQyX1assN7hJ70tp1Fx+qMtQCAQeQ++PEqTA=; b=eTFyv3HSktiCOGCMZ+X8IaPaxBrakyI2kAWM99R8bu8U9a0cis0HygjS1Qu0Jfb1oJPi9M Z8ynrZbIDzKn11FamYCZvwgV816s7SXJvu6xn40hV0f+1UyiQoZI57/IrDbt68/LxvN/8r Y11RYA0h/CW3tb6ZcVJh+93cvKeF5F3tHJXAc4B5VeC9FHMbaGTzdOGnKOB9RYfkuSgDMq O5x1qxDJMP2Z2CastYlwJi+Y9ww1JJVSmiS4epfNurBWkkTRFvaFqvKY9Jo+JcTqpmgjgZ Jdt5iSKR3J27FBBdDIztheNP3jpsaAAqH36DYm+Plvw2eI7EfPAMYfvo8gsXbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621653032; a=rsa-sha256; cv=none; b=lSOGNOXDdToWucRwU+l0KsOHbbOl+F+/p54zJXFz0tYuo5Gt0ok4+y6vODW/4qf9nJiEtw cPG9E6maoGYWVggBxKxkKSDTgUBKppRh7Wq0fqDmmG2qwrsnamiy+Ob2HOn40vbPrqqEEG TOrlXibVwpP2oJq7s0aPix45TR5d571LM7sAbTQnd9yp2T2t10jeKWS0gV/zTPh1IiEr+f e5rNjYbg/lXQ2mfltzD1pP9euIRGRujL/QNarntdcoutXpWLKv4bCr0MIro00OVOsd3Kr2 EwM/2A5oh70/6HAVko05LDSVDEVzXUk57SnZ/9UeM94twbX+VVKBguUv7kO/Yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=nyVgh5fJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=nyVgh5fJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 21B1E1D84D X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0yxgoYLWP1L8 Hello, Leo Prikler writes: > Am Donnerstag, den 20.05.2021, 15:24 +0300 schrieb Andrew Tropin: >> > > In other words, no particular thought was given to -pkg.el. It >> > > was >> > > simply dropped along with many other files. So, if consensus is >> > > reachedthat keeping -pkg.el is a good idea, there is no reason to >> > > not >> > > do that. >> > Thanks for clearing that up. In that case, I don't have any qualms >> > about including them either. >> >> Cool, seems we can get -pkg.el files back. > Yes, we can. I'm late, but I think it's OK to have those *-pkg.el files installed, if they are useful. [...] >> BTW, can you remind me why we do not place packages under >> site-lisp/elpa/NAME-VERSION? It seems almost the same as >> site-lisp/NAME-VERSION, but everything related to describe-package >> and other functions will work out of the box. This way it will work >> even with a foreign distro use case. > Again, Guix is not ELPA and calling it ELPA would be misleading. As > for why we don't put stuff in any other site-lisp/ directory, e.g. > site-lisp/guix.d/NAME-VERSION, doing that led to rather tricky issues, > which is why we've decided to use site-lisp "directly". The current > way of handling things is a bit of a compromise. It gives you per- > package directories like ELPA, but unlike ELPA can easily be handled at > Emacs startup. If you are interested in an alternate view of the world, with the benefits and drawbacks of integrating with package.el to provide packages autoloading in Guix, you may be interested in studying the abandoned https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45316. The packages are loaded by the package.el library via (package-initialize). The main drawback (that was deemed inconvenient enough to not go ahead with this scheme) is summarized in the introductory message: Parting with a directly usable EMACSLOADPATH means that site-start.el *must* run for packages to appear in the load-path; that means for running a test suite, the -Q or --quick Emacs options cannot be used, since it implies --no-site-file. HTH, Maxim