emacs-devel
[Top][All Lists]
Advanced

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

Re: Suggestion for C-t (transpose-chars)


From: Stefan Monnier
Subject: Re: Suggestion for C-t (transpose-chars)
Date: Fri, 20 Jul 2007 15:14:46 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>>> With a prefix argument ARG C-t allows to *drag* a character ARG
>>> characters away.  Even though the respective code is impressively
>>> elegant I think it would be more helpful when one could *transpose*
>>> two characters ARG characters away from point!
>> 
>> This behavior is so old in Emacs that I'd suggest to write a new
>> command that does what you want, and leave the original one alone.
>> Interested users could then rebind C-t to run that new command.

> Fair enough, I'll do that.  Would you suggest to make it public on the
> Emacs Wiki?

> But old code does not equal used code, I really like to argue that
> above behaviour would make Emacs an (infinitesimal) bit better ;-).

I value also the consistency with the other transposition commands (like
M-t and C-M-t), so we should also consider whether your suggested behavior
is better for those cases or not.

This said, I have no opinion on which behavior is better.


        Stefan




reply via email to

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