Hi.

Still learning Emacs but happy with it so far. One thing i’m trying to find out is this. I’m OK with Emacs creating recovery files from which i can, well, recover my work after emacs is closed. However, if I save my files, I have no need for these #filename# or filename~ files that populate my folders. Is there a way to make emacs keep creating these recovery files, but deleting them if I *save* my actual files?

  • SnooPets20B
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    That’s what git is for, or just having undo-tree from which the file can be reverted to a previous state.

    I tried to keep auto-saves and backup files in their own separate directory, since they always litter my projects which is annoying, but they just won’t listen, I have to disable them.