emacs-devel
[Top][All Lists]
Advanced

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

Re: dedent in Python-mode


From: Paul Pogonyshev
Subject: Re: dedent in Python-mode
Date: Mon, 25 Jun 2007 00:56:15 +0300
User-agent: KMail/1.7.2

Markus Triska wrote:
> Paul Pogonyshev <address@hidden> writes:
> 
> > With TAB I can indent a line in Python mode or, actually, cycle through
> > possible indentations.  Can Shift+TAB (backtab) be made to cycle through
> > them in opposite direction?
> 
> Please try this patch:
> 
> [...]

Seems to work, except that for the first key press it doesn't do anything in
some cases.  E.g. hit C-j (I have Enter remapped to its function) twice after
`print ...' and press Shift+Tab.  Only starts working the second time.

class Test ():

    def __init__(self):
        print 'test'

Paul




reply via email to

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