Skip to content

quit without save, when autosave is enabled #2230

@marc1uk

Description

@marc1uk

Description of the problem or steps to reproduce

I generally like to have autosave enabled in case of a crash or whatnot, but it would be nice if this feature wasn't so tied to other settings. For example, it warns you in the help that when "autosave" is set to anything other than 0, changes are saved on exit. Personally i'd prefer if that were a separate feature - autosave every X seconds, and save on exit, are two separate things.

This specific issue, though, is that when autosave is enabled, you cannot quit micro at all without saving the output. If i've opened a file, typed some stuff, then changed my mind, i'm obligated to give it a filename, write it to disk and then run rm trashfile to remove it. Seems a bit silly, really. Why not just leave the prompt?

Specifications

version 2.0.10
Commit hash: b976385
OS: linux (centos-7 / debian)
Terminal: bash

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