[Top][All Lists]

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

transpose words and two float numbers

From: Dan Jacobson
Subject: transpose words and two float numbers
Date: 06 Jun 2001 20:26:45 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

An interesting case for transpose-sexps and transpose-words, and
text such as "(1.22 , 3.44)".
You put the cursor on the comma and invoke them and you get (1.3 ,
22.44), [seen in Text and C modes].  I wanted (3.44 , 1.22).  I
thought a float number was one sexp.  And how many sexps are in
3*1.2+3.4*a and does transpose-sexps treat it so?

Hmm, C-M-f stops at decimal points too...
Wait, I'll make you a deal.  If in Info's "Lists and Sexps" you take:
       Sexps typically include symbols, _numbers_, and string constants, as
       well as anything contained in parentheses, brackets or braces.
and add a policy statement about floating point numbers, I'll let it slide.
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.

reply via email to

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