guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] emacs: Add 'guix-version' command.


From: Alex Kost
Subject: Re: [PATCH] emacs: Add 'guix-version' command.
Date: Tue, 26 Apr 2016 12:55:06 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ludovic Courtès (2016-04-26 01:06 +0300) wrote:

> Alex Kost <address@hidden> skribis:
>
>> From 73a231e171ee19baf7ea4c6d96da446833fb4b74 Mon Sep 17 00:00:00 2001
>> From: Alex Kost <address@hidden>
>> Date: Wed, 20 Apr 2016 19:27:44 +0300
>> Subject: [PATCH] emacs: Add 'guix-version' command.
>>
>> * emacs/guix-config.el.in (guix-config-name, guix-config-version): New
>>   constants.
>> * emacs/guix-about.el (guix-version): New command.  New file.
>> * emacs.am (ELFILES): Add it.
>
> [...]
>
>> +(defun guix-version ()
>> +  "Display Guix version in the echo area."
>> +  (interactive)
>> +  (message "%s %s" guix-config-name guix-config-version))
>
> It would be interested to also display the value of ‘%guix-version’ on
> the Scheme side, though maybe it should be a separate command, or maybe
> no command at all after all?

Hm, sorry, I didn't get it.  Do you mean '%guix-version' from (guix
config) module?  But it would be the same, as both 'guix-config-version'
(proposed by this patch) and '%guix-version' from the Scheme side are
set to "@PACKAGE_VERSION@".  What do you mean?

-- 
Alex



reply via email to

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