autosave

Ignore Emacs auto-generated files in a diff

How do I make diff ignore temporary files like foo.c~? Is there a configuration file that will make ignoring temporaries the default? More generally: what's the best way to generate a "clean" patch off a tarball? I do this rarely enough (submitting a bug fix to an OSS project by email) that I always struggle with it... EDIT: OK, the sh...

Visual Studio 2008\Backup Files folder created when every new VS instance is opened.

Hi, I think I have something broken with the path that VS 2008 saves the backup files. Since few days, it creates a new "Visual Studio 2008" directory in the same folder that my .sln file exists. Then, after the time of the first auto-save expires, the backup files are being saved to this folder. I browsed the tools-options dialog but ...

Visual Studio 2008 Auto Save

I just lost about an hour's of work when my computer crashed. Is there a timed autosave feature in Visual Studio 2008? If yes, where is it configured. It's probably obvious, but I'm not finding it. ...

Simple autosave for Spring MVC form

I have one page form done with Spring MVC. User has to register first and I would like the form to be saved automatically so user can come later to finalize it. Traditional form submission with a timer is not what I'm looking for. Instead, I am planning to use some ajaxy way to send fields to the server at each onFocus event. Any sugges...

Implementing autosave w/o disruption

I have been hacking on the code for Xournal in order to add auto-save functionality. My initial implementation was very dumb: every 60 or so seconds, do a save. The feature ostensibly works. However, after testing it out for a while, I've noticed that when auto-save runs, the application temporarily freezes up, which is quite annoying i...

PDT Eclipse to auto upload on save

I am migrating from a Dreamweaver forced working environment to a free-of-choice one. That said I must say I was rather enthusiastic about being able to use Dreamweaver PDT. However I have come to rely very heavily on the use of the "auto upload on save" function. I am developing LAMP but oriented to a Windows base majority so I really ...

Best practices for autosaving drafts?

What is the best strategy for applications that autosave an email before it is sent or save a blog post before it's finished or officially saved? Would it be best to use a separate table in the database for temporary drafts or to have a status column that marks a post as draft or published? I'm not looking for code, just methods, but any...

Drag n drop images among three or more different divs in a page and save the positions in mysql

I want to make a preview page in php, where I can drag n drop images among different divs and save the positions of the images in mysql. ...

eclipse autosave plugin

Im looking for plugin for eclipse that automatically saves files(so i dont have to use Ctrl+S). it could do it on focus lost or over some period of time. I think I saw something like that(I know IDEA has it), but I cant find it now :/ ...

Run Function Every Minute In Cocoa

Hi Everyone: I am wondering if there is some way to run a function every minute in Cocoa. I, personally, will be using this for saving content as the user types it in case they quit - But I have seen this effect also used in Twitter clients. When the user keeps the window open, it will auto-update every x minutes without input from th...

Emacs: Don't create #these# files when not saving modified buffer

How do I prevent Emacs from creating backup copies of buffers I don't wish to save when I kill buffers that have not been saved? ...

How to automatically save files on lose focus in Emacs.

Is it possible to configure Emacs, so that it saves all files when the emacs window loses focus? ...

Why is the save button needed?

Software like OneNote has shown that auto-save can be implemented, and it works just as well (or better) as the manual save button / CTRL+S. Anyways everything that you work on you want saved. Its just if you're trying out something destructive that you would close without saving. So from a programmers/usability perspective, why is the...

Emacs auto-save on switch buffer

Call me lame, but I'm tired of my subconscious C-x C-s nervous twitch. I am switching buffers often enough and I think I would like to save a certain buffer as soon as I switch to another. I have not had the time yet to learn Emacs-Lisp basics. Any hints on how to do this, or better solutions? (On a related note, I found an autosav...

How to implement autoload in a Java application

So I'm writing this JFrame application that has its own document model that can be loaded and saved to a filepath. I'm wondering what good ways are there to make the application open the last saved file when it starts up. Do I store last saved document filepath in a proprietary way or is there some facility in java that can handle this ...

I don't need saving. How to keep Emacs buffers in sync with files ?

I want to have all my file buffers always synchronized with the file content on disk. Is is possible? (preferably as a mode) If you think it is unsafe, than I will just say that emacs undo + git is more than enough for me and I find explicit saving and reverting (if other program changes the file) obsolete safety feature. ...

Save file without Save Dialog in Visual Basic 6.0

I want to save a file without showing the save dialog because the file is always the same. How can I make it? Thanks. ...

C# AutoSave cleanup; best practice?

I've got a class that represents a document (GH_Document). GH_Document has an AutoSave method on it which is called prior to every potentially dangerous operation. This method creates (or overwrites) an AutoSave file next to the original file. GH_Document also contains a method called DestroyAutoSaveFiles() which removes any and all fil...

Eclipse Galileo - How do I get all dirty editors to save on invocation of ant build?

I have lost more time than I care to relate from testing worthless builds resulting from unsaved code changes. I have searched the web for the magic setting I need to change & none work. My workflow is this: 1) make code changes 2) invoke ant build by double-clicking on target in ant window 3) hate life because code changes were not s...

Anyway to get Netbeans to save before a compile and run?

I'm using Netbeans for Groovy/Grails development. I'm very new to Groovy/Grails and netbeans. Netbeans doesn't save all changed files before a compile and run. I looked through every Preference setting, the help, etc, and can't find an option to save on build. Does such an option exist in Netbeans? I waste a lot of time forgetting to s...