From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jorgen Schaefer Newsgroups: gmane.emacs.devel Subject: Re: electric-pair-mode Date: Sun, 17 Nov 2013 19:30:46 +0100 Message-ID: <20131117193046.55ca54f6@forcix.kollektiv-hamburg.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384713070 27465 80.91.229.3 (17 Nov 2013 18:31:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Nov 2013 18:31:10 +0000 (UTC) To: emacs-devel@gnu.org, Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 17 19:31:14 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 1Vi77p-00029h-QC for ged-emacs-devel@m.gmane.org; Sun, 17 Nov 2013 19:31:13 +0100 Original-Received: from localhost ([::1]:39939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vi77p-0008Rq-EO for ged-emacs-devel@m.gmane.org; Sun, 17 Nov 2013 13:31:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vi77h-0008R1-3E for emacs-devel@gnu.org; Sun, 17 Nov 2013 13:31:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vi77T-0001sP-PL for emacs-devel@gnu.org; Sun, 17 Nov 2013 13:31:05 -0500 Original-Received: from loki.jorgenschaefer.de ([83.169.37.145]:60718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vi77T-0001ru-IK for emacs-devel@gnu.org; Sun, 17 Nov 2013 13:30:51 -0500 Original-Received: by loki.jorgenschaefer.de (Postfix, from userid 995) id 9FD39D10007E; Sun, 17 Nov 2013 19:30:49 +0100 (CET) Original-Received: from forcix.kollektiv-hamburg.de (x2f0562b.dyn.telefonica.de [2.240.86.43]) by loki.jorgenschaefer.de (Postfix) with ESMTPSA id E1F62D10007E; Sun, 17 Nov 2013 19:30:48 +0100 (CET) In-Reply-To: X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; i486-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.169.37.145 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:165302 Archived-At: On Sat, 16 Nov 2013 18:27:30 -0500 Stefan Monnier wrote: > I'm thinking of enabling electric-pair-mode in Emacs-24.4, and I think > the best way to do that is to actually enable it and then deal with > the complaints. But that only works if the complaints are > sufficiently constructive. > > So, please try enabling it and report any annoyance you notice. > If you just plain don't like the feature, then just disable it. If this is about electric-PAIR-mode: Works nicely, except the default `electric-pair-inhibit-predicate' makes it so that {{ results in "{{_|_}", even though I'd expect "{{_|_}}". If this is about electric-INDENT-mode: The global mode does not work well with ido-mode. When opening a new buffer or file, you have to use C-j to confirm that you really want to open a non-existing buffer/file. electric-indent-mode inserts the ^J verbatim instead of this. Reproduction: Enable ido-mode for buffers C-x b t C-j should create a new buffer named "t". With electric-indent-mode, it does not confirm, but adds ^J to the buffer name. RET then opens a buffer named "t^J". (This might also be a misfeature in ido, not sure). Regards, Jorgen