I dug into the code to try and fix this, but it's a lot more complex
than it looks. If anyone wants to start digging, look at `gedit-
tab.c:248` - that's the first catch conditional. Also look at the
function getting called if that conditional passes - there's a similar
catch conditional in there.

The main problem is that auto-save pulls in the file object, which
doesn't exist if the document is unsaved. Autosave would actually have
to save the file to some special "temporary" directory. Easier said than
done.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/151365

Title:
  Autosave doesn't work for Unsaved Documents

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to