guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 1/5] emacs: Handle updating by ID after REPL restart.


From: Ludovic Courtès
Subject: Re: [PATCH 1/5] emacs: Handle updating by ID after REPL restart.
Date: Sun, 26 Oct 2014 19:35:47 +0100
User-agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux)

Alex Kost <address@hidden> skribis:

> The attached patch fixes the following problem:
>
> You describe a package by pressing RET in a list of packages and you get
> *Guix Package Info* buffer with this package.  Then if you restart Guix
> REPL and revert the "info" buffer, you get "Packages not found" because
> the package is identified by an ‘object-address’ which is not actual
> anymore.

OK, I had not experienced it.

> So as a workaround instead of using a search by ID, a search by name
> will be used after a REPL restart.

Sounds reasonable.

> From a6eff11fc7810a26aefd382bb09cef439e10e03e Mon Sep 17 00:00:00 2001
> From: Alex Kost <address@hidden>
> Date: Mon, 20 Oct 2014 16:07:38 +0400
> Subject: [PATCH 1/5] emacs: Handle updating by ID after REPL restart.
>
> * emacs/guix-base.el (guix-entry-to-specification,
>   guix-entries-to-specifications): New procedures.
>   (guix-revert-buffer): Search by name if searching by ID gives no results.

OK!

Ludo’.



reply via email to

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