Options should be simple consistent and not have lots of special cases attached (a rule Geany doesn't always follow and that causes confusion in many cases). So if the option says it ensures newline at EOF then thats what it should do. Yes that means you can't use Geany to create empty files, but if you add the exception then you can't use Geany to create files with one newline.

Its not as if there are not existing methods of creating truly empty files, touch being the canonical one, and my desktop's file manager also offers to create empty files if you are command line challenged. But external means for creating files with a newline are less obvious (cat and so on).

Another way of looking at is that Geany is primarily an editor, if you are not going to edit the file (its intended to be empty) why open it in Geany?

So personally I'd make it "won't fix" except we don't have that label (yet, I have been itching to make one though :).


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.