Re: [gedit-list] Autosaving Unsaved Documents to Temporary Files



This was a terrific idea. I wanted to make the change natively to get it bundled with a minimum of discussion, but it was hard to disagree with the simplicity of a Python-based plugin after looking at FocusAutoSave.

After spending a few hours diving into the whole matter and verifying that I could account for all of my dependencies, I was able to rather straight-forwardly implement it.


https://github.com/dsoprea/GeditSafetySave

Thanks, again.

Dustin Oprea



On Sat, Oct 26, 2013 at 6:09 AM, Adam Dingle <adam medovina org> wrote:
Dustin,

this sounds like a reasonable idea.  I'd suggest implementing this as a gedit plugin:


It looks like someone has already written a plugin (FocusAutoSave) that can autosave all documents whenever the window loses focus.  That might be worth looking at too.

adam


On Sat, Oct 26, 2013 at 12:06 AM, Dustin Oprea <myselfasunder gmail com> wrote:
I just submitted a feature-request to suggest a strategy for temporarily stashing and autosaving unnamed documents to the current user's home directory. This allows risk to be eliminated for incidentally/temporary "to do"-type documents that the user might not want to little their hard drive with.

It doesn't have to be a complicated change, I don't think, but I do think that it'd be a worthwhile one. I'd make the change and produce a patch, but I'd like feedback and some quick direction, first.



Dustin Oprea




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]