>
> harven suggested a solution that uses syntax table.
>
> i'd just write a simple elisp that process the current line or region.
> This is such as good exercise if you haven't tried elisp for text
> processing yet.
>
> The functions listed in this page is probably all you need:
>
http://xahlee.org/emacs/elisp_common_functions.html
Thank you, Xah.
It's always nice to be both patronised and given no help. I actually
already have some experience writing elisp, but a "simple elisp" (do you
actually mean a new implementation of the language?!) isn't what I was
after. Indeed I wanted something a lot more like what rgb
suggested. This wasn't "simple".
Happy trolling,
Rupert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG
v1.4.9 (GNU/Linux)
iJwEAQECAAYFAkjRU2AACgkQRtd/pJbYVoYceQP/ZpranW1qHoOSfzyv6+M/OLzH
9bHyPTXxRVE+NbJAhYIa0/YL3pXzFI9e+dUeiVKA4EOrqqyC30AGioXNKErH3MaW
7LvZwt6DZNIf6K9Kl0ePxVSX4v0M/RbQKiyb8370IWSwwy+NCqc2/OaLylc9xYHY
6zYWI1U97zlmbOgQd2I=
=FMO7
-----END PGP SIGNATURE-----