If I understand things correctly, the problem would go away, if
    require-f-n would just add the newline when writing the file but not
    to the buffer (a bit similar to a function in
    `write-region-annotate-functions') . Then the user would only come to
    see it, if she reverts the buffer; in this case it is longlines.el's
    job to use its heuristics to detect whether the final newline is hard
    or soft.

That is an interesting suggestion, but I tend to suspect it
might also cause problems.  People could try it and see.



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to