I have a RHEL 7 box, and I've installed emacs onto it (v24.3.1). This version of Emacs seems to be broken. You used to be able to edit by entering a command like this:
emacs -- somefilename.txt
and the Emacs editor would open up with somefilename.txt
ready for editing. Now it's just showing the *GNU Emacs* screen and then open the file within Emacs for editing.
Normally, I don't use --
(dash dash) before the filename, but unfortunately when using visudo, it execs the command emacs -- /etc/sudoers.tmp
leads to the problem mentioned above. Does anyone know how to fix this?