unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] emacs: Add 'guix-version' command.
Date: Tue, 26 Apr 2016 00:06:16 +0200	[thread overview]
Message-ID: <87bn4x9wdj.fsf@gnu.org> (raw)
In-Reply-To: <87r3dz9zfm.fsf@gmail.com> (Alex Kost's message of "Thu, 21 Apr 2016 10:46:37 +0300")

Alex Kost <alezost@gmail.com> skribis:

> There are "M-x emacs-version", "M-x org-version", "M-x magit-version",
> etc.  So there should be "M-x guix-version"!

At last!  :-)

> I named the file "guix-about.el" because sooner or later there should
> appear "M-x guix-about" command that will display a fancy splash screen
> similar to the one you see after pressing "C-h C-a".

Of course.

> From 73a231e171ee19baf7ea4c6d96da446833fb4b74 Mon Sep 17 00:00:00 2001
> From: Alex Kost <alezost@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?

Thanks,
Ludo’.

  reply	other threads:[~2016-04-25 22:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-21  7:46 [PATCH] emacs: Add 'guix-version' command Alex Kost
2016-04-25 22:06 ` Ludovic Courtès [this message]
2016-04-26  9:55   ` Alex Kost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bn4x9wdj.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).