From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:45557) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsuSE-0002i0-IV for guix-patches@gnu.org; Wed, 31 Jul 2019 15:40:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsuSD-0006E9-Er for guix-patches@gnu.org; Wed, 31 Jul 2019 15:40:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44304) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsuSC-0006DZ-US for guix-patches@gnu.org; Wed, 31 Jul 2019 15:40:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsuSC-0001U7-Ob for guix-patches@gnu.org; Wed, 31 Jul 2019 15:40:04 -0400 Subject: [bug#36875] [PATCH] doc: Document the use of `program-file' for mcron jobs. Resent-Message-ID: References: <875znhbugu.fsf@gmail.com> From: Ricardo Wurmus In-reply-to: <875znhbugu.fsf@gmail.com> Date: Wed, 31 Jul 2019 21:39:37 +0200 Message-ID: <87h872t2me.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Maxim Cournoyer Cc: 36875@debbugs.gnu.org Hi Maxim, > This follows up to my second post under the thread at > (https://lists.gnu.org/archive/html/help-guix/2019-07/msg00180.html). > > It aims to shed some light on (more) complex mcron job Guile scripting > with the aid of Guix features (such as program-file). I wonder if this can be worked around some other way, e.g. by adding srfi-26 to the =E2=80=9Cwith-imported-modules=E2=80=9D clause. I don=E2=80=99t fully understand the problem as described in the addition t= o the manual. What does =E2=80=9Cimported syntax definitions wouldn't work corre= ctly=E2=80=9D mean? It would be useful to state that this is something to do with srfi-26. About the patch: - please replace tabs with spaces. - =E2=80=9CBeep the system when the battery reaches %MIN-LEVEL or less batt= ery percent.=E2=80=9D sounds odd. How about =E2=80=9CBeep when the battery p= ercentage falls below %MIN-LEVEL.=E2=80=9D? - Can the example be simplified further? Is (setenv "LC_ALL" "C") really needed here? - instead of let* and when I=E2=80=99d probably use and-let*. -- Ricardo