From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +0eYKOI1YWCm6AAAgWs5BA (envelope-from ) for ; Mon, 29 Mar 2021 04:05:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UGaCIeI1YWC6JAAA1q6Kng (envelope-from ) for ; Mon, 29 Mar 2021 02:05:22 +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 1DEBF18D73 for ; Mon, 29 Mar 2021 04:05:22 +0200 (CEST) Received: from localhost ([::1]:59846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQhHM-0002wu-QR for larch@yhetil.org; Sun, 28 Mar 2021 22:05:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQhH5-0002wh-Rr for bug-guix@gnu.org; Sun, 28 Mar 2021 22:05:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35834) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQhH4-0007MY-G2 for bug-guix@gnu.org; Sun, 28 Mar 2021 22:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQhH4-0004BS-Bp for bug-guix@gnu.org; Sun, 28 Mar 2021 22:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47458: Terrible UX upgrading Emacs in Guix Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 29 Mar 2021 02:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47458 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47458@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161698344416014 (code B ref -1); Mon, 29 Mar 2021 02:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Mar 2021 02:04:04 +0000 Received: from localhost ([127.0.0.1]:47380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQhG7-0004AD-RJ for submit@debbugs.gnu.org; Sun, 28 Mar 2021 22:04:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:33212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQhG6-0004A6-AR for submit@debbugs.gnu.org; Sun, 28 Mar 2021 22:04:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQhG6-0002td-4M for bug-guix@gnu.org; Sun, 28 Mar 2021 22:04:02 -0400 Received: from world.peace.net ([64.112.178.59]:34584) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQhG4-0006vp-6O for bug-guix@gnu.org; Sun, 28 Mar 2021 22:04:01 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQhG1-0007m8-S6; Sun, 28 Mar 2021 22:03:57 -0400 From: Mark H Weaver Date: Sun, 28 Mar 2021 22:02:20 -0400 Message-ID: <87o8f23eew.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.112.178.59; envelope-from=mhw@netris.org; helo=world.peace.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=1616983522; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=GLuyxlmDdTNCcplu8cez1N1TQTBclgmhe6qVXr+chlM=; b=U42yV/bukZOjeJ2/BwEf2jw/53Sqsy3yaINka0Xtn2yTje/yWPUXVFPZ4/+r5FDMFvNmG5 T52v0ZL8uUQcPduW531rz9fVygkXxDYLZNC7V8dvEP4eGfJ8b/0Hd4FOe7c/ThYr9qfRXx pMjPJACbgEV4iW+J1oF/t/FXf57czUcDlVoGEz1h/tmMES/NwYCjEVyxYrgZkJiQoQaUkg maFWyeyzlHlIUpspvAWmP+HEYkGKwqUpb0TmODUtVbWYzXu+H8O9UBBGU+O1jp+kbM9Zp7 pRyoUtBxz/9iARvlfaARoq2h06JZyGJqAzvYkvAZkCnB+Mz/O/of99cjZ5ATkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616983522; a=rsa-sha256; cv=none; b=jBOsKILaabuqNghpsWNbxUjqrIj7WUwXcFVh3dUHHwtakLFq0/ec6U8iFsbM6uuYge6twN 3nNH4FkcaopZ3xP+aI0IlipU4jEB0KygJfyQJBfQO5KjLY5bi7CyC3kUmnDuESGZS1SWEH d2Aop0MhakOdGnraMvgQfxsy8uaCF/aOUr1+lNQ9DCwkj7nMuwsqLkU7ts6MiucwHxwLIN OaCntZv5VBjpdrzpDSxiLHFkCb19wwHFxvni/rgeJTBY4AAYQaljVErbIegbNTxmnYKUfV ZWW05e4g2yvmWh0BkDMKoN9vOiw5Be0HkDRokmXgJtkCgvYemtxVF10XsP4Zug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 1DEBF18D73 X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: Y8uauwC9f7b3 I just updated my Guix system, which included the Emacs update from 27.1 to 27.2. After "guix package -m mhw-manifest.scm" finished running (which takes a long time for me, since I don't use substitutes), and before I even noticed that it had finished, my existing Emacs session started misbehaving badly. It failed to even open a plain text file in fundamental mode (a .drv file) with an inscrutible error about 'arrayp'. I tried to enable the debugger with M-x toggle-debug-on-error, but then I started getting errors about 'debug' not found. (I neglected to record the exact messages). I tried running "emacs -Q", and the same errors happened there too. I tried running "emacs -Q" from my root shell on a Linux text terminal, and the same errors happened there. I resorted to using 'vi' (which thankfully I had, and still remember how to use for basic editing) to revert the emacs update on my private branch and to rebuild my user profiles. Eventually, I realized what the problem was: (1) My existing emacs session started failing because ~/.guix-profile/share/emacs/27.1 had disappeared out from under it. (2) My newly launched emacs sessions were failing because my EMACSLOADPATH variable was still set to its old value, pointing at /home/mhw/.guix-profile/share/emacs/27.1/lisp, which no longer existed. I'm not sure why I've never run into this problem before. I'm also not sure what can be done to make this better, but if anyone has ideas, that would be good. If a 7+ year Guix veteran developer gets bitten badly by this, I doubt that less experienced users will be impressed. Any ideas? Mark