From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Finding packages to enable by default Date: Sun, 08 Dec 2013 23:21:39 +0200 Message-ID: <871u1nca3g.fsf@yandex.ru> References: <87mwkgb74k.fsf@yandex.ru> <52A02473.8090005@gmx.at> <87d2laq3e5.fsf@yandex.ru> <52A1890A.2010500@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386537721 16703 80.91.229.3 (8 Dec 2013 21:22:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Dec 2013 21:22:01 +0000 (UTC) Cc: Juanma Barranquero , Stefan Monnier , emacs-devel To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 08 22:22:06 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vplni-0006Ql-IH for ged-emacs-devel@m.gmane.org; Sun, 08 Dec 2013 22:22:06 +0100 Original-Received: from localhost ([::1]:40850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vplni-0003uK-2F for ged-emacs-devel@m.gmane.org; Sun, 08 Dec 2013 16:22:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VplnZ-0003uD-0W for emacs-devel@gnu.org; Sun, 08 Dec 2013 16:22:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VplnR-0003dP-Tr for emacs-devel@gnu.org; Sun, 08 Dec 2013 16:21:56 -0500 Original-Received: from mail-ee0-x22b.google.com ([2a00:1450:4013:c00::22b]:38576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VplnR-0003bw-M5 for emacs-devel@gnu.org; Sun, 08 Dec 2013 16:21:49 -0500 Original-Received: by mail-ee0-f43.google.com with SMTP id c13so1193724eek.16 for ; Sun, 08 Dec 2013 13:21:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=hDelrYBBYr9+yDov8OMbJI5OeP6i9o9ReSjqNJcB0f4=; b=T9FAWr2m5qF4Mg4cx/l0WXauW/zCRFkzWvYaGDDUnEhtUQERFNqRRs7dGy7ro1jKzo z6giOItg6upEFwpfGY65mXH3s0pKrgPGOaO39OfMGBuFLl+4pk0EOFPsj9ciPYOMKkmp jcs24W2pJRX4vg5qy7xPrxyrjyuXvXjRY3OjRG1wj1vYqA+pXTJDdYPQIeW082Q0gHjJ 4ZysdWA3zj4nOP7XeF2LYihdyCno32ZZq/UJmhWlMQkFCamzcnOtnLfMvFkgHe4sS8cZ KQNXEv4i+/yTEk7Y35ior6zEtLAp0CB+yaDQCPwTpb4TDhaiVYJGbN0SjecnLjmXTYUT 8Lhg== X-Received: by 10.15.109.205 with SMTP id cf53mr3612061eeb.30.1386537708294; Sun, 08 Dec 2013 13:21:48 -0800 (PST) Original-Received: from axl ([62.228.136.233]) by mx.google.com with ESMTPSA id l4sm21160397een.13.2013.12.08.13.21.46 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 08 Dec 2013 13:21:47 -0800 (PST) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 08 Dec 2013 18:45:21 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:166218 Archived-At: Lars Magne Ingebrigtsen writes: > Speaking of feature freezes and packages -- is there any chance js2-mode > could become the default JavaScript mode in Emacs? It's so much better > than the standard JavaScript mode that it isn't even funny. Personally, I'd prefer to keep it in ELPA, because Git. Good news is, since ~18 hours ago, js-mode indentation code has feature parity with js2-mode (aside from a couple of simplifications). So when Emacs 24.4 is released, we'll make js2-mode derive from js-mode and reuse the merged indentation logic. With a compatibility shim for older Emacsen, I guess. > It's perhaps the best mode available for Emacs at all, and JavaScript is > the language du jour, so it seems a pity that it's not used by default. Installing from ELPA shouldn't be a problem for anyone. The use of a parser is an opinionated choice, and maybe we should leave it to users. It's not hard to imagine that js-mode + flymake using jslint or jshint can be a better fit for some workflows, and I've read a few opinions stating that.