From: "Ludwig, Mark" <ludwig.mark@siemens.com>
To: bitterspetey <business@stevepetersen.net>,
"Help-gnu-emacs@gnu.org" <Help-gnu-emacs@gnu.org>
Subject: RE: Search in filled text does not work correctly
Date: Mon, 27 Feb 2012 13:26:46 +0000 [thread overview]
Message-ID: <BC5672F8AD4C054BAF167C9801500D1A6FC2486B@USSLMMBX003.net.plm.eds.com> (raw)
In-Reply-To: <33395991.post@talk.nabble.com>
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.
prev parent reply other threads:[~2012-02-27 13:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-25 12:59 Search in filled text does not work correctly linuxfever
2012-02-25 14:10 ` Peter Dyballa
2012-02-25 14:54 ` linuxfever
2012-02-25 15:03 ` linuxfever
2012-02-25 23:17 ` bitterspetey
2012-02-25 23:22 ` Drew Adams
2012-02-26 0:30 ` linuxfever
2012-02-26 1:05 ` linuxfever
2012-02-26 1:18 ` Drew Adams
2012-02-26 1:31 ` Drew Adams
2012-02-26 1:59 ` Gregory (Greg) Benjamin
2012-02-26 19:41 ` bitterspetey
2012-02-26 19:58 ` bitterspetey
2012-02-27 13:26 ` Ludwig, Mark [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BC5672F8AD4C054BAF167C9801500D1A6FC2486B@USSLMMBX003.net.plm.eds.com \
--to=ludwig.mark@siemens.com \
--cc=Help-gnu-emacs@gnu.org \
--cc=business@stevepetersen.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).