From: Ole Laursen <olau@hardworking.dk>
Subject: Re: search and replace
Date: Sun, 04 Jul 2004 17:51:46 +0200 [thread overview]
Message-ID: <87fz876a99.fsf@bach.composers> (raw)
In-Reply-To: 40e7cdbf$0$170$edfadb0f@dtext02.news.tele.dk
David Rasmussen <david.rasmussen@gmx.net> writes:
[...]
> Hmm. I had a file containing something like:
>
> \ncline[linewidth=0.3mm,offset=-1.5mm,arrows=->,nodesep=4mm]{a}{b}
> \ncline[linewidth=0.3mm,offset=-1.5mm,arrows=->,nodesep=4mm]{b}{c}
> \ncline[linewidth=0.3mm,offset=-1.5mm,arrows=->,nodesep=4mm]{c}{d}
> \ncline[linewidth=0.3mm,offset=-1.5mm,arrows=->,nodesep=4mm]{d}{e}
> \ncline[linewidth=0.3mm,offset=-1.5mm,arrows=->,nodesep=4mm]{e}{f}
> \ncline[linewidth=0.3mm,offset=-1.5mm,arrows=->,nodesep=4mm]{f}{g}
>
> And I did M-% to replace
> \ncline[linewidth=0.3mm,offset=-1.5mm,arrows=->,nodesep=4mm]
> with
> \traverse
>
> The cursor was before any of these line (and even if not, the search
> wraps around anyway, doesn't it?). It just said "0 occurences
> replaced".
No, it never wraps around.
> I don't understand why... I had to use another editor to perform the
> replace :(
I tried those lines too, and it still works as expected. Someone
strange must have happened.
--
Ole Laursen
http://www.cs.aau.dk/~olau/
next prev parent reply other threads:[~2004-07-04 15:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-03 20:57 search and replace David Rasmussen
2004-07-03 23:02 ` Mike Ballard
2004-07-27 23:06 ` David Combs
2004-07-03 23:04 ` Mike Ballard
2004-07-03 23:07 ` David Rasmussen
2004-07-04 9:14 ` Ole Laursen
2004-07-04 9:27 ` David Rasmussen
2004-07-04 15:51 ` Ole Laursen [this message]
2004-07-04 16:02 ` Josh Howard
2004-07-04 23:32 ` Mike Ballard
-- strict thread matches above, loose matches on Subject: below --
2008-06-13 21:09 Search " tho643
2008-06-13 21:59 ` Marc Tfardy
2008-06-14 3:13 ` Barry Margolin
2008-06-14 10:48 ` Marc Tfardy
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fz876a99.fsf@bach.composers \
--to=olau@hardworking.dk \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.