[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: python-mode changes in 22.3?
From: |
Nikolaj Schumacher |
Subject: |
Re: python-mode changes in 22.3? |
Date: |
Tue, 12 May 2009 11:17:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (darwin) |
Chris Withers <chris@simplistix.co.uk> wrote:
> - the comment/uncomment menu items on the python menu have vanished. How do I
> get these back?
You can be defining your own menu, but maybe you just want to start
using the universal comment commands, e.g. comment-or-uncomment-region.
> - hitting return after, say, "def myfunc():" used to leave me at the right tab
> level. It no longer does. I have to hit tab. How do I get it so that I don't
> have to hit tab anymore, which is how it used to behave?
Again, you can use the general Emacs mechanism for this.
By default, the <return> key is bound to `newline'. You might want to
change it to `newline-and-indent'.
(global-set-key "\C-m" 'newline-and-indent)
regards,
Nikolaj Schumacher