From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joaotavora@gmail.com (=?utf-8?B?Sm/Do28gVMOhdm9yYQ==?=) Newsgroups: gmane.emacs.devel Subject: Re: [patch] make electric-pair-mode smarter/more useful Date: Thu, 12 Dec 2013 11:26:37 +0000 Message-ID: <87iouuwbrm.fsf@gmail.com> References: <87haalh806.fsf@gmail.com> <87d2l9wfne.fsf@yandex.ru> <87fvq49xzp.fsf@gmail.com> <87vbyuwyyc.fsf@gmail.com> <52A93B99.8040308@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1386847693 9032 80.91.229.3 (12 Dec 2013 11:28:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Dec 2013 11:28:13 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 12 12:28:16 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 1Vr4RD-0004y4-TV for ged-emacs-devel@m.gmane.org; Thu, 12 Dec 2013 12:28:16 +0100 Original-Received: from localhost ([::1]:35137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr4RD-0000CR-8P for ged-emacs-devel@m.gmane.org; Thu, 12 Dec 2013 06:28:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr4R5-0000CH-Da for emacs-devel@gnu.org; Thu, 12 Dec 2013 06:28:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vr4Qz-000894-LV for emacs-devel@gnu.org; Thu, 12 Dec 2013 06:28:07 -0500 Original-Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:45239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr4Qz-00088y-EX for emacs-devel@gnu.org; Thu, 12 Dec 2013 06:28:01 -0500 Original-Received: by mail-we0-f172.google.com with SMTP id w62so277413wes.17 for ; Thu, 12 Dec 2013 03:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=KtOvKFMiRa9xUgnjQyyatZA6XYHMbX7A9S0uJjhz3QU=; b=F5JcyXPFSpV66a6I7xpXbtc5+9HjzwmDxNoxSFkeeTrsJ+xQ/tQvr/VSBiEuBe3fFF 9GjcqcsIMq8hFxYxWyCqiE85rYYoNM1ffd4htIgmMJ2iOo1M2+hYQ0vxI4452OoVH7Gt i87N5XQJ/+2SB7CVY649gMtD7h/7jf/1tb9AS+G6Xm/munKYbq2VLo76XHhJs+3f3Ms/ EqXaPnXbR9iQF4MEnB5oFrUNbayInPowqf9y5kr8HOyDWrgFuvUow6hVRzXULuCJPblz 7wXgfH/QHg6VAxuzx2UE2ZUdGVns7QgxgzI/rBTpytShq+gclZ9uXTUD/BwNP8LpK4wP Ebrg== X-Received: by 10.194.175.66 with SMTP id by2mr5905098wjc.59.1386847680544; Thu, 12 Dec 2013 03:28:00 -0800 (PST) Original-Received: from kitaj.yourcompany.com (66.207.108.93.rev.vodafone.pt. [93.108.207.66]) by mx.google.com with ESMTPSA id nb16sm23989751wic.0.2013.12.12.03.27.59 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 12 Dec 2013 03:27:59 -0800 (PST) In-Reply-To: <52A93B99.8040308@yandex.ru> (Dmitry Gutov's message of "Thu, 12 Dec 2013 06:29:13 +0200") 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:400c:c03::22c 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:166327 Archived-At: Dmitry Gutov writes: >> Didn't try it yet. Anyway, in latest emacs, js-mode layout rules >> already have reasonable behaviour, > I don't think this is sufficient: what if I want to type a one-line > function or object literal (say, an empty one)? Or an empty for, while > or catch body? I'd have to remove the added newline(s) and whitespace > in each such instance. Yes, makes sense, I didn't think of that. Jo=C3=A3o