all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ding Lei <dinglei@ipanel.cn>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Infinite Multiline replacement problem
Date: Tue, 29 Jun 2004 18:05:07 +0800	[thread overview]
Message-ID: <20040629100507.GA10839@ipanel.cn> (raw)
In-Reply-To: <40E079E9.2070503@yahoo.com>

Hi Kevin,
  I'v tried the stable release and also CVS one.
  I wonder how did you test it? the problem might occurs when there
  are several occurrences.
  

  Ding Lei	

On Mon, Jun 28, 2004 at 02:04:57PM -0600, Kevin Rodgers wrote:
> Ding Lei wrote:
> >   I tried to use regexp replace to do a multiline replacement, but
> > Emacs replaces one occurrence again and again (infinite) ...
> > Here's the regexp I use,
> > Replace: \*/[Ctrl-q][Ctrl-j]public void final
> > With: *@ejb.persistence[Ctrl-q][Ctrl-j]*/[Ctrl-q][Ctrl-j]public void final
> >
> > As you could see, what I want to do is insert an additional
> > "@ejb.persistence" string before the line "*/". But emacs always
> > replaces the first occurrence, and the result is that numerous
> > "*@ejb.persistence" string is inserted until *deadlock*.
> 
> It works for me in Emacs 21.3.  What version are you using?
> 
> -- 
> Kevin Rodgers
> 
> 
> 
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

-- 
Yours,

   <<<:::::   D i n g    L e i   ::::::>>
 ||                                      ||
 || Ext: 8106                            ||
 || Email: <dinglei [A] ipanel [O] cn>   ||
 || Dept. Of Technology/Engineering      ||
 || Embedded Internet Solutions Inc.     ||
 ||                                      ||
<((((((    =====================     )))))>>>
	
	Here is the fact of the week, maybe even the fact of the
month.  According to probably reliable sources, the Coca-Cola people
are experiencing severe marketing anxiety in China.
	The words "Coca-Cola" translate into Chinese as either
(depending on the inflection) "wax-fattened mare" or "bite the wax
tadpole".
	Bite the wax tadpole.
	There is a sort of rough justice, is there not?
	The trouble with this fact, as lovely as it is, is that it's
hard to get a whole column out of it. I'd like to teach the world to
bite a wax tadpole.  Coke -- it's the real wax-fattened mare. Not bad,
but broad satiric vistas do not open up.
		-- John Carrol, San Francisco Chronicle

  reply	other threads:[~2004-06-29 10:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-27  7:17 Infinite Multiline replacement problem Ding Lei
2004-06-28 20:04 ` Kevin Rodgers
2004-06-29 10:05   ` Ding Lei [this message]
2004-06-29 18:39     ` Kevin Rodgers
     [not found] <mailman.2315.1088539167.1953.help-gnu-emacs@gnu.org>
2004-06-29 20:15 ` Kin Cho

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=20040629100507.GA10839@ipanel.cn \
    --to=dinglei@ipanel.cn \
    --cc=help-gnu-emacs@gnu.org \
    /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.