From: Kei Kebreau <kei@openmailbox.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>, Mike Gran <spk121@yahoo.com>
Subject: Re: Editing Scheme in the installation image
Date: Thu, 05 Jan 2017 20:54:34 -0500 [thread overview]
Message-ID: <87inptkl5x.fsf@openmailbox.org> (raw)
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")
[-- Attachment #1: Type: text/plain, Size: 1402 bytes --]
ludo@gnu.org (Ludovic Courtès) writes:
> Hello Guix!
>
> One issue that’s often reported is that it’s 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 ‘show-paren-mode’ in Emacs would help avoid
> mistakes such as unbalanced parenthesis. However ‘emacs-minimal’ takes
> 180 MiB and it would be unreasonable to include it.
>
> So I figured we could use Zile-on-Guile¹ (yes!) and extend it to have
> something that resembles Paredit, like:
>
> ;; Poor developer’s 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’t it be cool? :-)
>
> What do people (Mike in particular!) think?
>
> Ludo’.
>
> ¹ https://www.gnu.org/software/guix/packages/z.html#zile-on-guile
>
> PS: The closure of Zile-on-Guile is 103 MiB, but Zile-on-Guile itself 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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2017-01-06 1:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-05 23:05 Editing Scheme in the installation image Ludovic Courtès
2017-01-06 1:54 ` Kei Kebreau [this message]
2017-01-06 9:09 ` Ricardo Wurmus
2017-01-06 13:49 ` Mike Gran
2017-01-07 11:54 ` Ludovic Courtès
2017-01-07 22:44 ` Maxim Cournoyer
2017-01-08 10:48 ` Ludovic Courtès
2017-01-08 18:43 ` Mike Gran
2017-01-08 22:43 ` Ludovic Courtès
2017-01-09 1:27 ` Christopher Allan Webber
2017-01-09 9:10 ` Ludovic Courtès
2017-01-07 16:00 ` Christopher Allan Webber
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87inptkl5x.fsf@openmailbox.org \
--to=kei@openmailbox.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
--cc=spk121@yahoo.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.