Marc MAURICE <marc.maur...@smile.fr> writes: > Hello, > > All standard text editors add a newline at end of files (vi, emacs, > gedit, kedit...).
I'm sure there are opinions in a way or another. If editor does something more that what the user types, that behavior may not please users that want full control. E.g. emacs(1) doesn't change the file without special setting: C-h v require-final-newline require-final-newline is a variable defined in `files.el'. Its value is nil Documentation: Whether to add a newline automatically at the end of the file. There is also joe(1) which doesn' add newline. But as you pointed out, there are editors that alwasys add <newline>, like vi(1). And for programming code (C++ standard, compilers, diffs, patches) the final newline is desired. As the upstream of leafpad has no plans to add the feature, there is not much we can do. I can only suggests to send him patches to make this behavior configurable and hope the patches are accepted. Jari -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org