From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: Editing Scheme in the installation image Date: Sat, 07 Jan 2017 10:00:03 -0600 Message-ID: <87k2a6g8sc.fsf@dustycloud.org> References: <878tqp3y69.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPtPe-0000sY-9M for guix-devel@gnu.org; Sat, 07 Jan 2017 11:00:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPtPb-0004ey-82 for guix-devel@gnu.org; Sat, 07 Jan 2017 11:00:10 -0500 In-reply-to: <878tqp3y69.fsf@gnu.org> 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 Ludovic Court=C3=A8s writes: > Hello Guix! > > One issue that=E2=80=99s often reported is that it=E2=80=99s inconvenie= nt to edit the > config file with all its parentheses in the installation image given th= e > available options (Zile, Nano, and nvi). > > Something like Paredit and =E2=80=98show-paren-mode=E2=80=99 in Emacs w= ould help avoid > mistakes such as unbalanced parenthesis. However =E2=80=98emacs-minima= l=E2=80=99 takes > 180MiB and it would be unreasonable to include it. > > So I figured we could use Zile-on-Guile=C2=B9 (yes!) and extend it to h= ave > something that resembles Paredit, like: > > > 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? Note that I saw that mit-scheme's edwin now includes some sort of paredit: https://www.gnu.org/software/mit-scheme/release.html New parenthesis-editing minor mode M-x paredit-mode.=20 iirc edwin is written in scheme, so adapting their paredit-mode might be less work than writing our own from scratch?