From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: Editing Scheme in the installation image Date: Thu, 05 Jan 2017 20:54:34 -0500 Message-ID: <87inptkl5x.fsf@openmailbox.org> References: <878tqp3y69.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPJjz-0003zi-RB for guix-devel@gnu.org; Thu, 05 Jan 2017 20:54:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPJjv-0008CL-Km for guix-devel@gnu.org; Thu, 05 Jan 2017 20:54:47 -0500 In-Reply-To: <878tqp3y69.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 06 Jan 2017 00:05:34 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel , Mike Gran --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hello Guix! > > One issue that=E2=80=99s often reported is that it=E2=80=99s inconvenient= to edit the > config file with all its parentheses in the installation image given the > available options (Zile, Nano, and nvi). > > Something like Paredit and =E2=80=98show-paren-mode=E2=80=99 in Emacs wou= ld help avoid > mistakes such as unbalanced parenthesis. However =E2=80=98emacs-minimal= =E2=80=99 takes > 180=C2=A0MiB and it would be unreasonable to include it. > > So I figured we could use Zile-on-Guile=C2=B9 (yes!) and extend it to have > something that resembles Paredit, like: > > ;; Poor developer=E2=80=99s Paredit. > > (define (paredit-open-paren) > (insert "()") > (backward-char)) > > (define (paredit-close-paren) > (unless (search-forward ")") > (insert ")"))) > > (set-key "(" 'paredit-open-paren) > (set-key ")" 'paredit-close-paren) > > > Of course, it takes more than these few lines to write a real Paredit, > but still, wouldn=E2=80=99t it be cool? :-) > > What do people (Mike in particular!) think? > > Ludo=E2=80=99. > > =C2=B9 https://www.gnu.org/software/guix/packages/z.html#zile-on-guile > > PS: The closure of Zile-on-Guile is 103=C2=A0MiB, but Zile-on-Guile itsel= f is > only 400K and its dependencies are already in the installation > image. This sounds useful! Provided that everything is stable in Zile-on-Guile, I'm for this inclusion. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlhu+NoACgkQ5qXuPBlG eg1gUg/9FlmPFqJuJcNxysB2NBsNg8DQAELKdXjCYJt/iBfFHC6psGWXLat1v34k bvIdfSQpqmJfSXL8blX2QdUMj+XLwtIZiIRthC4vlpsDDmog0YPGgpM1aPZDXAGv Crwt5c7p/kTwyNEw5nqnDJ52yFDqYZ8VYxuK5N+OcVmJv2tNahgQ6TEGPeeMIKBW obgEMkFHbydLpmQVpbxOnmeqnwdSFjo64GFoYFWSeMTTUOYOdOvNpYmdHm5t4gPR lezJ+Yh/hCHLnVqxS0fW+DFOrs37rfk1iJ2BHTedgk/CfhHsrLCTlT3xsRr+5Vtv yFA0ZlgAcZtNORQ8MW9QNajw9P4Qg/ia9Jsr2xvuOoFfEsWGyWrspgkgrarSw8UU HwX1PBfvBjvPuXGQy7V8MaTUQ9dL9MpCjBmwTv2MpLSjJHewnOZ9c0SvX30K0FIf MPiG0GSsoeYlMOiIs8irU3tK4iN+3iE5jrDzvzzae2iB5oj0G2ZDeqqkJs4ggTzR 6V5HDDsXlc81gIajmTLFWz2SUuK2OsxOEP02xAltCI/6uF+WSBz0hno13Y1IOEi8 jjLOX5/CiCUVjPJtpVkQWPrGlhAIA5TuzLohyU4oaAAsBKZ/iuvdVf7ynNMiUc76 IngWT4Jt9QW+GG/K7Eb48/Zt+HMOKudndDDIPEO6rf8LIvJLfJk= =juPT -----END PGP SIGNATURE----- --=-=-=--