On 13/11/10 07:36, Jon Jensen wrote: > vi, Vim, and nano do that by default, but emacs doesn't. It can be set > to do so with this in ~/.emacs: emacs versions that I have used will by default prompt you to add the trailing newline if one doesn't exist when you save. Peter