bug-gnu-emacs
[Top][All Lists]
Advanced

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

(query-replace-regexp " +" " " nil) on single spaced text


From: Dan Jacobson
Subject: (query-replace-regexp " +" " " nil) on single spaced text
Date: Sat, 15 Dec 2001 14:50:55 +0800
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-mandrake-linux-gnu)

No, emacs is not as smart as it could be.  For instance I did
(query-replace-regexp " +" " " nil)
and it goes to all the single space areas like the spaces between
these words and asks if I want to replace one space with one space.
OK, maybe blame me instead for the weak regexp, but it is just a shame
to see emacs do something obviously not so smart.  Ok, I should use "  +".
Hmmm, well, at least it is acting correctly.  Probably safer than
making it over smart.  Ok, never mind.
-- 
http://www.geocities.com/jidanni/ Tel+886-4-25854780



reply via email to

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