unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* query-replace doesn't match spaces with soft newlines
@ 2008-02-08 12:08 David Reitter
  2008-02-10 22:52 ` Juri Linkov
  0 siblings, 1 reply; 4+ messages in thread
From: David Reitter @ 2008-02-08 12:08 UTC (permalink / raw)
  To: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

It appears that `query-replace' (or whatever this runs) does not  
properly match spaces in the search string with soft newlines. It  
should do that just like isearch does now.

I encountered this when I had `longlines-mode' turned on and tried to  
replace a string in the following line(s):

\item Adjoin: Combine the \slot{New Type} with the {\sc Context
Type}   according to one of the combinatorial rules.

Note that this is one paragraph, with a soft newline in between  
"Context" and "Type". To reproduce, enter it as one line and have  
longlines-mode turned on (perhaps adjusting fill-column) so that it  
breaks right there.

Then do M-% {\s Context Type} RET bar RET

The string will not be replaced.

This is with an up-to-date Emacs 22 CVS build.


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-12  0:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-08 12:08 query-replace doesn't match spaces with soft newlines David Reitter
2008-02-10 22:52 ` Juri Linkov
2008-02-11  1:45   ` Miles Bader
2008-02-12  0:16     ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).