guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editing Scheme in the installation image


From: Ludovic Courtès
Subject: Re: Editing Scheme in the installation image
Date: Mon, 09 Jan 2017 10:10:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Christopher Allan Webber <address@hidden> skribis:

> Ludovic Courtès writes:
>
>> Mike Gran <address@hidden> skribis:
>>
>>>>On Sunday, January 8, 2017 2:48 AM, Ludovic Courtès <address@hidden> wrote:
>>
>> [...]
>>
>>>>I think it would take more than elisp compilation support to port Emacs
>>>>packages to Zile-on-Guile.  Essentially we’d need many APIs that 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’.
>
> 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 “real” Paredit, which is
already a good thing.

(I won’t be working on it in the near future but I’m bookmarking this
thread…)

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]