unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>,
	jorgejavieran@yahoo.com.mx
Cc: emacs-devel@gnu.org
Subject: Re: Emacs crashes when writting JavaScript
Date: Mon, 23 Sep 2019 16:29:46 +0300	[thread overview]
Message-ID: <2adb716f-4592-06e8-b1ac-b7526635dc4f@yandex.ru> (raw)
In-Reply-To: <4d136a64-b3f4-24e4-1f28-c22a59468295@jacksonrayhamilton.com>

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.



  reply	other threads:[~2019-09-23 13:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87v9tqcd57.fsf.ref@yahoo.com.mx>
2019-09-18  6:49 ` Emacs crashes when writting JavaScript Jorge Javier Araya Navarro
2019-09-18 12:18   ` Eli Zaretskii
2019-09-23  0:50   ` Jackson Ray Hamilton
2019-09-23 13:29     ` Dmitry Gutov [this message]
2019-09-23 18:12     ` [SPAM UNSURE] " Stephen Leake
2019-09-23 18:30     ` Jorge Javier Araya Navarro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2adb716f-4592-06e8-b1ac-b7526635dc4f@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=jackson@jacksonrayhamilton.com \
    --cc=jorgejavieran@yahoo.com.mx \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).