help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How users start programming in Emacs Lisp...


From: Jean Louis
Subject: Re: How users start programming in Emacs Lisp...
Date: Mon, 31 May 2021 11:09:32 +0300
User-agent: Mutt/2.0.7+183 (3d24855) (2021-05-28)

* Eduardo Ochs <eduardoochs@gmail.com> [2021-05-31 03:35]:
> On Sun, 30 May 2021 at 20:03, Jean Louis <bugs@gnu.support> wrote:
> >
> > I would underline it and enable mouse hyperlinks as well. Yes,
> > Eduardo? Why not...
> 
> Hi Jean Louis,
> 
> I tried to implement something like that in the early 2000s, but the
> code that I managed to write was ugly, buggy, and only highlighted a
> few constructions. But font locking was much more primitive then...
> 
> I think that the right way to do that now would be to start by writing
> a sandboxed tutorial - like this one here
> 
>   http://angg.twu.net/eev-intros/find-elisp-intro.html
>   (find-elisp-intro)
> 
> that would teach people how font locking works, and how to use tools
> like font-lock-studio. Then on top of that I could try to implement
> some kinds of font locking for eev, and by doing that people would
> treat my code as something meant to be explored and extended instead
> of as something that is "just crap"...

Maybe it could be a button with regexp so when regexp is found that
sexp becomes a button that is to be executed by (ee-eval-sexp-eol
&optional ARG)

That is the core idea but I don't know in this moment how to make
button by using regexp.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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