I have done the announced changes. The behaviour should now be consistent. It is not trying to open a new empty document if option -e was given and new_document_after_close is set to TRUE. This prevents the unnecessary message on startup in that case.

I noticed that we do get messages like the following:

12:30:49: File untitled closed.
12:30:49: New file "untitled" opened.

This happens if a new document is opened with geany -e and there already is one empty document open in an existing instance. But the same happens if you chose "New" from the menu in that instance so IMHO the behaviour is consistent.

I think what's a bit inconsistent is, that a user can open as many empty untitled documents as he/she wants if other, not empty documents are opened. But that's out of scope of this PR.


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