GNU bug report logs - #37358
Add emacs-doom-themes

Previous Next

Package: guix-patches;

Reported by: Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>

Date: Mon, 9 Sep 2019 16:57:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>
Cc: 37358 <at> debbugs.gnu.org
Subject: [bug#37358] Add emacs-doom-themes
Date: Wed, 11 Sep 2019 00:03:29 +0200
Hello,

Tim Gesthuizen <tim.gesthuizen <at> yahoo.de> skribis:

>>From 3fc45dd06f11523f2f7494bcd69790a879635ae4 Mon Sep 17 00:00:00 2001
> From: Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>
> Date: Mon, 9 Sep 2019 18:48:31 +0200
> Subject: [PATCH] gnu: Add emacs-doom-themes
>
> * gnu/packages/emacs-xyz.scm (emacs-doom-themes): New variable.

[...]

> +       (modify-phases %standard-phases
> +         (add-after 'unpack
> +             'move-themes
> +           (lambda _
> +             (copy-recursively "themes/" "."))))))

Why is this needed?

I could suggest:

  (for-each (lambda (file)
              (rename-file file (string-append (dirname file) "/..")))
            (find-files themes))

… which would really move files, but it also more verbose.

WDYT?

Thank you,
Ludo’.




This bug report was last modified 5 years and 290 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.