From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#5586: 23.1.92.1; Electric indentation and hungry backspace deletion in JavaScript mode (js-mode) Date: Wed, 17 Feb 2010 00:31:45 +0200 Message-ID: <201002170031.46472.pogonyshev@gmx.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1266365896 7797 80.91.229.12 (17 Feb 2010 00:18:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Feb 2010 00:18:16 +0000 (UTC) To: 5586@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 17 01:18:14 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NhXcL-00030h-CG for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Feb 2010 01:18:14 +0100 Original-Received: from localhost ([127.0.0.1]:40514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhXcI-0008Kl-Er for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Feb 2010 19:18:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhWHg-0008JK-9h for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2010 17:52:48 -0500 Original-Received: from [140.186.70.92] (port=59190 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhWHf-0008IO-BY for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2010 17:52:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhWHe-00010B-Pe for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2010 17:52:47 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37363) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhWHe-000107-Lp for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2010 17:52:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NhVzW-0001rX-3u; Tue, 16 Feb 2010 17:34:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2010 22:34:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5586 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12663596387149 (code B ref -1); Tue, 16 Feb 2010 22:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Feb 2010 22:33:58 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhVzS-0001rG-0C for submit@debbugs.gnu.org; Tue, 16 Feb 2010 17:33:58 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhVym-0001qZ-6q for submit@debbugs.gnu.org; Tue, 16 Feb 2010 17:33:16 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:37746) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhVyi-0005fl-6t for submit@debbugs.gnu.org; Tue, 16 Feb 2010 17:33:12 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NhVyh-0004an-DT for submit@debbugs.gnu.org; Tue, 16 Feb 2010 17:33:12 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:37966) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NhVyh-0004aj-7V for submit@debbugs.gnu.org; Tue, 16 Feb 2010 17:33:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhVyg-0002nv-Q5 for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2010 17:33:10 -0500 Original-Received: from [140.186.70.92] (port=36342 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhVyg-0002nK-50 for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2010 17:33:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhVyd-0007wl-Tl for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2010 17:33:10 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:59206) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NhVyd-0007wb-FZ for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2010 17:33:07 -0500 Original-Received: (qmail invoked by alias); 16 Feb 2010 22:33:04 -0000 Original-Received: from unknown (EHLO gonzo.localnet) [91.149.173.2] by mail.gmx.net (mp015) with SMTP; 16 Feb 2010 23:33:04 +0100 X-Authenticated: #16844820 X-Provags-ID: V01U2FsdGVkX18Tg7xQfz8Tp275iuSHHi1+dsXVCnI5aLecQmK3TA kb4e5gjD3FJX6I User-Agent: KMail/1.12.4 (Linux/2.6.29-2-686; KDE/4.3.4; i686; ; ) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.68000000000000005 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Tue, 16 Feb 2010 17:33:56 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 16 Feb 2010 17:34:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 16 Feb 2010 19:17:48 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35145 Archived-At: Package: emacs Severity: wishlist JavaScript is quite similar in syntax to C-like languages (Java, C++ etc.), so it's natural to use the same editing techniques for it. It would be nice if Emacs gave JS mode a more "familiar" feel. For me, the most wanted features are electric indentation and hungry backspace. I.e. when typing '{', '(' or a similar control character the current line would be automatically reindented. And backspace would delete all space characters to the left of the point, not just one. Paul