[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Search in filled text does not work correctly
From: |
Ludwig, Mark |
Subject: |
RE: Search in filled text does not work correctly |
Date: |
Mon, 27 Feb 2012 13:26:46 +0000 |
I've been using Emacs for >30 years, and I've always wished that searching for
a specific sequence of characters and words including whitespace in a text file
would automatically span lines.
Of course, early on, I learned how to form the regular expression that does
this (this predates the "\s-" construct in today's GNU Emacs). This request
feels to me like a different sort of search. Were I doing this 30 years ago, I
would have called it Isearch-English or something like that. (Mostly I work
with computer languages, which is why I never got around to writing anything
like this....) In today's multi-lingual world, I'm not sure what to call it,
and I also don't know which natural languages (outside of the obvious
European-based languages) would work with this concept.
Cheers,
Mark
-----Original Message-----
From: help-gnu-emacs-bounces+ludwig.mark=siemens.com@gnu.org
[mailto:help-gnu-emacs-bounces+ludwig.mark=siemens.com@gnu.org] On Behalf Of
bitterspetey
Sent: Sunday, February 26, 2012 1:58 PM
To: Help-gnu-emacs@gnu.org
Subject: Re: Search in filled text does not work correctly
Oops. Now this is working for me to find 'foo bar' across lines and such:
foo\s-*bar
I swear it wasn't before. I have no idea what could make the difference -
the major mode? Anyway I still think the space in a simple 'foo bar' should
be interpreted widely in search contexts, unless explicitly escaped or
something.
--
View this message in context:
http://old.nabble.com/Search-in-filled-text-does-not-work-correctly-tp33390451p33395991.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
- Re: Search in filled text does not work correctly, (continued)
- Re: Search in filled text does not work correctly, linuxfever, 2012/02/25
- Re: Search in filled text does not work correctly, bitterspetey, 2012/02/25
- RE: Search in filled text does not work correctly, Drew Adams, 2012/02/25
- Re: Search in filled text does not work correctly, linuxfever, 2012/02/25
- Re: Search in filled text does not work correctly, linuxfever, 2012/02/25
- RE: Search in filled text does not work correctly, Drew Adams, 2012/02/25
- RE: Search in filled text does not work correctly, Drew Adams, 2012/02/25
Re: Search in filled text does not work correctly, Gregory (Greg) Benjamin, 2012/02/25