Alex Kost skribis:
> Ludovic Courtès (2014-11-05 23:12 +0300) wrote:
>
>> Alex Kost skribis:
>>
>>> Ludovic Courtès (2014-11-05 00:37 +0300) wrote:
>>>
Alex Kost skribis:
> Also I forgot to mention “emacs/guix-messages.el” in “emacs.am” in
> commit 62f261d, so I did it in this
Ludovic Courtès (2014-11-05 23:12 +0300) wrote:
> Alex Kost skribis:
>
>> Ludovic Courtès (2014-11-05 00:37 +0300) wrote:
>>
>>> Alex Kost skribis:
>>>
Also I forgot to mention “emacs/guix-messages.el” in “emacs.am” in
commit 62f261d, so I did it in this patch (I hope it's not too evil
Alex Kost skribis:
> Ludovic Courtès (2014-11-05 00:37 +0300) wrote:
>
>> Alex Kost skribis:
>>
>>> Also I forgot to mention “emacs/guix-messages.el” in “emacs.am” in
>>> commit 62f261d, so I did it in this patch (I hope it's not too evil :-))
>>
>> Maybe “evil” is too strong a word ;-), but ple
(the patch is attached :-)).
>> From e7ca6550d7f33d894e0023e3305938fce365fdba Mon Sep 17 00:00:00 2001
>> From: Alex Kost
>> Date: Tue, 4 Nov 2014 19:38:27 +0300
>> Subject: [PATCH] emacs: Add 'pretty-sha-path'.
>>
>> * emacs/pretty-sha-path.el: New file
Mark H Weaver (2014-11-04 22:39 +0300) wrote:
> Hi Alex,
>
> Alex Kost writes:
>
>> +(defcustom pretty-sha-path-regexp
>> + (rx "/"
>> + (or "nix" "gnu")
>> + "/store/"
>> + (group (= 32 alnum)))
>
> I'm not sure if it's worth it, but you could make this regexp more
> restrictive.
s are cheap and easy, so let’s favor clarity.
> From e7ca6550d7f33d894e0023e3305938fce365fdba Mon Sep 17 00:00:00 2001
> From: Alex Kost
> Date: Tue, 4 Nov 2014 19:38:27 +0300
> Subject: [PATCH] emacs: Add 'pretty-sha-path'.
>
> * emacs/pretty-sha-path.el: New file.
Hi Alex,
Alex Kost writes:
> +(defcustom pretty-sha-path-regexp
> + (rx "/"
> + (or "nix" "gnu")
> + "/store/"
> + (group (= 32 alnum)))
I'm not sure if it's worth it, but you could make this regexp more
restrictive. Nix hashes can only contain the following 32 characters:
"
Mon Sep 17 00:00:00 2001
From: Alex Kost
Date: Tue, 4 Nov 2014 19:38:27 +0300
Subject: [PATCH] emacs: Add 'pretty-sha-path'.
* emacs/pretty-sha-path.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Pretty Path): New node.
---
doc/emacs.texi | 41 ++