Use emacsclient as an EDITOR