From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#8576: 23.2; , js-mode doesn't support multi-line variable declarations Date: Fri, 06 Jul 2012 03:02:24 +0400 Message-ID: <4FF61D00.8080100@yandex.ru> References: <4DB915B0.7010605@ubercode.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1341529395 6062 80.91.229.3 (5 Jul 2012 23:03:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2012 23:03:15 +0000 (UTC) Cc: 8576@debbugs.gnu.org To: jaseemabid@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 06 01:03:14 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Smv4r-0001gl-DB for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Jul 2012 01:03:13 +0200 Original-Received: from localhost ([::1]:51941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smv4q-0003bl-9f for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jul 2012 19:03:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smv4o-0003bL-6q for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2012 19:03:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Smv4m-0000dZ-BU for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2012 19:03:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smv4l-0000dH-WC for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2012 19:03:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Smv9W-00009a-3e for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2012 19:08:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <4DB915B0.7010605@ubercode.de> Resent-From: Dmitry Gutov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Jul 2012 23:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8576 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8576-submit@debbugs.gnu.org id=B8576.1341529642543 (code B ref 8576); Thu, 05 Jul 2012 23:08:02 +0000 Original-Received: (at 8576) by debbugs.gnu.org; 5 Jul 2012 23:07:22 +0000 Original-Received: from localhost ([127.0.0.1]:51129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Smv8r-00008h-RP for submit@debbugs.gnu.org; Thu, 05 Jul 2012 19:07:22 -0400 Original-Received: from forward4.mail.yandex.net ([77.88.46.9]:44355) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Smv8n-00008T-72 for 8576@debbugs.gnu.org; Thu, 05 Jul 2012 19:07:19 -0400 Original-Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward4.mail.yandex.net (Yandex) with ESMTP id D275F1BC1EE7; Fri, 6 Jul 2012 03:02:20 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1341529340; bh=DwpXvyFffRKYkAPycUuq8drSB31sYHWhgYNDcec4nGE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:Content-Type: Content-Transfer-Encoding; b=wObNLRuDHVsXrjjCcacGxFZAbvsXeWUn3weZIq2SvOWUh6z/EkwuXzDKIy3e+Kat5 FqgmJCiOS1mk2CHe6mPglDx11T7lTvVwuTw0fRpY6wlCuaO+werRsl03Wf8CcvL9jg P+owSjM3I/REnghgXmn26KltAmDbdghER/zvtY4Q= Original-Received: from smtp2.mail.yandex.net (localhost [127.0.0.1]) by smtp2.mail.yandex.net (Yandex) with ESMTP id B163BE2057B; Fri, 6 Jul 2012 03:02:20 +0400 (MSK) Original-Received: from 98-87.nwlink.spb.ru (98-87.nwlink.spb.ru [178.252.98.87]) by smtp2.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 2KYeRYsf-2KYG0Weh; Fri, 6 Jul 2012 03:02:20 +0400 X-Yandex-Rcpt-Suid: jaseemabid@gmail.com X-Yandex-Rcpt-Suid: 8576@debbugs.gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1341529340; bh=DwpXvyFffRKYkAPycUuq8drSB31sYHWhgYNDcec4nGE=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: Content-Type:Content-Transfer-Encoding; b=UrYvbhBLsaXJm+4dxHFobfbzC/RKY0SFD0RQEvYuJDWaC3aEyVcwvIzNVstJ1ZZ2L wgiqYgfIx8TKHv92/vtVtblkxnZK9lasIqSa5uuWLP83bL0ZLziGf6Edzl3b4QtpAE BR0ZXTQM1Esw/uQWoNMfLkNCIzOOzQkgFGbjq7rA= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61629 Archived-At: > When the first var is staring with an offset, like inside a nested > function or something, this is failing. It feels like the second line > is indented wrt to coloumn 0 and not wrt to the "var" statement. I don't see the behavior you describe. With the gist for 24 loaded, this indents fine in js-mode: function() { function() { var a = "foo", b = "bar"; } } -- Dmitry