emacs-devel
[Top][All Lists]
Advanced

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

Re: transpose-sexps


From: Stuart D. Herring
Subject: Re: transpose-sexps
Date: Thu, 4 Jan 2007 13:48:28 -0800 (PST)
User-agent: SquirrelMail/1.4.8-2.el3.7lanl

> Put this in *scratch*, put point over `f' letter and hit C-M-t:
>
>       "t" "f"
>
> I get this:
>
>       "tf" ""
>
> which I consider utterly improper.  Moreover, it differs from what
> I get by M-t.

See the doc:

Like M-t but applies to sexps.
Does not work on a sexp that point is in the middle of
if it is a list or string.

It assumes that you are outside of strings or lists, so it saw
             " "
and
              f
as your two sexps, and exchanged them.  It's just confusing that it looks
like the f was moved into the other string.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.




reply via email to

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