[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs crashes when writting JavaScript
From: |
Dmitry Gutov |
Subject: |
Re: Emacs crashes when writting JavaScript |
Date: |
Mon, 23 Sep 2019 16:29:46 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 23.09.2019 3:50, Jackson Ray Hamilton wrote:
Some tips if you decide to help: you mentioned an AST, but there isn’t
one. Parsing starts in js-syntax-propertize. Years ago, Sebastian
Wiesner wrote some blog articles explaining how syntax highlighting
worked in Emacs, but he’s since removed those posts from his blog and
they aren’t available on Internet Archive. Maybe he will provide you
with the articles if you ask him for:
Even if he doesn't, though, that's no reason to give up.
For instance, this article seems to give a decent introduction:
http://www.modernemacs.com/post/major-mode-part-1/
And there's also the manual, existing examples in the code, as well as
this mailing list (as Emacs Help too) if you still have questions.