From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Shitikanth Newsgroups: gmane.emacs.bugs Subject: bug#55655: 28.1; package.el no longers respects `user-emacs-directory' Date: Thu, 26 May 2022 16:37:48 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38931"; mail-complaints-to="usenet@ciao.gmane.io" To: 55655@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 26 13:38:19 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nuBop-0009z6-Kg for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 May 2022 13:38:19 +0200 Original-Received: from localhost ([::1]:42972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuBoo-0006X3-29 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 May 2022 07:38:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuBMU-0001N6-RW for bug-gnu-emacs@gnu.org; Thu, 26 May 2022 07:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34995) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuBMU-0003iL-GS for bug-gnu-emacs@gnu.org; Thu, 26 May 2022 07:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuBMU-0000M3-7W for bug-gnu-emacs@gnu.org; Thu, 26 May 2022 07:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Shitikanth Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 May 2022 11:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55655 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16535632871295 (code B ref -1); Thu, 26 May 2022 11:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 May 2022 11:08:07 +0000 Original-Received: from localhost ([127.0.0.1]:57125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuBLb-0000Kp-91 for submit@debbugs.gnu.org; Thu, 26 May 2022 07:08:07 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:50380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuBLY-0000Kc-EC for submit@debbugs.gnu.org; Thu, 26 May 2022 07:08:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuBLY-0000IE-4l for bug-gnu-emacs@gnu.org; Thu, 26 May 2022 07:08:04 -0400 Original-Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:53118) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuBLV-0003WS-Fb for bug-gnu-emacs@gnu.org; Thu, 26 May 2022 07:08:03 -0400 Original-Received: by mail-pj1-x1029.google.com with SMTP id gz24so1462459pjb.2 for ; Thu, 26 May 2022 04:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=BO02ScVOps+SxyBFeJIQAAGSrMNMvMv4Q6tsosWvn5A=; b=YrXU35psMYSWJVrTLNXUOb0OKwnn3vcHf806wrfp3969CD+ag5f3hufOLBCj7pcypa 1yARaohjEZnCZM1N5XXlv7kaldW0HgICNJSzyx4Y8auuVm6Aj7JMh9Y4kHg/cHs0Q4rp muCRNvaLkIsKcNKwb5fF6lepIpqWvVivocneMbYkIPt+uAUZBE+3RC8F+chmYNsPG3uQ ZbtlZZaydHQMyYNNFIGZlaxnH7o8/as8uA51+WfXsZJDp1yU8+0vBHb05dIqylFEE0B3 f8+4XAW3KOHOd23x+kQT+Gi5nSS8CUkX0tBL5m+tW/9tK+QFVEVDFywkFCWfP5VK4WNm GUag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BO02ScVOps+SxyBFeJIQAAGSrMNMvMv4Q6tsosWvn5A=; b=goDpRErOOPC4UJxJn+kRuNH/zVLPcVtw2ux9EFtnodvNFfOW6eo5bAxiFzKMdyAbTE fUSTAmh6AFz75c2gFc6lirZ0ZtIZ0co12olWTeWMggdHJIKXYqBoyGF/cHx4X5riUPU2 3DIGGZiycjcKJY3f2sktVy0q+Zf8tYpIciAgItyIqctjyD40IStCLxHYmim6wZoLX27q svtwvN0NXCcFB1PpGr6FfynyFRV0oWt3dkBlmMkUqVczcUZuEnk1Ow+tA3fG8pJZo3xE o+ttsn1TJJY8O/ZGYUz5gVcRSgMTsvRSXk9KfRQuqWKugWzQ5VPdRZ1ocegPXacDiSNN gmeA== X-Gm-Message-State: AOAM531E2mnj/vm7d/b4WCrh6CHIicXDnzfq/5Lhtemtqpgvs4jD5mZN 8L4q7WWCvwCyL//71dW3I0bXzJWHLdu7wRSfoEw1fB74Jko= X-Google-Smtp-Source: ABdhPJwjYOhUuJMy2HxBgtxEw3T3TaLi+o7Ed4aHJ3FQTVCvA6zHd28y9AcVdmXpy3bxS9WuW53HRO1XUSwtOR0Vr70= X-Received: by 2002:a17:90b:4d91:b0:1df:f18f:7836 with SMTP id oj17-20020a17090b4d9100b001dff18f7836mr2092153pjb.152.1653563278363; Thu, 26 May 2022 04:07:58 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=golu3990@gmail.com; helo=mail-pj1-x1029.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233098 Archived-At: Until emacs 27.2, package.el used to correctly pick `package-user-dir' based on the value of `user-emacs-directory', but it now seems to ignore it and defaults to "~/.emacs.d/elpa". Demo: (setq user-emacs-directory "/tmp") (require 'package) (message "%s" package-user-dir) Starting with "emacs -Q" this would output "~/.emacs.d/elpa". Expected output: "/tmp/elpa" (as in emacs 27.2). Based on git bisect, the offending commit seems to be 9973019764.