Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

No Content Left Behind #6455

Closed
Closed

Description

@mehcode

From #6380 (comment)

I think it's critical. It's not about atom crashing or not crashing. It's about a myriad of other things crashing on a computer. It's about being able to not kill a junior because he or she accidentally hit the reset button on your computer. Sublime gives you the "don't worry about it" guarantee. It's a state of mind and affects your workflow. I was used to having many unnamed buffers open with random scratch data. I didn't need to save it anywhere but sublime kept them around.


From @maxbrunsfeld on #6380 (comment)

I think this use case is covered though, because Atom should quit normally during a system restart (at least on OSX and Linux).

Not when I hard reset my computer with a physical reset button which is quite accessible and happens to be right next to the USB ports.


Open atom, type some text, and hit Ctrl+Q

screenshot from 2015-04-21 10 40 49

I should not be able to lose work at all, at any time, for any reason. In sublime I can do the above and then immediately re-open and all is well.


To summarize, we need a few things:

  • Save unnamed buffers when atom is closed normally
  • Porting the "hot exit" feature from sublime. When atom is closed, it is immediately closed without any popup and can be re-opened in the exact state it was left
  • On some configurable interval we save the state to allow the application to pick back up in case of fire

Activity

  1. off-by-some commented on Apr 21, 2015

    @off-by-some

    👍

  2. mnquintana commented on Apr 21, 2015

    @mnquintana
    Contributor

    Duplicate of #942?

  3. mehcode commented on Apr 21, 2015

    @mehcode
    ContributorAuthor

    Perhaps, but I was asked on #6380 (comment) to open an issue for it.


    It does look like #942 is what I am talking about here.

  4. eddiemonge commented on Apr 21, 2015

    @eddiemonge

    I partially disagree on this change. While its nice that atom remembers my tabs and projects (usually), I would not want it to remember code that I intentionally did not save.

  5. mehcode commented on Apr 22, 2015

    @mehcode
    ContributorAuthor

    @eddiemonge But what if it remembers everything? From code you didn't save to your undo buffer to undo that code you didn't save? It's not auto-saving; it's just remembering your buffers.

    Of course this behavior should be opt-out.

  6. niedzielski commented on Apr 22, 2015

    @niedzielski

    This is the only feature keeping me from switching from Sublime. It was very surprising to me when my computer did crash and I did lose a good bit of work, something that's not possible in Sublime or Vim. It only takes one loss for this to become a must have feature, at least for me.

  7. maxbrunsfeld commented on Apr 22, 2015

    @maxbrunsfeld
    Contributor

    It does look like #942 is what I am talking about here.

    @mehcode Ok, then we should close this in favor of that earlier issue. My apologies for telling you to open another one; I didn't fully understand the feature from Sublime that you were referring to.

  8. lock commented on Jan 22, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  9. locked as resolved and limited conversation to collaborators on Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions