From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Josh Newsgroups: gmane.emacs.bugs Subject: bug#15478: cc-mode does not obey electric-indent-mode Date: Mon, 7 Oct 2013 14:17:23 -0700 Message-ID: References: <20131002200737.GA3895@acm.acm> <524CDA92.1030107@dancol.org> <20131003094543.GA3211@acm.acm> <83zjqn5cri.fsf@gnu.org> <20131007093859.GA3859@acm.acm> <83hact5aoe.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01536b6a6fec7c04e82d2fcc X-Trace: ger.gmane.org 1381180763 13456 80.91.229.3 (7 Oct 2013 21:19:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2013 21:19:23 +0000 (UTC) Cc: gnu-emacs-bug@moderators.isc.org, Alan Mackenzie To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 07 23:19:21 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 1VTID2-0000jJ-Dc for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2013 23:19:20 +0200 Original-Received: from localhost ([::1]:33529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTID1-00075W-Gl for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2013 17:19:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTICu-00075M-0V for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 17:19:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTICp-0006J6-Cn for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 17:19:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTICk-0006IH-6H; Mon, 07 Oct 2013 17:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VTICj-00037b-N1; Mon, 07 Oct 2013 17:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Josh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Mon, 07 Oct 2013 21:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15478 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.138118069411946 (code B ref -1); Mon, 07 Oct 2013 21:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Oct 2013 21:18:14 +0000 Original-Received: from localhost ([127.0.0.1]:32899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTIBy-00036a-6g for submit@debbugs.gnu.org; Mon, 07 Oct 2013 17:18:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41567) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTIBu-00036P-VI for submit@debbugs.gnu.org; Mon, 07 Oct 2013 17:18:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTIBq-000686-3T for submit@debbugs.gnu.org; Mon, 07 Oct 2013 17:18:10 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTIBq-000682-0K for submit@debbugs.gnu.org; Mon, 07 Oct 2013 17:18:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTIBl-0006sd-GL for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 17:18:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTIBh-00066a-1e for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 17:18:01 -0400 Original-Received: from moderators.individual.net ([130.133.4.7]:41513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTIBg-00066T-OQ for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 17:17:56 -0400 Original-Received: from mail-qc0-f175.google.com ([209.85.216.175]) by moderators.individual.net (Exim 4.80.1) for gnu-emacs-bug@moderators.isc.org with esmtp (envelope-from ) id <1VTIBg-002pIO-0L>; Mon, 07 Oct 2013 23:17:56 +0200 Original-Received: by mail-qc0-f175.google.com with SMTP id v2so5256928qcr.20 for ; Mon, 07 Oct 2013 14:17:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=wxLtgzGulJjCIQLC5ZkG07s28FKT8OxK0mTMrJFsWA4=; b=R+xkq3bG8qyaj60QUFenJKW6CiUWe7effWfy184o2UAKQ9gwaM49ALLFT7V4YBjuI4 gvg5LKarf4RxPgML03LQWkOeslx6mJ3wRuA4gtzqd5pmg7pVkoAPWQcIHge1qR1+77Hb FszlKcWfo7UbjtAIU+l9tvdQLduIHI+/F2Cy8ROPfJ+ushIK6gMAU0Ul7pbD4inWLAsc SFWBGvxRYjkgdDGDw1VVONYclo4qr6yxGF6o5YaDjDLU1j7yp7A0DSSJozhPTOjm5tyO ryZ5VbslB7z/vQxXXZ2aIz/ylgeo73ruuO7blwRHbS5aNbe5gUTH/8iRdlv0ECf21I7V zYxw== X-Gm-Message-State: ALoCoQncWCmR3ycFu8y1zM4oMbx4SXhBYfL7P2b/FUgdLsUx0OBIrWU2agvpkvC80/A9AhHgGTzC X-Received: by 10.224.57.138 with SMTP id c10mr39607854qah.57.1381180673874; Mon, 07 Oct 2013 14:17:53 -0700 (PDT) Original-Received: by 10.49.38.162 with HTTP; Mon, 7 Oct 2013 14:17:23 -0700 (PDT) In-Reply-To: <83hact5aoe.fsf@gnu.org> X-Google-Sender-Auth: vB-gNhTKCNB8FD0_0u6QYtwAF1U X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:78996 Archived-At: --089e01536b6a6fec7c04e82d2fcc Content-Type: text/plain; charset=ISO-8859-1 On Mon, Oct 7, 2013 at 9:05 AM, Eli Zaretskii wrote: > > Date: Mon, 7 Oct 2013 09:39:00 +0000 > > Cc: Eli Zaretskii , Stefan Monnier < > monnier@iro.umontreal.ca>, > > gnu-emacs-bug@moderators.isc.org > > From: Alan Mackenzie > > > > Hi, Josh. > > > > On Sat, Oct 05, 2013 at 10:04:00PM -0700, Josh wrote: > > > On Sat, Oct 5, 2013 at 7:55 PM, Eli Zaretskii wrote: > > > > > From: Stefan Monnier > > > > > Date: Sat, 05 Oct 2013 21:10:01 -0400 > > > > > Cc: gnu-emacs-bug@moderators.isc.org > > > > > For people who don't like electric-indent-mode, CC-mode's > > > > > c-electric-flag sucks just as much. > > > > Who are they, except for you? Why don't we hear any complaints about > > > > that, except from you? > > > > > c-electric-flag is a variable defined in `cc-engine.el'. > > > Its value is t > > > > > Automatically becomes buffer-local when set. > > > > > Documentation: > > > Not documented as a variable. > > > > > Do you hear many complaints about other undocumented variables? > > > > Here, the variable need only be accessed through the function below. The > > emphasis on this variable is only in discussions like this one, not in > > user facilities. > > Right. And in any case, I meant complaints about the behavior, not > about the variables/functions that control it. > I know what you meant. The reason I pointed out the fact that that the variable that supposedly "solved" this is undocumented, that newbies will not recognize "electric" as pertinent, and all the rest of it is to show that disabling this behavior is far too arcane and burdensome for newbies. As Daniel said upthread, "Users don't read READMEs --- they download a program, try it out, and in 15 minutes or so, decide whether they want to invest time into it." I believe that most such users who dislike this behavior and start down the path I described will fail and be far less likely to invest further time in Emacs and move on to something else. Perhaps such users are a small minority; I don't know. But I attribute the fact that you see few complaints about this behavior to selection bias, with some who dislike the behavior not complaining because they gave up and moved on to another editor while still others who dislike it do not complain because we managed to disable it ourselves. --089e01536b6a6fec7c04e82d2fcc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Oct 7, 2013 at 9:05 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Mon, 7 Oct 2013 09:39:00 +0000
> Cc: Eli Zaretskii <
eliz@gnu.org= >, Stefan Monnier <monnie= r@iro.umontreal.ca>,
> =A0 gnu-emacs-bug@= moderators.isc.org
> From: Alan Mackenzie <acm@muc.de&= gt;
>
> Hi, Josh.
>
> On Sat, Oct 05, 2013 at 10:04:00PM -0700, Josh wrote:
> > On Sat, Oct 5, 2013 at 7:55 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > > > From: Stefan Monnier <monnier@iro.umontreal.ca>
> > > > Date: Sat, 05 Oct 2013 21:10:01 -0400
> > > > Cc: gnu-emacs-bug@moderators.isc.org
> > > > For people who don't like electric-indent-mode, CC-= mode's
> > > > c-electric-flag sucks just as much.
> > > Who are they, except for you? =A0Why don't we hear any c= omplaints about
> > > that, except from you?
>
> > =A0 =A0 c-electric-flag is a variable defined in `cc-engine.el= 9;.
> > =A0 =A0 Its value is t
>
> > =A0 =A0 =A0 Automatically becomes buffer-local when set.
>
> > =A0 =A0 Documentation:
> > =A0 =A0 Not documented as a variable.
>
> > Do you hear many complaints about other undocumented variables? >
> Here, the variable need only be accessed through the function below. = =A0The
> emphasis on this variable is only in discussions like this one, not in=
> user facilities.

Right. =A0And in any case, I meant complaints about the behavior, not=
about the variables/functions that control it.

I know what you mea= nt.=A0 The reason I pointed out the fact that that the variable that suppos= edly "solved" this is undocumented, that newbies will not recogni= ze "electric" as pertinent, and all the rest of it is to show tha= t disabling this behavior is far too arcane and burdensome for newbies.=A0 = As Daniel said upthread, "Users don't read READMEs --- they downlo= ad a program, try it out, and in 15 minutes or so, decide whether they want= to invest time into it."=A0 I believe that most such users who dislik= e this behavior and start down the path I described will fail and be far le= ss likely to invest further time in Emacs and move on to something else.=A0= Perhaps such users are a small minority; I don't know.=A0 But I attrib= ute the fact that you see few complaints about this behavior to selection b= ias, with some who dislike the behavior not complaining because they gave u= p and moved on to another editor while still others who dislike it do not c= omplain because we managed to disable it ourselves.=A0


--089e01536b6a6fec7c04e82d2fcc--