unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Efraim Flashner <efraim@flashner.co.il>,
	Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: 57952@debbugs.gnu.org
Subject: [bug#57952] [PATCH] gnu: Add guix-send-email.
Date: Wed, 21 Sep 2022 23:16:50 +0200	[thread overview]
Message-ID: <86bkr8zav1.fsf@gmail.com> (raw)
In-Reply-To: <YyrhSqTAVJ/QSqXP@3900XT>

Hi,

On Wed, 21 Sep 2022 at 13:02, Efraim Flashner <efraim@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




  parent reply	other threads:[~2022-09-21 21:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-20 10:00 [bug#57952] [PATCH] gnu: Add guix-send-email Efraim Flashner
2022-09-20 16:51 ` Liliana Marie Prikler
2022-09-21 10:02   ` Efraim Flashner
2022-09-21 16:56     ` Liliana Marie Prikler
2022-09-21 21:19       ` zimoun
2022-09-21 21:16     ` zimoun [this message]
2022-09-20 17:38 ` zimoun
2022-09-21 10:03   ` Efraim Flashner
2022-09-22 19:30 ` Maxime Devos
2022-09-28 20:45   ` Ludovic Courtès
2022-09-30 10:39 ` bug#57952: Close patch Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86bkr8zav1.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=57952@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=liliana.prikler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).