From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#15478: cc-mode does not obey electric-indent-mode Date: Wed, 02 Oct 2013 21:13:50 -0700 Message-ID: <524CEEFE.4090403@dancol.org> References: <20130928201147.GC11317@acm.acm> <20130929091017.GA3161@acm.acm> <20131002200737.GA3895@acm.acm> <524CDA92.1030107@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gHLT4cTE45i2uGdOcAMHLmGmrO45f97eO" X-Trace: ger.gmane.org 1380773780 5903 80.91.229.3 (3 Oct 2013 04:16:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2013 04:16:20 +0000 (UTC) Cc: 15478@debbugs.gnu.org, Alan Mackenzie To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 03 06:16:20 2013 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 1VRaKq-0002YQ-2S for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2013 06:16:20 +0200 Original-Received: from localhost ([::1]:39775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRaKp-0001gg-H6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2013 00:16:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRaKf-0001gY-Ij for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 00:16:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRaKY-0005nW-8o for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 00:16:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRaKY-0005nS-5C for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 00:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VRaKX-0007wn-Vh for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 00:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Oct 2013 04:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15478 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15478-submit@debbugs.gnu.org id=B15478.138077370330484 (code B ref 15478); Thu, 03 Oct 2013 04:16:01 +0000 Original-Received: (at 15478) by debbugs.gnu.org; 3 Oct 2013 04:15:03 +0000 Original-Received: from localhost ([127.0.0.1]:50925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRaJb-0007vb-31 for submit@debbugs.gnu.org; Thu, 03 Oct 2013 00:15:03 -0400 Original-Received: from dancol.org ([96.126.100.184]:48211) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRaJY-0007ux-ET for 15478@debbugs.gnu.org; Thu, 03 Oct 2013 00:15:00 -0400 Original-Received: from c-76-22-66-162.hsd1.wa.comcast.net ([76.22.66.162] helo=[192.168.1.52]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1VRaJW-0005p8-Mu; Wed, 02 Oct 2013 21:14:58 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: X-Enigmail-Version: 1.5.2 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:78876 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gHLT4cTE45i2uGdOcAMHLmGmrO45f97eO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/2/13 9:10 PM, Stefan Monnier wrote: > That's arguing for changing the global default of electric-indent-mode.= >=20 > Whereas this bug report is about changing cc-mode to follow the > global preference, whichever way it's set. Sure. I agree that having cc-mode use the normal electric functionality would be better overall. But making this transition without turning electricity on by default would be making Emacs worse and would make Emacs less attractive in the eyes of new users, who will evaluate the editor's defaults, not its capabilities. If we do want to make cc-mode use generic electricity facilities, we have to enable electricity by default everywhere at the same time. --gHLT4cTE45i2uGdOcAMHLmGmrO45f97eO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (Darwin) iQIcBAEBAgAGBQJSTO8AAAoJEMAaIROpHW7IPAMP+gPTShthoYtBU8chhPEO5+Oh 4jkXsqf7Q98+gWH/j6+Bwi/jTc+00e8CP53u8GSshNXKamGZTsyg3D7QrFuekXKD Exw3mrQgfMfAr4N65AmnySMMTOhxgigYD6sx9jq3deLeHbi8PKjGtf91/wZ8+LYZ 0AYRg7PhLt1M/YVqsaXIfhhY34VJJb5XnreEQigJP0IGcz7LdT+BwVoN0LIZ0brV rYna++RmWvU4uXkCoZVO0p9UfhPpOCj2CNMJF4pe6kMCQkUw7HVYp7TPTlkd6MUl FmUl0VynfYeRDDDAFNgv7HOc5UBOxQ+erlypUNh32INiNjUJngkFRzsdQ1BIM/GH epyXIP6orXJ1gwuBpoxO+hWxSd7ZJ3T3en4z/DsmxJ4vwwUa2u7bCUZyC225D++Q L5hffQMme4X+xYp8UGCBhZxQlnHyxUI5QkXPnUg1dDawcAp4PbAyLJt/N4HhSfc4 CZLAgQT+/oVtF+5fok1FzMUJnt4YmVh4ghC3CeMABn4bU53v8tDIjXOV/4qScqxU iDnw3gyZOdFheHH4nP8H5i+GpEhSUwBtZwuWxGJ25OOyYGH95+CtMD6a3kEuVpVN Dg3lRKMSXw8KpRjr0ohwgFoH/ovY48SRwgNGlpvM6YfLRnVQtWk20U+ZptjuMpUO qdurtAEVn+u68RYTcDei =hhY7 -----END PGP SIGNATURE----- --gHLT4cTE45i2uGdOcAMHLmGmrO45f97eO--