Hacker News new | past | comments | ask | show | jobs | submit login

Files are always saved automatically in Lion/Mountain Lion. It's more like this

-(void)dataChanged { [document writeToFile:fileName]; }

  switch (menuEvent) {
    case FILE_SAVE_AS:
       NSDocument newDocument = [initWithDocument:oldDocument]
       [newDocument writeToFile:newFileName];
It would be wrong for "Save As" to suddenly unsave your changes.



They are even listing the return of "Save as" on the "new features" page:

http://www.apple.com/osx/whats-new/features.html

Quoting:

  Keyboard shortcut for Save As
  Use Command-Shift-Option-S to save a document using a different name and location.
It does not say "Use Command-Shift-Option-S to save a document using a different name and location and also overwrite the existing document", even though that's exactly what it does!!!

Crazy!

Edit: You're right, I saved a file.txt from TextEdit, then cat'ed it from a Terminal, then edited it even without trying to save or duplicate or save as; in fact the TextEdit window still shows "File1.txt - edited", but cat shows the new contents.

They shouldn't have brought back "save as" at all if this is they way they are going to handle things, much less list it as a killer feature of 10.8.


Did you not read what I wrote? OS X no longer has a concept of "Unsaved changes". It's always saving your file. You write in a new sentence, it saves it (virtually) instantly. The original file was already overwritten when you selected "Save As".

The new "Save As" just makes the old "Duplicate" more handy. I agree it's a poor choice of name, they should have kept it named "Duplicate".


Yeah, after reading your post twice and confirming with cat in the terminal it sort-of makes sense.

They still shouldn't list "Save as..." as a new feature, because it sounds like they made it work like every other OS.

Also, the textedit window is extremely deceiving when it shows "file1.txt - edited" -- when in fact the file has already been committed to the filesystem!!


Yeah I also don't get what the significance of "edited" is supposed to be, it just reinforces the image of the model not having changed.


It shows you that you changed the document since either opening it or creating a version. That is useful information.


On every other system I've used, such a message would imply the file has been edited since the last _save_.


I don’t think you quite understand. There is no last saved. Everything is always instantly saved.


Then save as should revert the original file to how it was when opened and create a new file with all the changes in that. It should forget all the autosaves for the original file.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: