Closed aspiers closed 11 years ago
(To clarify: I'm not particularly concerned that C-x C-t
shadows transpose-lines
, because I believe that M-t
is the more commonly used binding for that command.)
I've cherry-picked your gitignore fix, and corrected the docstring regarding the bindings.
I believe that M-t is the more commonly used binding for that command
M-t
is transpose-words
. I never use transpose-lines
, though.
Right, sorry, I meant M-T
.
Not bound to anything here.
LOL, true -- looks like that's a custom binding I've added for myself and never used... Maybe I'll see if there's a good alternative binding we can use for ruby-compilation-current-test
...
Sorry - the typo in the documentation line led to me writing a slightly inaccurate commit message (yes it should have referred to ruby-compilation-this-test
not ruby-compilation-this-buffer
), but the key point behind this pull request is to stop overriding transpose-lines
which is an unacceptable override IMHO. Why not bind ruby-compilation-this-test
to C-x T
?
(FWIW, I have also bound M-T
, but to transpose-words
.)
Using the C-c
prefix would be better, C-x
is usually reserved for standard commands and the user bindings.
That's an inaccurate generalisation about C-c
. Please see http://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Binding-Conventions.html
Thanks for clarifying.
C-x T
M-t
is already transpose-words
, so M-T
seems redundantM-t
and M-T
bound to transpose-words
...?Hah - I numbered that "2", but Markdown converted it to 1.
Sorry, I meant transpose-sentences
.
Aha - got it! Another function I've never used in anger.
Thanks Adam.
Wasn't the problem here that
C-x C-t
was described as being bound toruby-compilation-this-buffer
, while it was actually bound toruby-compilation-this-test
? Your patch removes both the incorrect documentation line and the binding itself, which is still useful unless I'm mistaken.