Refactor ido-setup-hook.
Revert "Try out next-line-add-newlines."

This reverts commit 241a5adbb95d4a3348ac65f16b2a55f6c32a7a8f.