GNU bug report logs - #75063
[PATCH 0/2] Easy configuration of FreeDict into dicod-service-type

Previous Next

Package: guix-patches;

Reported by: Runciter <runciter <at> whispers-vpn.org>

Date: Tue, 24 Dec 2024 12:48:02 UTC

Severity: normal

Tags: patch

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: Runciter <runciter <at> whispers-vpn.org>
Cc: 75063 <at> debbugs.gnu.org
Subject: [bug#75063] [PATCH v2] gnu: dict: Add symbols to help users configure FreeDict with dicod.
Date: Wed, 08 Jan 2025 23:15:33 +0100
Hi,

Runciter <runciter <at> whispers-vpn.org> skribis:

> * gnu/services/dict.scm: (%dicod-database:freedict): New procedure;
> (dicod-freedict-databases): new variable.
> * doc/guix.texi: (Dictionary Service): Document them.
>
> Signed-off-by: Runciter <runciter <at> whispers-vpn.org>

[...]

> -The following is an example @code{dicod-service-type} configuration.
> +@deffn {Procedure} %dicod-database:freedict dictionary-name
> +"Returns a record of type @code{dicod-database} for purpose of configuring a
> +database for the FreeDict multilingual dictionary named by the string
> +@var{dictionary-name} into a service of type @code{dicod-service-type}."
> +@end deffn

Could you remove double quotes?

I would add an example, like so: “… named by @var{dictionary-name}, a
string such as @code{"kur-eng"} for the Kurdish-to-English dictionary,
into a service …”.

> +@defvar dicod-freedict-databases
> +A relatively large list of records of type @code{dicod-database}, made

Oops, I guess my message was unclear.

I think the procedure should be called ‘dicod-freedict-database’
(singular); the variable for all the databases should be called
‘%dicod-databases:freedict’ (similar to ‘%dicod-database:gcide’).

Apart from that it looks good to me.

Could you send one last version along these lines?

Thanks,
Ludo’.




This bug report was last modified 114 days ago.

Previous Next


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