unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: immerrr again <immerrr+lua@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Bug in font-lock-syntactic-keywords handling?
Date: Tue, 7 Oct 2014 03:27:06 +0400	[thread overview]
Message-ID: <CAERznn9H=ZM_9nr+J8BmC43QuXf1c-KXLOPCNt-kz52rGkOW9g@mail.gmail.com> (raw)
In-Reply-To: <jwviojxmb6z.fsf-monnier+emacs@gnu.org>

On Mon, Oct 6, 2014 at 8:28 PM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>
>
> Also, I recommend you use syntax-propertize-function when available.
> It comes with various advantages (e.g. it also works when font-lock is
> disabled).
>
>

Thanks a lot for your help, this should work. For some reason I
considered remove-text-properties an expensive operation and avoided
it, but a quick benchmark showed that syntax-ppss takes a lot more
time during syntactical fontification.

>
> PS: BTW, do you have any news about the copyright status of lua-mode
> that would prevent including it in GNU ELPA?

Sadly, no news. I haven't tried reaching those who hadn't signed the
assignment since the last time and I'm a lot more humble now in
estimates of my spare time to do actual rewriting. I will most likely
have another stab at it before Christmas.



      reply	other threads:[~2014-10-06 23:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-06 11:42 Bug in font-lock-syntactic-keywords handling? immerrr again
2014-10-06 13:14 ` Stefan Monnier
2014-10-06 14:21   ` immerrr again
2014-10-06 16:28     ` Stefan Monnier
2014-10-06 23:27       ` immerrr again [this message]

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='CAERznn9H=ZM_9nr+J8BmC43QuXf1c-KXLOPCNt-kz52rGkOW9g@mail.gmail.com' \
    --to=immerrr+lua@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).