<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote style="border: 0px none;"
cite="mid:4D5158CD.7060403@agxivatein.com" type="cite">
<div style="color: rgb(136, 136, 136); margin-left: 40px;"
__pbrmquotes="true" class="__pbConvBody">
<div><br>
I want to code a function or a macro that would delete a pair
of<br>
delimiters (but not what is inside) and optionally the
adjoined word<br>
<br>
so this<br>
<br>
{ abcdefgh }.sth<br>
<br>
would become<br>
<br>
abcdefgh<br>
<br>
but as soon as I delete one of the delimiters I cannot move to
the other<br>
as it is no longer balanced.. how can I do this ?<br>
<br>
maybe there is already sth similar implemented ??<br>
<br>
</div>
</div>
</blockquote>
Really crude solution from a semi-elisp-literate user: <br>
1) search for the opening delimiter<br>
2) insert some unique character string there (e.g. ZYZYZY)<br>
3) go to the closing delimiter and delete it<br>
4) back search for the ZYZYZY string and delete it and the following
character, which should be the opening delimiter<br>
</body>
</html>