Hi Joe, Continuing on from my previous reply to you, I have added to the Subject to help people searching the Archives. You need to understand how "Auto-Save" & "Versions" work in Lion. Your problem happened because you were continually working in the OLD way ;-) "Saving" (like you needed to in previous versions); instead of letting TextEdit do the job it is designed to do in Lion by its automatic "Auto-Save" and "Versions".
>> I open it in TextEdit and write what I want and general re-read and re-edit >> it many times and continually save it by using "Save a version". Work with Documents Auto Save: 1. Don’t rush to save a new document: When you create a new document (typically with File > New or Command-N), you’re probably accustomed to saving it very soon, to give it a title and a location on disk. With Auto Save, you don’t have to do that, not even when you quit the application! Even an unsaved new document is saved automatically when you quit the application, even though you’ve never given it a title and a location. And, when you quit, all your open documents are memorised by Lion’s Resume feature, and are re-opened the next time you launch the application. (However, if you explicitly close an unsaved document, you do see a dialog asking whether you want to save it. That way, if you don’t want to save it, you can click Don’t Save to stop having this document come back automatically every time you launch the application.) But do save: I’m not advising that you never save a new untitled document; I’m just saying that there isn’t the rush to do so that there once was. Certainly you should save your new document as soon as you decide that it deserves a name and a place on disk. 2. Use File > Save just once: When you do decide to save a new document, to give it a title and location on disk, use the File > Save menu item. Afterwards, the File > Save menu item won’t appear for this document. (Instead, you’ll see File > Save a Version; I’ll talk in a moment about what that does.) 3. There is no Step 3: Once you’ve saved a document, that’s all! The document is saved automatically as you work. The same is true if you open a document from disk; that’s a previously saved document, and it’s saved automatically as you work. ——— Undo: Edit > Undo still works with Auto Save. If you make a mistake, you can generally undo it. Things you can undo are usually maintained as an internal list, so you can undo several times in a row to work back to an earlier state of the document. Revert: Choose File > Revert to Saved. Typically, you’ll see a dialogue offering a choice between Last Opened Version or Last Saved Version (the default) and even older versions of the document ; choose Last Opened Version (or Last Saved Version) to throw away all changes you’ve made since the document was opened (or explicitly saved by you). Lock: To prevent accidentally making any changes to a document, lock it. To do so, choose Lock from the pop-up menu in the title bar of the document window. The system can help you by automatically locking documents under certain circumstances. The chief such circumstance is the lapse of time. The idea is that if you haven’t edited a document in a while, you probably don’t want to edit it accidentally now. Click Options in the Time Machine system preference pane to see the “Lock documents [some time] after last edit” checkbox; you can toggle this feature on or off, and change the amount of time that must elapse before a document is automatically locked. Note: This works even if you don’t have Time Machine enabled for backups. If a document is locked and you try to edit it, you’ll see a warning dialogue offering to let you unlock it or, alternatively, to make a duplicate. Work in a duplicate: If you’re about to do something in a document that might prove disastrous (such as a global Find-and- Replace), choose File > Duplicate to get a new, unsaved document whose contents are identical to the current state of the original document. If you’ve already edited the original document since opening it, a dialog offers you the option to also revert the original; in other words, the duplicate will look the way the original looks now, and the original will then revert to how it looked when it was opened. The duplicate is a safe place to experiment; the original document will be unaffected. If you like your changes, you can even save the duplicate and deliberately overwrite the original document. Use versions: As you work on a document, successive versions are automatically saved periodically (at the rate of approximately one an hour). You can view these versions by choosing File > Revert to Saved, or by choosing Browse All Versions from the pop-up menu in the title bar of the document window. When you do, you see a Time Machine–like interface where you can choose an earlier version of the document. The interface for browsing versions of a document. The current document is on the left; earlier versions are on the right. Here are some things you can do in the version-browsing interface: Pick a version: To determine what version you’re seeing on the right side, use the timeline slider at the lower right, or click the title bar of a partially hidden version. Copy: Select text in a version and press Command-C to copy it. This way, you can copy text from the past and paste it into the current world after you leave the version-browsing interface. You can even copy from the past and paste into the current document on the left (with Command-V) within the version browsing interface. Restore: To restore the currently displayed earlier version, click Restore. This replaces the contents of the current document with the contents of the earlier version, and closes the browsing interface. If you’d rather restore the earlier version without replacing the current document’s contents, hold Option; now you can click Restore a Copy. This creates a new unsaved document, and closes the browsing interface. Leave: Click Done to close the browsing interface without restoring anything. Note: Versions remain saved even after you’ve closed a document. In effect, the document-archiving aspect of Time Machine is refocused to the level of the individual document; but these versions are saved on your boot disk, not on the Time Machine backup disk (and they work even if Time Machine isn’t making automatic backups). There is a good article worth reading at the link below "OS X Lion: Auto Save and Versions to the rescue" <http://www.tuaw.com/2011/07/20/os-x-lion-auto-save-and-versions-to-the-rescue/> Cheers, Ronni On 18/05/2012, at 10:00 PM, Ronda Brown wrote: > Hi Joe, > > On 18/05/2012, at 8:15 PM, Joe Baker wrote: > >> Hi all >> >> I use TextEdit a lot to generate html/xml files. I have one standard working >> file which is saved as something like ABC.xml. I open it in TextEdit and >> write what I want and general re-read and re-edit it many times and >> continually save it by using "Save a version". I also constantly view it in >> Safari to see how the coding produces a good text display. > > You don't need to "Save a version". > > As you work on a document, successive versions are automatically saved > periodically (at the rate of approximately one an hour). You can view these > versions by choosing File > Revert to Saved, or by choosing Browse All > Versions from the pop-up menu in the title bar of the document window. > When you do, you see a Time Machine–like interface where you can choose an > earlier version of the document. > The interface for browsing versions of a document. The current document is on > the left; earlier versions are on the right. > > Versions are only supposed to save once per hour, and autosave is supposed to > only work when you're not active, and if you are, only once every 5 minutes. > Versions is basically like old-school saving, duplicates are kind of save-as, > and autosave is a working-in-progress tool. > > >> I also regularly use Finder to search for names, places, etc. and these >> include words that are to be found in my standard ABC.xml file. But with >> this new version of TextEdit with "Save a version" the results in Finder >> includes every version of my ABC.xml file that I have saved - hundreds of >> ABC.xml files, they just keep growing. >> >> No problem I thought I can just select and delete them. >> No such luck. I can select but right clicking produce no menu, let alone a >> delete option. >> You cannot drag them to the Trash. They get selected but will not move. >> Selecting the various ABC.xml files does not show where they are stored (so >> I am unable to go to a particular place and delete from there). >> Attempting to open them just says it can not be opened as the original item >> cannot be found. > > That is because 'Versions' are stored in the root-level, hidden > .DocumentRevisions-V100 directory. > >> >> Before this flood of versions makes Finder impossible to use - how do I >> delete all these versions. > > Mac OS X 10.7 and later include the Versions feature and Auto-Save ability, > this lets users restore back to previous editions of a file by creating a > constant sequence of saved file states while they are being worked on. All > around, Versions and auto-save are useful, but they can also leave traces of > sensitive documents and files you may not wish to keep around. > > Other than the privacy implications, this same technique can resolve some > erroneous behavior with Versions as well. > The simplest solution to these issues is to manually delete the Versions > saved states cache directory. > > <http://osxdaily.com/2012/02/20/clear-versions-history-auto-save-cache-data-in-mac-os-x/> > > > Cheers, > Ronni > > 17" MacBook Pro 2.3GHz Quad-Core i7 “Thunderbolt" > 2.3GHz / 8GB / 750GB @ 7200rpm HD > > OS X 10.7.4 Lion > Windows 7 Ultimate (under sufferance) > > > > > > > > > > > > > > > > > > -- The WA Macintosh User Group Mailing List -- > Archives - <http://www.wamug.org.au/mailinglist/archives.shtml> > Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml> > Settings & Unsubscribe - > <http://lists.wamug.org.au/listinfo/wamug.org.au-wamug> -- The WA Macintosh User Group Mailing List -- Archives - <http://www.wamug.org.au/mailinglist/archives.shtml> Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml> Settings & Unsubscribe - <http://lists.wamug.org.au/listinfo/wamug.org.au-wamug>