GNU bug report logs -
#15478
cc-mode does not obey electric-indent-mode
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Mon, Oct 7, 2013 at 9:05 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > Date: Mon, 7 Oct 2013 09:39:00 +0000
> > Cc: Eli Zaretskii <eliz <at> gnu.org>, Stefan Monnier <
> monnier <at> iro.umontreal.ca>,
> > gnu-emacs-bug <at> moderators.isc.org
> > From: Alan Mackenzie <acm <at> muc.de>
> >
> > 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 <at> gnu.org> wrote:
> > > > > From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> > > > > Date: Sat, 05 Oct 2013 21:10:01 -0400
> > > > > Cc: gnu-emacs-bug <at> 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.
[Message part 2 (text/html, inline)]
This bug report was last modified 11 years and 92 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.