unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* indentation problem in python-mode
@ 2007-04-12 15:30 wietse
  2007-04-12 16:14 ` Lennart Borgman (gmail)
  2007-04-12 18:02 ` Alexis Roda
  0 siblings, 2 replies; 3+ messages in thread
From: wietse @ 2007-04-12 15:30 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I'm completely new to Emacs so plse bear with me.

I have a problem editing python files with emacs in that I'm unable to
get the proper indentation after a ":" (I have to type in the spaces
manually).
When I type:

def my_func(parm):<RET> or <C-j>

emacs just never indents the next line.

Anybody any pointers?
Thanks,
Wietse

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: indentation problem in python-mode
  2007-04-12 15:30 indentation problem in python-mode wietse
@ 2007-04-12 16:14 ` Lennart Borgman (gmail)
  2007-04-12 18:02 ` Alexis Roda
  1 sibling, 0 replies; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2007-04-12 16:14 UTC (permalink / raw)
  To: wietse; +Cc: help-gnu-emacs

wietse wrote:
> Hi,
> 
> I'm completely new to Emacs so plse bear with me.
> 
> I have a problem editing python files with emacs in that I'm unable to
> get the proper indentation after a ":" (I have to type in the spaces
> manually).
> When I type:
> 
> def my_func(parm):<RET> or <C-j>
> 
> emacs just never indents the next line.


I do not know python, but I tested with the python-mode that comes with 
Emacs 22 (in late beta test). RET does not indent next line, but C-j 
does in the example above

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: indentation problem in python-mode
  2007-04-12 15:30 indentation problem in python-mode wietse
  2007-04-12 16:14 ` Lennart Borgman (gmail)
@ 2007-04-12 18:02 ` Alexis Roda
  1 sibling, 0 replies; 3+ messages in thread
From: Alexis Roda @ 2007-04-12 18:02 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: wietse.j

En/na wietse ha escrit:
> Hi,
> 
> I'm completely new to Emacs so plse bear with me.
> 
> I have a problem editing python files with emacs in that I'm unable to
> get the proper indentation after a ":" (I have to type in the spaces
> manually).
> When I type:
> 
> def my_func(parm):<RET> or <C-j>
> 
> emacs just never indents the next line.

I run GNU Emacs 21.4.1 and python-mode py-version 4.6. Indentation works 
fine for me, either with RET and C-j.



Regards

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-12 18:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-12 15:30 indentation problem in python-mode wietse
2007-04-12 16:14 ` Lennart Borgman (gmail)
2007-04-12 18:02 ` Alexis Roda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).