functions and macros to fake bit of Emacs core libraries, like files and processes.