Emacs python mode indent levels

John Lenton jlenton at gmail.com
Thu Jul 15 08:46:29 EDT 2004


On 14 Jul 2004 20:22:07 -0700, John Fouhy <jfouhy at paradise.net.nz> wrote:
> Since Python has no explcit ends to blocks, emacs doesn't always know
> the right indentation level to use.  And <del> doesn't seem to be very
> consistent (it always seems to go back 8 characters, which doesn't
> help when the indent level is 4).

are you using python-mode.el? It works fine here...

> Another language where indentation is significant is Haskell.  The
> emacs Haskell mode has an excellent solution to the problem: Pushing
> <tab> cycles through the various possible indentations.

I'd say go talk to the python-mode people [1]

> 
> Does anyone know if anything like this is possible with Python mode?
> Or are there any other popular solutions?
> 
> (I am not an elipser)

does that mean you don't fit ellipses [2]? :-P


References:

1) http://python-mode.sf.net
2) http://groups.google.com/groups?threadm=2335b39d.0407141028.2f565490%40posting.google.com

-- 
John Lenton (jlenton at gmail.com) -- Random fortune:
bash: fortune: command not found



More information about the Python-list mailing list