From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Eilert Newsgroups: gmane.emacs.devel Subject: Re: Why js2-mode in Emacs 23.2? Date: Mon, 10 Aug 2009 11:05:27 -0300 Message-ID: <485b0c380908100705p7ef073b8n74283737ff295e0b@mail.gmail.com> References: <7b501d5c0908091634ndfba631vd9db6502db301097@mail.gmail.com> <5683A82C-C186-45EB-9290-76F87859E353@merrillpress.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016368e29a9fb66f10470ca13a6 X-Trace: ger.gmane.org 1249913150 20518 80.91.229.12 (10 Aug 2009 14:05:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2009 14:05:50 +0000 (UTC) To: Daniel Colascione , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 10 16:05:42 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MaVVM-0005jU-NA for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2009 16:05:41 +0200 Original-Received: from localhost ([127.0.0.1]:46333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaVVM-0008UL-03 for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2009 10:05:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MaVVI-0008UE-3Y for emacs-devel@gnu.org; Mon, 10 Aug 2009 10:05:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MaVVD-0008T3-Sd for emacs-devel@gnu.org; Mon, 10 Aug 2009 10:05:35 -0400 Original-Received: from [199.232.76.173] (port=38951 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaVVD-0008T0-Oo for emacs-devel@gnu.org; Mon, 10 Aug 2009 10:05:31 -0400 Original-Received: from mail-bw0-f222.google.com ([209.85.218.222]:37473) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MaVVD-00080c-0n for emacs-devel@gnu.org; Mon, 10 Aug 2009 10:05:31 -0400 Original-Received: by bwz22 with SMTP id 22so2837574bwz.42 for ; Mon, 10 Aug 2009 07:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=h54teZkO/7z5QUiKxtnss1dpbyI5l1LDnxUjJZVM6QA=; b=jW5gSaVe1Rc0BDeVhlJYZinhlKo1JQ+SfTg8C/OSBxud0PSGWM26F/2RTftbeOF8E8 9Et/TGf3VEX7Lyol2QDgkFeFQNrMl53dWd07AXmhlYBZ1dJTO7x287eF/Br5jZk6GUPY PQgtbz22JI15VEICHWk/DKPiffqhSmnoTOPUg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=uQfn5rSuDlT81doBq+2XrqiBMg0aND3dG/MvD086S4jiiWJ+pGbpujcGI+bN2sH/YU K//lsso70WooiEyrA6/mnGIFYCmSCl6gCTTp9WmA0p5NaKDzNhfy5PfwJQhknnMGanWC Bghu6U5KO8eTlV+kDt0d6u0/zS8IvC1fpM7LI= Original-Received: by 10.223.104.14 with SMTP id m14mr923214fao.10.1249913127789; Mon, 10 Aug 2009 07:05:27 -0700 (PDT) In-Reply-To: <5683A82C-C186-45EB-9290-76F87859E353@merrillpress.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113962 Archived-At: --0016368e29a9fb66f10470ca13a6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Sun, Aug 9, 2009 at 9:48 PM, Daniel Colascione wrote: > On Aug 9, 2009, at 8:32 PM, Leo wrote: > >> Why not fix bugs in js2-mode? Having two packages providing similar >> features is a burden to maintainers as well as users. >> > > Because js2-mode is an abomination? Oh, it's not so bad that it's slow and > unmaintained: that description applies to lots of code in Emacs. The problem > is that js2-mode operates fundamentally differently from other modes, > eschews font-lock, parses the buffer *asynchronously*, and generally goes > against every possible convention for implementing a major mode. > > > I do not think that was done without a very good reason (and there's a lengthy post explaining it), unless the author is a complete masochist. This is most likely pointing out serious deficiencies in Emacs infrastructure that have been neglected. --Stephen programmer, n: A red eyed, mumbling mammal capable of conversing with inanimate monsters. --0016368e29a9fb66f10470ca13a6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Sun, Aug 9, 2009 at 9:48 PM, Daniel Colascion= e <danc@merri= llpress.com> wrote:
On Aug 9, 2009, at 8:32 PM, Leo wrote:
Why not fix bugs in js2-mode? Having two packages providing similar
features is a burden to maintainers as well as users.

Because js2-mode is an abomination? Oh, it's not so bad that it's s= low and unmaintained: that description applies to lots of code in Emacs. Th= e problem is that js2-mode operates fundamentally differently from other mo= des, eschews font-lock, parses the buffer *asynchronously*, and generally g= oes against every possible convention for implementing a major mode.



I do not think that was done without a very good rea= son (and there's a lengthy post explaining it), unless the author is a = complete masochist.

This is most likely pointing out serious deficie= ncies in Emacs infrastructure that have been neglected.


--Stephen

programmer, n:
=C2=A0 =C2=A0 =C2= =A0 =C2=A0A red eyed, mumbling mammal capable of conversing with inanimate = monsters.
--0016368e29a9fb66f10470ca13a6--