emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47458: closed (Terrible UX upgrading Emacs in Guix)


From: GNU bug Tracking System
Subject: bug#47458: closed (Terrible UX upgrading Emacs in Guix)
Date: Thu, 20 May 2021 13:25:02 +0000

Your message dated Thu, 20 May 2021 09:24:16 -0400
with message-id <87v97dzgfz.fsf@gmail.com>
and subject line Re: bug#47458: Terrible UX upgrading Emacs in Guix
has caused the debbugs.gnu.org bug report #47458,
regarding Terrible UX upgrading Emacs in Guix
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
47458: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47458
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Terrible UX upgrading Emacs in Guix Date: Sun, 28 Mar 2021 22:02:20 -0400
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



--- End Message ---
--- Begin Message --- Subject: Re: bug#47458: Terrible UX upgrading Emacs in Guix Date: Thu, 20 May 2021 09:24:16 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

This should be fixed with the recently merged changes from Leo.  See
commit 307a2d2e2a833c2e1f7a79f46e4c6945c618cd8c. Thank you!

Closing.

Maxim


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]