emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: electric-indent-mode: abolition of `newline' function is not the Rig


From: Matthias Meulien
Subject: Re: electric-indent-mode: abolition of `newline' function is not the Right Thing.
Date: Sun, 13 Oct 2013 22:00:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

(...) I discovered this whilst trying `electric-indent-mode' in Text Mode.

For the same reason it is impossible to write Python code with both `python-skeleton-autoinsert' set to t and Electric Indent mode enabled...

Say a buffer contains the following three lines:

class base(object): pass
-!-

Now you hit c l a s s SPC d e r i v e d RET b a s e RET RET
which results in:

class base(object): pass
   class derived(base):
"""-!-"""
Unexpected isn't it?
--
Matthias Meulien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]