[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: python-mode: keep mark when shifting [patch]
From: |
Richard Stallman |
Subject: |
Re: python-mode: keep mark when shifting [patch] |
Date: |
Mon, 13 Mar 2006 17:42:25 -0500 |
Repeated use of C-c > and C-c < do that job just
fine. However, because it is typically used repeatedly on the same
region, deactivating the mark is very inconvenient.
That does seem like a persuasive argument.
Consider the following use case: A code block is to be moved out of
its context in order to stick it into a separate function. I yank it
at its destination, write a "def newfunc():" at the top. But now I
have to reindent it. Repeated use of C-c > and C-c < do that job just
fine. However, because it is typically used repeatedly on the same
region, deactivating the mark is very inconvenient.
Suppose you define C-u TAB to cycle thru the same positions that TAB
would cycle thru. Would that be a convenient solution?