help-guix
[Top][All Lists]
Advanced

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

Re: [ANN] Emacs-Guix 0.3.4


From: Ludovic Courtès
Subject: Re: [ANN] Emacs-Guix 0.3.4
Date: Mon, 08 Jan 2018 15:57:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hi!

Alex Kost <address@hidden> skribis:

> 2. "M-x guix-derivation-mode": this major mode makes Guix derivations
>    more human readable by indenting them and by making buttons from the
>    store file names.  It is enabled automatically in "/gnu/store/….drv"
>    files.  Many thanks to Oleg Pykhalov for inventing and implementing
>    this feature!
>
> 3. As you probably know there are many single-line Guile files in the
>    store, for example:
>
>      /gnu/store/…-shepherd.conf
>      /gnu/store/…-activate-service
>      /var/guix/profiles/system/boot
>
>    Similarly to the derivation files, the above files are not human
>    readable as they are one-liners.  Now (I mean with Emacs-Guix 0.3.4),
>    whenever you open such a file, it will be re-indented (its buffer,
>    not the file itself!) and scheme-mode will be enabled there.

One word: awesome.  :-)

I have a minor issue: I use ‘ido’ and ‘ido-find-file’ insist on browsing
the entire /gnu/store when I do C-x C-f with a store file name at point
(except if the file name denotes a directory.)  So to open a .drv file,
I have to work around that.

How do people handle this?

Thank you!

Ludo’.



reply via email to

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