Setting the EDITOR to something that will solve the problem is a workaround. It's helpful, but really it's just a band-aid; cron needs to be fixed. If it weren't written in C I would submit the patch myself. There is no reason to silently ignore user input. Adding a newline silently would save a lot of frustration, and nobody is relying on the current behaviour.
BTW, in Emacs just add this to your .emacs file: (setq require-final-newline t)
Setting the EDITOR to something that will solve the problem is a workaround. It's helpful, but really it's just a band-aid; cron needs to be fixed. If it weren't written in C I would submit the patch myself. There is no reason to silently ignore user input. Adding a newline silently would save a lot of frustration, and nobody is relying on the current behaviour.
BTW, in Emacs just add this to your .emacs file: (setq require- final-newline t)