From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Editing Scheme in the installation image Date: Mon, 09 Jan 2017 10:10:04 +0100 Message-ID: <87mvf0r443.fsf@gnu.org> References: <878tqp3y69.fsf@gnu.org> <675307112.1056847.1483710598047@mail.yahoo.com> <87pojzf5l9.fsf@gnu.org> <87y3ym1od1.fsf@gmail.com> <87inppx1ww.fsf@gnu.org> <1002155229.590601.1483901002681@mail.yahoo.com> <87wpe5qijn.fsf@gnu.org> <8737gtf2fs.fsf@dustycloud.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]:51806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQVy5-0002KD-1d for guix-devel@gnu.org; Mon, 09 Jan 2017 04:10:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQVy3-0007gx-P8 for guix-devel@gnu.org; Mon, 09 Jan 2017 04:10:17 -0500 In-Reply-To: <8737gtf2fs.fsf@dustycloud.org> (Christopher Allan Webber's message of "Sun, 08 Jan 2017 19:27:03 -0600") 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: Christopher Allan Webber Cc: guix-devel , Maxim Cournoyer , Mike Gran Christopher Allan Webber skribis: > Ludovic Court=C3=A8s writes: > >> Mike Gran skribis: >> >>>>On Sunday, January 8, 2017 2:48 AM, Ludovic Court=C3=A8s = wrote: >> >> [...] >> >>>>I think it would take more than elisp compilation support to port Emacs >>>>packages to Zile-on-Guile. Essentially we=E2=80=99d need many APIs tha= t Emacs >>>>provides. >>> >>> I looked at the current beta of paredit, and I quickly scanned >>> the code to look for *emacs* primitives. Below please find a list >>> of the primitives that Zile is missing. Note that this isn't the >>> missing *elisp* procedures. >>> Adding the majority of these is quite straightforward, but, >>> some have heretofore been out of scope for Zile. The missing >>> categories of concepts are >>> - lisp and scheme filling and indentation >>> - blinking the cursor or a matching parenthesis >>> - handling comments >>> - handling what emacs calls "lists" which is moving up and down >>> balanced parentheses >>> Here's the list. I probably missed a few. >> >> Woow, thanks for investigating! >> >> Looks non-trivial. I wonder how much of it could be trimmed by focusing >> just on the subset of Paredit relating to matching parens. >> >> Ludo=E2=80=99. > > I mentioned this earlier in the thread, but I think it got lost... > mit-scheme's edwin includes a scheme-based paredit. I haven't tried > looking at how much work it would be to port to Zile, but I'm guessing > since it's also scheme, it wouldn't be much work. > > I've extracted it from the latest mit-scheme release and included it. > The code is in the public domain. > > Maybe it can be of use? Yes, probably! It seems smaller than the =E2=80=9Creal=E2=80=9D Paredit, w= hich is already a good thing. (I won=E2=80=99t be working on it in the near future but I=E2=80=99m bookma= rking this thread=E2=80=A6) Ludo=E2=80=99.