Hello, This patch makes emacsclient quit with an error message if both --eval and --alternate-editor were specified. According to the current implementation, the emacsclient runs alternate-editor, treating the eval expression as the filename, which is IMO not very intuitive. Kind regards, Illia.