GNU bug report logs - #20557
24.4; electric-indent global mode is a regression

Previous Next

Package: emacs;

Reported by: Jerome L Quinn <jlquinn <at> us.ibm.com>

Date: Tue, 12 May 2015 15:05:02 UTC

Severity: normal

Merged with 19433, 20101

Found in versions 24.3.1, 24.4

Fixed in version 24.5

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 20557 <at> debbugs.gnu.org (full text, mbox):

From: Jerome L Quinn <jlquinn <at> us.ibm.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20557 <at> debbugs.gnu.org
Subject: Re: bug#20557: 24.4; electric-indent global mode is a regression
Date: Tue, 12 May 2015 12:15:33 -0400
[Message part 1 (text/plain, inline)]
Glenn Morris <rgm <at> gnu.org> wrote on 05/12/2015 11:50:00 AM:

> From: Glenn Morris <rgm <at> gnu.org>
> To: Jerome L Quinn/Watson/IBM <at> IBMUS
> Cc: 20557 <at> debbugs.gnu.org
> Date: 05/12/2015 12:01 PM
> Subject: Re: bug#20557: 24.4; electric-indent global mode is a regression
>
> Jerome L Quinn wrote:
>
> > If I create a temporary buffer, it comes up in fundamental mode.  If I
> > then type:
> >
> > a<RET>
> > a<RET>
> > a<RET>
> > a
> >
> > I instead get
> >
> > a
> >         a
> >                 a
> >                         a
> >
> > which isn't anything like I'd expect, and I can't see how it's useful
> > for anything.
>
> I can't reproduce this. Do you have a recipe starting from emacs -Q?

OK, it doesn't happen with -Q.  I guess I'll have to narrow down what's
mucking things in the startup.


> Perhaps you have edited a csh script; http://debbugs.gnu.org/19433
> What does C-h v indent-line-function  say?

I created a fundamental mode buffer:

indent-line-function is a variable defined in `indent.el'.
Its value is sh-basic-indent-line

Thanks
Jerry
[Message part 2 (text/html, inline)]

This bug report was last modified 10 years and 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.