From: Paul Pogonyshev <pogonyshev@gmx.net>
To: emacs-devel@gnu.org
Cc: Markus Triska <markus.triska@gmx.at>
Subject: Re: dedent in Python-mode
Date: Mon, 25 Jun 2007 00:56:15 +0300 [thread overview]
Message-ID: <200706250056.16210.pogonyshev@gmx.net> (raw)
In-Reply-To: <86ir9doxa4.fsf@gmx.at>
Markus Triska wrote:
> Paul Pogonyshev <pogonyshev@gmx.net> 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
next prev parent reply other threads:[~2007-06-24 21:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-24 20:44 dedent in Python-mode Paul Pogonyshev
2007-06-24 21:30 ` Markus Triska
2007-06-24 21:56 ` Paul Pogonyshev [this message]
2007-06-24 22:08 ` Markus Triska
2007-06-24 22:30 ` Paul Pogonyshev
2007-06-24 23:44 ` Markus Triska
2007-06-25 18:18 ` Paul Pogonyshev
2007-06-25 20:20 ` Markus Triska
2007-06-25 20:44 ` Paul Pogonyshev
2007-06-25 20:36 ` Markus Triska
2007-06-25 21:07 ` Paul Pogonyshev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200706250056.16210.pogonyshev@gmx.net \
--to=pogonyshev@gmx.net \
--cc=emacs-devel@gnu.org \
--cc=markus.triska@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).