TextEdit - how to disable autosave on cmd+Q

Discussion in 'Mac OS X Lion (10.7)' started by rob1302, Aug 24, 2011.

  1. rob1302 macrumors newbie

    Joined:
    Aug 24, 2011
    #1
    In Lion i've noticed that when quitting out of TextEdit using cmd+Q...if you have anything written down it doesn't ask you if you want to save it to file, it just closes the program and auto saves it for when you open up TextEdit next.

    I know that if you use cmd+w to close instead of quit it'll ask you to save or not and then when you open it next it'll be a fresh(empty) new textedit page...the problem with this is that it's an extra step to quit TextEdit from running.

    I was just wondering if anyone knew a way to work around this and have cmd+q ask to save/notsave or just auto not save at all when quitting.

    Thanks
     
  2. rorschach macrumors 68020

    rorschach

    Joined:
    Jul 27, 2003
    #2
    In Terminal:

     
  3. Icy1007 macrumors 6502a

    Icy1007

    Joined:
    Feb 26, 2011
    Location:
    Cleveland, OH
    #3
    Wirelessly posted (iPhone 4: Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_5 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8L1 Safari/6533.18.5)

    Press option+command+Q
     
  4. rob1302 thread starter macrumors newbie

    Joined:
    Aug 24, 2011
    #4
    I've tried both of those but it still saves whatever was in the pad when i reopen it.

    And yes i correctly entered that command in terminal.
    Proof that it's set to false.
    Code:
    Rob$ defaults read com.apple.TextEdit NSQuitAlwaysKeepsWindows
    0
     
  5. Tutorer macrumors member

    Joined:
    Jun 9, 2011
    #5
    I expect that you cannot change autosave for TextEdit. The paradigm of how documents are saved has changed. You either adapt or choose an application that works corresponding to the old paradigm.

    I like TextWrangler for plain text editing.
     
  6. paulsalter macrumors 68000

    paulsalter

    Joined:
    Aug 10, 2008
    Location:
    UK
    #6
    Like above, I am using TextWrangler now

    If you want to use TextEdit, restore it from a SL backup, that version works fine in Lion (recommend not to overwrite the Lion version, just put the SL one in another folder)
     
  7. gerhard.tinned macrumors newbie

    Joined:
    Sep 27, 2011
    #7
    I think the problem does not stop with TextEdit. Its a lot of Apple internal apps that do that. Preview could be one of them as well. I think replacing all these apps is not an option. :-( I search for a general switch to turn Auto-save OFF.
     
  8. tkermit macrumors 68040

    tkermit

    Joined:
    Feb 20, 2004
    #8
    Instead of pressing ⌘W you can press ⌥⌘W to close all windows and have the app ask you to save or not. Apps like TextEdit and Preview will now quit themselves automatically once there are no more windows open, so there shouldn't be a need to manually close the application afterwards.
     
  9. fat jez macrumors 68000

    fat jez

    Joined:
    Jun 24, 2010
    Location:
    Glasgow, UK
    #9
    I don't think you'll find one as I think it's how the app is written. Anything which shipped with Lion will do autosaves. Anything like Pages will change its behaviour when used with Lion, unless you are using an older, pre-Lion version.
     
  10. gerhard.tinned macrumors newbie

    Joined:
    Sep 27, 2011
    #10
    I think you missunderstand the functionality "auto-save" with "resume". It does not hurt me anyhow that the windows apear again after i have closed the App (this is resume).

    But when i close a document with ⌘W or ⌘Q the document gets saved without asking. This is what i want to disable. As it takes away the control over my files. I want to deside when and what i save!!! :mad:

    ----------

    I am afraid you could be right. But i really hope you are wrong!!! :eek:
     
  11. tkermit macrumors 68040

    tkermit

    Joined:
    Feb 20, 2004
    #11
    No. I'm fully aware of the different functionality. I was thinking of untitled documents, because it seemed to me that that was what the OP was talking about. I told him how to eliminate the extra step he complained about.
     
  12. fat jez macrumors 68000

    fat jez

    Joined:
    Jun 24, 2010
    Location:
    Glasgow, UK
    #12
    You and me both. I've gone back to SL. Unfortunately, at work we are getting MBPs shipped with Lion, so I can see a whole world of pain with autosaving some documents that are stored on network drives and of course, versioning only works with HFS formatting disks!
     
  13. noodlehead macrumors member

    Joined:
    Sep 10, 2008
    #13
    Mavericks even worse

    I really regret updating my laptop to Mavericks. Will leave my Mac Pro with SL.
    Among many other problems (both slowdowns/crashes and just stupid changes) Textedit now autosaves if you go in and edit a doc and then click the red button, and/or quit the program entirely. No "do you want to save changes?". This is just plain bad design.
     

Share This Page