[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Infinite Multiline replacement problem

From: Ding Lei
Subject: Re: Infinite Multiline replacement problem
Date: Tue, 29 Jun 2004 18:05:07 +0800
User-agent: Mutt/1.5.6i

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: address@hidden/[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
> > "address@hidden" 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
> address@hidden


   <<<:::::   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
        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 via email to

[Prev in Thread] Current Thread [Next in Thread]