unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: paren@disroot.org, 63909@debbugs.gnu.org, Andrew Tropin <andrew@trop.in>
Subject: [bug#63909] [PATCH] home: Add inputrc service.
Date: Fri, 16 Jun 2023 15:40:09 +0200	[thread overview]
Message-ID: <87pm5vseyu.fsf@gnu.org> (raw)
In-Reply-To: <29f421343373bc3655abb9961f254880a295f6f7.1685967547.git.efraim@flashner.co.il> (Efraim Flashner's message of "Mon, 5 Jun 2023 15:19:24 +0300")

Hi!

Efraim Flashner <efraim@flashner.co.il> skribis:

> * gnu/home/services/shells.scm (home-inputrc-service-type,
> home-inputrc-configuration): New variables.
> (serialize-inputrc-key-bindings, serialize-inputrc-variables,
> serialize-inputrc-conditional-constructs,
> serialize-inputrc-extra-content, generate-home-inputrc-documentation):
> New procedures.

Nice!

I’d like Andrew and ( to chime in more often :-) but here’s my take.

> +\f
> +;;;
> +;;; Documentation.
> +;;;
>  
>  (define (generate-home-shell-profile-documentation)
>    (generate-documentation
> @@ -662,3 +798,10 @@ (define (generate-home-fish-documentation)
>      `((home-fish-extension
>         ,home-fish-extension-fields))
>      'home-fish-extension)))
> +
> +(define (generate-home-inputrc-documentation)
> +  (string-append
> +   (generate-documentation
> +    `((home-inputrc-configuration
> +       ,home-inputrc-configuration-fields))
> +    'home-inputrc-configuration)))

I don’t think we need to keep these procedures in the file.

Overall it LGTM, except for one thing: could you add it to
‘doc/guix.texi’?  (The usual template is: an intro giving context and a
cross-reference to the upstream manual, one or two configuration
examples with an explanation, and then the reference.)

Thanks!

Ludo’.




  reply	other threads:[~2023-06-16 13:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-05 12:19 [bug#63909] [PATCH] home: Add inputrc service Efraim Flashner
2023-06-16 13:40 ` Ludovic Courtès [this message]
2023-06-18  8:49   ` [bug#63909] [PATCH v2] " Efraim Flashner
     [not found]     ` <handler.64148.B.168707819619994.ack@debbugs.gnu.org>
2023-07-06 13:21       ` bug#63909: bug#64148: Acknowledgement ([PATCH v2] home: Add inputrc service.) 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=87pm5vseyu.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=63909@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=efraim@flashner.co.il \
    --cc=paren@disroot.org \
    /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).