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

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

isearch-forward-regexp " $" becomes "\\s-+$"


From: Dan Jacobson
Subject: isearch-forward-regexp " $" becomes "\\s-+$"
Date: 21 Jun 2002 04:32:59 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

The user types  <escape> C-s SPC $ C-s C-s C-s
thinking that he will be searching for the regular expression " $" but
instead he becomes searching for "\\s-+$" ... no wonder it find more
than one asked for... doing C-x esc esc reveals
(isearch-resume "\\s-+$" t nil t "\\s-+$" t)

"If I had wanted to search for that I would have said so.  Alls I
wanted to search for was for lines with a SPC at the end.  Yes, in 4
out of 5 cases I probably want also to do what it proposed, but not
today."
-- 
http://jidanni.org/ Taiwan(04)25854780



reply via email to

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