[Github-comments] [geany/geany] Empty file shouldn't prompt to save when being closed (#1710)

Matthew Brush notifications at xxxxx
Wed Dec 6 01:23:48 UTC 2017


This seems like a perfectly reasonable feature request and would be super trivial to implement:

```c
if (doc->file_name == NULL && sci_get_length(doc->editor->sci) == 0)
{
  // don't prompt to save, just close
}
```
I bump into this all the time, although it's not a major annoyance, I've got into the habit of working around by undoing the few changes until the "untitled" tab goes back to black and then I can close without the nagging.

Re-opening issue since no reason for closing was given and @b4n seems to be talking about a "saved"/disk document as opposed to an "untitled" document.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1710#issuecomment-349498505
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171206/86e5d4a5/attachment.html>


More information about the Github-comments mailing list