I have a master document with 14 files linked into it like this --8<---------------cut here---------------start------------->8--- \include{020-ob2014} --8<---------------cut here---------------end--------------->8--- is it possible to do a "global-replace" of ╭──── │\begin{verbatim} ╰──── to ╭──── │\begin{lstlisting}[frame=single] ╰──── please? I tried "M-x replace-string" but that wasn't able to follow the import links to the subsidiary files. Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk my git repo = https://bitbucket.org/boudiccas/dots TGmeds = http://www.tgmeds.org.uk Debian testing, Fluxbox 1.3.5, emacs 24.3.91.1