replace delete-line (it's too aggressive) with kill-line-newline