On Sat, 16 Oct 2010 17:49:27 +1100% Lex Trotman elextr@gmail.com wrote:
Hi Eugene,
I'm not sure it is a bug, the pref setting is there is to ensure that the file ends in a newline, so an empty file will become just a new line (see od below). Thats working correctly AFAICT.
lex@fred5 ~ $ od untitled 0000000 000012 0000001
Cheers Lex
Hi.
Yes, of course it's logical that newline is always added, even for empty files. But it becomes that for non-empty files you get one empty line at the end, for empty files -- two empty lines. It's not quite useful and (IMHO) bad.
Best regards, Eugene.