[Top][All Lists]

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

Re: Search and replace enclosing \commands{word}

From: Peter Milliken
Subject: Re: Search and replace enclosing \commands{word}
Date: Mon, 12 Jan 2009 06:53:43 +1100

Yes, read the help sections on regular _expression_ search and replace. You can "capture" the text between the {}'s and keep it without losing it (read up on submatches).

On Mon, Jan 12, 2009 at 1:31 AM, sharky <address@hidden> wrote:

I'm using emacs to write LaTeX code, which means I have a lot of stuff
that looks like this:


Blah blah yada yada \textit{italic yada} and the yada yada \textbf
{bold yada} and then \myspecial{yada}.

You get the picture. I wanna search and delete the enclosing thingy,
like so:

\myspecial{yada} -----> yada

Is there a way to do this in emacs?

Please help!


reply via email to

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