Alex Kost <alez...@gmail.com> skribis: > Hello, along with: > > /gnu/store/…-foo-0.1 > > we have: > > http://hydra.gnu.org/nar/…-foo-0.1 > http://hydra.gnu.org/log/…-foo-0.1 > > I think it would be good to "prettify" such things as well, so what > about the attached patch?
Makes sense. > From 5914f7007d1b27c0fa8594df4c1cff5fdd35e359 Mon Sep 17 00:00:00 2001 > From: Alex Kost <alez...@gmail.com> > Date: Sat, 19 Sep 2015 13:55:59 +0300 > Subject: [PATCH] emacs: Improve 'guix-prettify-regexp'. > > * emacs/guix-prettify.el (guix-prettify-regexp): Modify to handle "nar" > and "log". [...] > (defcustom guix-prettify-regexp > - (rx "/" > - (or "nix" "gnu") > - "/store/" > + (rx "/" (or "store" "nar" "log") "/" Maybe explicitly show in a comment the URLs and file names that we intend to match. Otherwise LGTM, thanks! Ludo’.