From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eduardo Ochs Newsgroups: gmane.emacs.help Subject: Re: How users start programming in Emacs Lisp... Date: Sun, 30 May 2021 21:34:01 -0300 Message-ID: References: <87wnrggh5x.fsf@zoho.eu> <87tumjgan7.fsf@zoho.eu> <878s3vg94z.fsf@zoho.eu> <87r1hnet1v.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23483"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 31 02:34:53 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnVtN-0005qc-0V for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 02:34:53 +0200 Original-Received: from localhost ([::1]:59512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnVtM-0001Oj-0R for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 30 May 2021 20:34:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnVsn-0001OL-Fv for help-gnu-emacs@gnu.org; Sun, 30 May 2021 20:34:17 -0400 Original-Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:33689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnVsl-0007HF-PH for help-gnu-emacs@gnu.org; Sun, 30 May 2021 20:34:17 -0400 Original-Received: by mail-pf1-x432.google.com with SMTP id f22so7780948pfn.0 for ; Sun, 30 May 2021 17:34:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=pmifJL58WzS4em2piwWDj90f90+uVPfgbqIiRejULpo=; b=egQJc730iYaG37PPGOM1D8rfRKBC/Ql/tm5w9hol4pTWQDEhlUmRlAI6sBPOZPNSPb 0JNQiok69hoEFELv6YOMF73HTmwUlD4Noo8rN2/2StmfwHJL33qSFw3BsgYyC7KT4O2h 1BFVnUDmsZduB0aaJgjHAjufc/c6yyI5VShq7gTm2qwABzgtKMH7kjepCJqaL4nIcQ65 jFkwW95S8ZZSUw6SFGYahQIIXHSd6SpJwC6gM3YKsReUXl8J9F4qdM/96FwYi3J2ZyTY mv98UGufvTp6O6ZdrBe3QtMnU16nScsda+Cj0mGF0E3jO5wv2Y1avUkvYJAxYoOGLSlH YTLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=pmifJL58WzS4em2piwWDj90f90+uVPfgbqIiRejULpo=; b=WFXq0qxK7SNhIWBHe1zSe1aPEqkI3Tb0X6YSTyqOO673uDHE0a+WOePggHRAVJMhUP RIzhmd6N/GE9OXAiv7nFgHVXFYxD5qkRAW25hLq+kKrXw9gg5s9NtEcBj9wK2SNkT6QE LPgw+tohP+idTNMAIo1NSHGrmXVANgxe/Ff1x6iybNc2o2dtiRn5wSsWYMGXESzXw0UY JnQsb7j2KfvhyriGmrI2ED1L/a/XZMbc9B7EmaDIJHyozLZfNja1wucBPvmnqVOZft/w FUfbmG+cx847ND6VRYCxQtMd91oxm6rgCZooub0DYqkRQYkqqP9wPM7Es39/oE91WOMm HFPw== X-Gm-Message-State: AOAM53098SnWGyqQlNTVUxiEr8CyyT4dEr9ZwilJPXU4y1ToX6hPJViS 6LCAzeT9IkGz1TIPFtpelJ1uSl+XB3Ppkx9ZX9fumaBnE80= X-Google-Smtp-Source: ABdhPJwdv3sezccyN/oPuTfS1vEgDZR1unXjb+meYGHLGEmTHcBbq1gaNx6d5POFnxOkhv3RJhoix3+IEb1zeEAxu7I= X-Received: by 2002:a05:6a00:24d4:b029:2da:8e01:f07f with SMTP id d20-20020a056a0024d4b02902da8e01f07fmr14472785pfv.44.1622421253724; Sun, 30 May 2021 17:34:13 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=eduardoochs@gmail.com; helo=mail-pf1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:130382 Archived-At: On Sun, 30 May 2021 at 20:03, Jean Louis 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"... [[]], E.