From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: How users start programming in Emacs Lisp... Date: Mon, 31 May 2021 11:09:32 +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 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1426"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.7+183 (3d24855) (2021-05-28) Cc: help-gnu-emacs To: Eduardo Ochs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 31 10:14:01 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 1lnd3g-00009b-TY for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 10:14:00 +0200 Original-Received: from localhost ([::1]:49682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnd3f-0005PT-So for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 04:13:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnd2T-0005Ot-Kg for help-gnu-emacs@gnu.org; Mon, 31 May 2021 04:12:45 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:46463) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnd2Q-0004Jx-LY for help-gnu-emacs@gnu.org; Mon, 31 May 2021 04:12:45 -0400 Original-Received: from localhost ([::ffff:197.157.0.35]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000ADF01.0000000060B49A76.00002BEE; Mon, 31 May 2021 01:12:38 -0700 Mail-Followup-To: Eduardo Ochs , help-gnu-emacs Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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:130386 Archived-At: * Eduardo Ochs [2021-05-31 03:35]: > 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"... 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/