[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs rewrite in a maintainable language
From: |
Marcin Borkowski |
Subject: |
Re: Emacs rewrite in a maintainable language |
Date: |
Mon, 12 Oct 2015 00:02:43 +0200 |
On 2015-10-11, at 10:17, David Kastrup <address@hidden> wrote:
> Przemysław Wojnowski <address@hidden> writes:
>
>> Hello everybody,
>>
>> Recently I was going through Emacs C code and immediately one thing
>> come to my mind: "Did anyone consider rewrite it a more maintainable
>> language?" :-)
>
> Emacs is mostly written in Emacs Lisp. C is used only for the core.
> Encapsulation, namespaces and modularity are not really an issue there
> as it is a closed and confined working set.
>
> They are an issue in Elisp. So if you are worried about
> maintainability, rewriting Elisp into a more maintainable language would
> be by far more effective.
One thing that comes to my mind when I read this discussion is something
that was mentioned (AFAIR) on one of Emacs blogs a few years ago (or
so).
That is, it might be a good idea to move some parts of Emacs core (which
are not system-dependent or performance-critical, e.g., parts of
interactive behavior like `self-insert-command' might fit here) from
C to Elisp. We would gain at least two (connected) important things
this way:
1. more of Emacs code would be easier to understand for more people.
And hence,
2. (even) more of Emacs would be customizable without C wizardry.
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
- Emacs rewrite in a maintainable language, Przemysław Wojnowski, 2015/10/11
- Re: Emacs rewrite in a maintainable language, David Kastrup, 2015/10/11
- Re: Emacs rewrite in a maintainable language,
Marcin Borkowski <=
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/11
- Re: Emacs rewrite in a maintainable language, Óscar Fuentes, 2015/10/11
- Re: Emacs rewrite in a maintainable language, Marcin Borkowski, 2015/10/11
- Re: Emacs rewrite in a maintainable language, Óscar Fuentes, 2015/10/11
- RE: Emacs rewrite in a maintainable language, Drew Adams, 2015/10/11
- Re: Emacs rewrite in a maintainable language, John Wiegley, 2015/10/15
- Re: Emacs rewrite in a maintainable language, Eli Zaretskii, 2015/10/11
- Re: Emacs rewrite in a maintainable language, Eli Zaretskii, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Daniel Colascione, 2015/10/12
- Re: Emacs rewrite in a maintainable language, Richard Stallman, 2015/10/15