[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why js2-mode in Emacs 23.2?
From: |
Lennart Borgman |
Subject: |
Re: Why js2-mode in Emacs 23.2? |
Date: |
Mon, 10 Aug 2009 02:00:53 +0200 |
On Mon, Aug 10, 2009 at 1:58 AM, Daniel Colascione<address@hidden> wrote:
> On Aug 9, 2009, at 7:55 PM, Lennart Borgman wrote:
>>
>> It is up to Chong and Stefan of course.
>
> Of course.
>
>> Could you please make sure espresso-mode follows Emacs conventions? I
>> am not sure but I think there were some thing that could be fixed.
>
> The only issue I'm aware of is that espresso-mode syntactically fontifies
> the whole buffer
> when starting up to ensure that regular expressions are marked correctly.
> The comment
> that explains it is here:
>
> ;; Important to fontify the whole buffer syntactically! If we don't,
> ;; then we might have regular expression literals that aren't marked
> ;; as strings, which will screw up parse-partial-sexp, scan-lists,
> ;; etc. and and produce maddening "unbalanced parenthesis" errors.
> ;; When we attempt to find the error and scroll to the portion of
> ;; the buffer containing the problem, JIT-lock will apply the
> ;; correct syntax to the regular expresion literal and the problem
> ;; will mysteriously disappear.
Ah, yes, that was what broke it in mumamo. Could you please find a way
to fix this? There a different levels of fontification in JIT-lock
that probably can help.
Other things to look for are of course key bindings and using
define-derived-mode. (And probably more that I have forgotten.)
- Why js2-mode in Emacs 23.2?, Deniz Dogan, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?, Lennart Borgman, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?, Daniel Colascione, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?, Lennart Borgman, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?, Daniel Colascione, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?,
Lennart Borgman <=
- Re: Why js2-mode in Emacs 23.2?, Daniel Colascione, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?, Lennart Borgman, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?, Daniel Colascione, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?, Lennart Borgman, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?, Leo, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?, Daniel Colascione, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?, Carsten Dominik, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Leo, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, CHENG Gao, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Leo, 2009/08/10