[OS X Emacs] delete parantheses pair

Marinos K marinos at agxivatein.com
Tue Feb 8 09:53:01 EST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I want to code a function or a macro that would delete a pair of
delimiters (but not what is inside) and optionally the adjoined word

so this

{ abcdefgh }.sth

would become

abcdefgh

but as soon as I delete one of the delimiters I cannot move to the other
as it is no longer balanced.. how can I do this ?

maybe there is already sth similar implemented ??

m
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNUVjDAAoJEHtg0hV818BQiMoH/0cWbaCk05f3BI8BxzEbhxKn
cYyJ7DY2l2/p+OSq8Hvpcdf1E3nDaBCwL5EaT0OPiPPcMkEZQag44FUt8QS0bK6n
mqoQ2QOezmly817tSx4Mn1eUlLBeAUhhMebsk9+HjElREQV3xeV/sYxi6nobLwEY
dnxCiblp0ZBdSvHZL8wUJhC/Og3TH+8WH8BxCFHW3gfmtyngnzLWcOHHFbSkFnMt
LOyEaTXP4W7eDF1f7j1e5RV/Xd6AT7XvnFIYo7sDiHGX7l4BwlXoDfOlkb38V0kO
APnjYkHm+/C7tytDx7wkQZunneGg+Oars5KQ2nZvN+xOA1vr5oD+UmqrbTCNVlo=
=BKVd
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x7CD7C050.asc
Type: application/pgp-keys
Size: 4258 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20110208/7feba267/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x7CD7C050.asc.sig
Type: application/octet-stream
Size: 287 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20110208/7feba267/attachment.obj>


More information about the MacOSX-Emacs mailing list