Ludovic Courtès (2016-04-26 01:06 +0300) wrote: > Alex Kost <alez...@gmail.com> skribis: > >> From 73a231e171ee19baf7ea4c6d96da446833fb4b74 Mon Sep 17 00:00:00 2001 >> From: Alex Kost <alez...@gmail.com> >> 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