GNU bug report logs - #57952
[PATCH] gnu: Add guix-send-email.

Previous Next

Package: guix-patches;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Tue, 20 Sep 2022 10:02:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: zimoun <zimon.toutoune <at> gmail.com>
To: Efraim Flashner <efraim <at> flashner.co.il>, Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 57952 <at> debbugs.gnu.org
Subject: [bug#57952] [PATCH] gnu: Add guix-send-email.
Date: Wed, 21 Sep 2022 23:16:50 +0200
Hi,

On Wed, 21 Sep 2022 at 13:02, Efraim Flashner <efraim <at> flashner.co.il> wrote:

> I suppose I didn't explain the package well in the description, but the
> purpose was to (a) create a simple guix extension to serve as an example
> for other people, and (b) to "solve" the case of "oops, I wrote guix
> send-email instead of git send-email".

The example I prepared for the lightening talk was:

--8<---------------cut here---------------start------------->8---
(define-module (guix extensiosn hello)
  #:export (guix-hello))

(define-command (guix-hello . cmd-line)
  (category plumbing)
  (synopsis "hello world")

  (display (G_ "Hello, world!")))
--8<---------------cut here---------------end--------------->8---

where the ’plumbing’ category could any other.  Even, we could introduce
a special category name ’extension’.

Running another program (as ’hello’ or anything else) could also fit
another good example.


Cheers,
simon




This bug report was last modified 2 years and 291 days ago.

Previous Next


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