Not quite a Shell escape but possibly just as dangerous: EX/VI had/has the ability to embed EX commands within a file to be run when opened e.g. "se ts=4 sw=4" etc; no doubt EMACS has the same "feature". It would also recognise the EXINIT environment variable. -- Dave