From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: electric-pair-mode Date: Fri, 22 Nov 2013 20:13:35 +0100 Message-ID: <87bo1cgsgw.fsf@thinkpad.tsdh.org> References: <877gc1n9vb.fsf@tsdh.uni-koblenz.de> <87y54gk1yv.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385147636 15023 80.91.229.3 (22 Nov 2013 19:13:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Nov 2013 19:13:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alexander Baier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 22 20:14:00 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 1VjwAv-0007sJ-5v for ged-emacs-devel@m.gmane.org; Fri, 22 Nov 2013 20:13:57 +0100 Original-Received: from localhost ([::1]:40668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjwAu-000667-H8 for ged-emacs-devel@m.gmane.org; Fri, 22 Nov 2013 14:13:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjwAk-0005w5-0v for emacs-devel@gnu.org; Fri, 22 Nov 2013 14:13:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjwAc-0002Dz-6K for emacs-devel@gnu.org; Fri, 22 Nov 2013 14:13:45 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:56081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjwAb-0002Dk-W4 for emacs-devel@gnu.org; Fri, 22 Nov 2013 14:13:38 -0500 Original-Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 6062B20B50; Fri, 22 Nov 2013 14:13:37 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Fri, 22 Nov 2013 14:13:37 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=b5tfYIxRDG6eOxUyS+PdKzmSVbM=; b=mSfo/AGUCvD75O/6OaQZckmu4CCO mlzoUUhJx/MjorF6rau3Hzkh6fLg+cR2ICwwNCbAbNc0ZOF2ZaVcUb2qK/cL5DPD +4ivAtakZF598XxnpQnMITZq42R04BxFuJBZURvUgS46k8xPeHSBJu8mKEEw93K1 X+DAI/S8O4VF89k= X-Sasl-enc: bWpOiA/TZ9wobbfvqxpivQK3YVJPkGO7kvqUhv/koebx 1385147617 Original-Received: from thinkpad.tsdh.org (unknown [91.67.164.26]) by mail.messagingengine.com (Postfix) with ESMTPA id C3B5BC00E91; Fri, 22 Nov 2013 14:13:36 -0500 (EST) Mail-Followup-To: Alexander Baier , emacs-devel@gnu.org In-Reply-To: <87y54gk1yv.fsf@gmail.com> (Alexander Baier's message of "Fri, 22 Nov 2013 14:20:08 +0100") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.25 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:165575 Archived-At: Alexander Baier writes: >>> For example, in all kinds of lisp modes I'm using paredit which >>> provides both features, too, in a slightly different form. So there >>> I wouldn't want to activate these modes (although it seems having them >>> activated doesn't do any harm). >> >> Looks like there's no problem, then. > > In my experience electric-indent-mode screws up indentation in > python-mode buffers: That's the purpose of: ,----[ C-h v electric-indent-inhibit RET ] | electric-indent-inhibit is a variable defined in `electric.el'. | Its value is nil | | Automatically becomes buffer-local when set. | | Documentation: | If non-nil, reindentation is not appropriate for this buffer. | This should be set by major modes such as `python-mode' since | Python does not lend itself to fully automatic indentation. `---- In the current trunk, `python-mode' sets that to t. Bye, Tassilo