GNU bug report logs - #18228
24.4.50; electrict-indent-mode bad indentation in python-mode

Previous Next

Package: emacs;

Reported by: Jorgen Schaefer <forcer <at> forcix.cx>

Date: Sat, 9 Aug 2014 10:02:02 UTC

Severity: minor

Found in version 24.3.93

Fixed in version 24.4.50

Done: fgallina <at> gnu.org (Fabián Ezequiel Gallina)

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: Fabián E. Gallina <fabian <at> anue.biz>,
 18228 <at> debbugs.gnu.org
Subject: Re: bug#18228: 24.4.50;
 electrict-indent-mode bad indentation in python-mode
Date: Tue, 12 Aug 2014 10:04:06 -0400
>> Not to switch off electric-indent, no (it's enabled globally).
> Python modes should switch it off by default.

No reason for that.

> Using electric features with Python effectively requires a certain level of
> experience with Emacs and Python alike.

Not at all.

> In Python indent is meaning - at least sometimes.

I know.

> There are some special cases, where its possible.
> In a lot of other cases not.

I know.

> IMO it would be a waste of time investing here.

Could be.  It's up to Fabián to decide whether it's best to disable
"reindent on :" or to make it smarter.


        Stefan




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

Previous Next


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